mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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
This commit is contained in:
parent
02aad2f192
commit
30f64bdbb5
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user