From 30f64bdbb50c3c42b3762c90f98759a6527b8817 Mon Sep 17 00:00:00 2001 From: westi Date: Mon, 23 May 2011 11:02:12 +0000 Subject: [PATCH] Use context to tell the translators what to do and thereby remove a unused string. Add a comment as to why we have translations after a return. See #17532 git-svn-id: http://svn.automattic.com/wordpress/trunk@18005 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/credits.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 6f97ad504..8ebe28756 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -89,10 +89,7 @@ foreach ( (array) $results['people'] as $group_slug => $members ) { foreach ( (array) $results['lists'] as $group_slug => $members ) { if ( $group_slug === 'translators' ) { // Considered a special slug in the API response. (Also, will never be returned for en_US.) - /* translators: use the name of your own language here */ - $title = __( 'English Translators' ); - if ( 'English Translators' == $title ) - $title = __( 'Translators' ); + $title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' ); } else { $title = translate( $results['groups'][ $group_slug ] ); if ( isset( $results['data']['placeholders'][ $group_slug ] ) ) @@ -117,6 +114,7 @@ include( './admin-footer.php' ); return; +// These are strings returned by the API that we want to be translatable __( 'Project Leaders' ); __( 'Extended Core Team' ); __( 'Recent Rockstars' );