Changeset 4764 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-i18n.php
- Timestamp:
- 01/24/2017 10:59:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-i18n.php
r3511 r4764 16 16 */ 17 17 static function translate_term( $term ) { 18 if ( 'en_US' == get_locale() ) { 19 return $term; 20 } 21 18 22 if ( 'plugin_category' == $term->taxonomy ) { 19 23 $term->name = esc_html( translate_with_gettext_context( html_entity_decode( $term->name ), 'Plugin Category Name', 'wporg-plugins' ) );
Note: See TracChangeset
for help on using the changeset viewer.