WordPress.org

Making WordPress.org

Changeset 5782


Ignore:
Timestamp:
08/08/2017 03:52:58 PM (11 months ago)
Author:
coffee2code
Message:

Browse Happy: Add translator comment to indicate that "English" in non-EN alert shouldn't get translated to the name of the local language.

See https://github.com/WordPress/browsehappy/issues/13

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/browsehappy.com/public_html/functions.php

    r5760 r5782  
    269269    ?>
    270270    <div id="i18n-alert">
    271         <p><?php printf( __( 'Browse Happy is also available in English. <a href="%s">Click here to change the language to English</a>.', 'browsehappy' ), '/?locale=en' ); ?></p>
     271        <p><?php
     272            /* translators: "English" should be translated directly and not to the name of your language. */
     273            printf( __( 'Browse Happy is also available in English. <a href="%s">Click here to change the language to English</a>.', 'browsehappy' ), '/?locale=en' );
     274        ?></p>
    272275    </div>
    273276    <?php
Note: See TracChangeset for help on using the changeset viewer.