PATH:
home
/
letacommog
/
bresse-paysage
/
wp-content
/
plugins
/
wordpress-seo-premium
/
admin
<?php /** * @package WPSEO\Admin */ /** * Localizes JavaScript files. */ final class WPSEO_Admin_Asset_Yoast_Components_L10n { /** * Localizes the given script with the JavaScript translations. * * @param string $script_handle The script handle to localize for. * * @return void */ public function localize_script( $script_handle ) { $translations = array( 'yoast-components' => $this->get_translations( 'yoast-components' ), 'wordpress-seo' => $this->get_translations( 'wordpress-seojs' ), ); wp_localize_script( $script_handle, 'wpseoYoastJSL10n', $translations ); } /** * Returns translations necessary for JS files. * * @param string $component The component to retrieve the translations for. * @return object The translations in a Jed format for JS files. */ protected function get_translations( $component ) { $locale = WPSEO_Language_Utils::get_user_locale(); $file = plugin_dir_path( WPSEO_FILE ) . 'languages/' . $component . '-' . $locale . '.json'; if ( file_exists( $file ) ) { $file = file_get_contents( $file ); if ( is_string( $file ) && $file !== '' ) { return json_decode( $file, true ); } } return null; } }
[+]
..
[+]
google_search_console
[-] class-keyword-synonyms-modal.php
[edit]
[+]
links
[-] class-admin-asset-dev-server-location.php
[edit]
[+]
onpage
[-] interface-collection.php
[edit]
[-] class-yoast-dashboard-widget.php
[edit]
[-] class-bulk-title-editor-list-table.php
[edit]
[-] class-plugin-availability.php
[edit]
[-] class-admin-gutenberg-compatibility-notification.php
[edit]
[-] class-premium-popup.php
[edit]
[-] class-database-proxy.php
[edit]
[-] class-plugin-compatibility.php
[edit]
[-] class-extension-manager.php
[edit]
[-] class-expose-shortlinks.php
[edit]
[-] class-admin-asset-manager.php
[edit]
[-] class-meta-storage.php
[edit]
[+]
statistics
[+]
config-ui
[-] class-recalculate-scores.php
[edit]
[+]
notifiers
[-] class-yoast-alerts.php
[edit]
[-] class-help-center-item.php
[edit]
[-] class-yoast-network-admin.php
[edit]
[-] class-multiple-keywords-modal.php
[edit]
[-] class-extensions.php
[edit]
[+]
metabox
[+]
services
[-] class-yoast-form.php
[edit]
[-] class-help-center.php
[edit]
[+]
exceptions
[-] class-asset.php
[edit]
[-] class-admin-media-purge-notification.php
[edit]
[-] class-bulk-description-editor-list-table.php
[edit]
[-] class-gutenberg-compatibility.php
[edit]
[-] index.php
[edit]
[-] class-paper-presenter.php
[edit]
[-] class-yoast-notification-center.php
[edit]
[-] class-remote-request.php
[edit]
[-] class-export.php
[edit]
[-] class-product-upsell-notice.php
[edit]
[-] class-admin-utils.php
[edit]
[+]
help_center
[-] class-collector.php
[edit]
[-] courses-overview.php
[edit]
[-] interface-installable.php
[edit]
[+]
formatter
[-] class-my-yoast-route.php
[edit]
[-] class-admin-help-panel.php
[edit]
[-] class-social-admin.php
[edit]
[+]
recalculate
[-] ajax.php
[edit]
[-] class-schema-person-upgrade-notification.php
[edit]
[-] class-option-tabs-formatter.php
[edit]
[-] class-admin-asset-seo-location.php
[edit]
[+]
menu
[-] class-admin-asset-yoast-components-l10n.php
[edit]
[+]
endpoints
[-] class-my-yoast-proxy.php
[edit]
[+]
capabilities
[+]
filters
[-] class-admin-init.php
[edit]
[-] class-option-tabs.php
[edit]
[-] class-meta-columns.php
[edit]
[-] class-primary-term-admin.php
[edit]
[+]
views
[+]
taxonomy
[-] class-yoast-columns.php
[edit]
[-] class-admin-editor-specific-replace-vars.php
[edit]
[+]
import
[+]
watchers
[-] class-admin-recommended-replace-vars.php
[edit]
[-] class-admin-user-profile.php
[edit]
[-] class-yoast-network-settings-api.php
[edit]
[-] class-add-keyword-modal.php
[edit]
[-] class-meta-table-accessible.php
[edit]
[-] class-suggested-plugins.php
[edit]
[-] class-plugin-conflict.php
[edit]
[-] class-extension.php
[edit]
[+]
ajax
[-] class-config.php
[edit]
[-] class-yoast-plugin-conflict.php
[edit]
[+]
listeners
[-] class-yoast-notification.php
[edit]
[+]
pages
[+]
tracking
[-] class-premium-upsell-admin-block.php
[edit]
[-] class-admin-asset-location.php
[edit]
[-] class-option-tab.php
[edit]
[-] class-customizer.php
[edit]
[+]
roles
[-] class-bulk-editor-list-table.php
[edit]
[-] class-admin-asset-analysis-worker-location.php
[edit]
[-] class-admin.php
[edit]
[-] class-license-page-manager.php
[edit]