WordPress.org

Make WordPress Core

Changeset 18005


Ignore:
Timestamp:
05/23/2011 11:02:12 AM (7 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/credits.php

    r18004 r18005  
    9090    if ( $group_slug === 'translators' ) {
    9191        // Considered a special slug in the API response. (Also, will never be returned for en_US.)
    92         /* translators: use the name of your own language here */
    93         $title = __( 'English Translators' );
    94         if ( 'English Translators' == $title )
    95             $title = __( 'Translators' );
     92        $title = _x( 'Translators', 'Translate this to be the equivalent of English Translators in your language for the credits page Translators section' );
    9693    } else {
    9794        $title = translate( $results['groups'][ $group_slug ] );
     
    118115return;
    119116
     117// These are strings returned by the API that we want to be translatable
    120118__( 'Project Leaders' );
    121119__( 'Extended Core Team' );
Note: See TracChangeset for help on using the changeset viewer.