/** * Localize $mla_language_option_definitions array * * Localization must be done at runtime, and these calls cannot be placed * in the "public static" array definition itself. * * @since 2.11 * * @return void */ public static function mla_localize_language_option_definitions() { MLA_WPML::$mla_language_option_definitions = array('media_assistant_table_header' => array('tab' => 'language', 'name' => __('Media/Assistant submenu table', 'media-library-assistant'), 'type' => 'header'), 'language_column' => array('tab' => 'language', 'name' => __('Language Column', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add a Language column to the Media/Assistant submenu table.', 'media-library-assistant')), 'translations_column' => array('tab' => 'language', 'name' => __('Translations Column', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to add a Translation Status column to the Media/Assistant submenu table.', 'media-library-assistant')), 'term_translation_header' => array('tab' => 'language', 'name' => __('Term Management', 'media-library-assistant'), 'type' => 'header'), 'term_assignment' => array('tab' => 'language', 'name' => __('Term Assignment', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to assign language-specific terms when items are updated.'), 'media-library-assistant'), 'term_synchronization' => array('tab' => 'language', 'name' => __('Term Synchronization', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('Check this option to synchronize common terms among all item translations.'), 'media-library-assistant'), 'term_mapping_replication' => array('tab' => 'language', 'name' => __('Term Mapping Replication', 'media-library-assistant'), 'type' => 'checkbox', 'std' => 'checked', 'help' => __('When mapping IPTC/EXIF metadata to taxonomy terms, make them available in all languages.'), 'media-library-assistant')); }