WordPress.org

Make WordPress Core

Changeset 19536


Ignore:
Timestamp:
12/01/2011 11:13:56 PM (6 years ago)
Author:
nacin
Message:

Add about.php maintenance/security release strings for translation. see #19346.

Location:
trunk/wp-admin
Files:
3 edited

Legend:

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

    r19528 r19536  
    2626<h2 class="nav-tab-wrapper">
    2727    <a href="about.php" class="nav-tab nav-tab-active">
    28         <?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
     28        <?php _e( 'What&#8217;s New' ); ?>
    2929    </a><a href="credits.php" class="nav-tab">
    3030        <?php _e( 'Credits' ); ?>
     
    173173
    174174include( './admin-footer.php' );
     175
     176// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
     177return;
     178
     179_n_noop( 'Maintenance Release', 'Maintenance Releases' );
     180_n_noop( 'Security Release', 'Security Releases' );
     181_n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
     182
     183/* translators: 1: WordPress version number. */
     184_n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
     185         '<strong>Version %1$s</strong> addressed some security issues.' );
     186
     187/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). */
     188_n_noop( '<strong>Version %1$s</strong> addressed %2$s bugs.',
     189         '<strong>Version %1$s</strong> addressed %2$s bugs.' );
     190
     191/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). Singular security issue. */
     192_n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
     193         '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.' );
     194
     195/* translators: 1: WordPress version number, 2: plural number of bugs (singular not used). More than one security issue. */
     196_n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
     197         '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
     198
     199__( 'For more information, see <a href="%s">the release post</a>.' );
     200
     201?>
  • trunk/wp-admin/credits.php

    r19534 r19536  
    5757<h2 class="nav-tab-wrapper">
    5858    <a href="about.php" class="nav-tab">
    59         <?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
     59        <?php _e( 'What&#8217;s New' ); ?>
    6060    </a><a href="credits.php" class="nav-tab nav-tab-active">
    6161        <?php _e( 'Credits' ); ?>
  • trunk/wp-admin/freedoms.php

    r19534 r19536  
    2626<h2 class="nav-tab-wrapper">
    2727    <a href="about.php" class="nav-tab">
    28         <?php printf( __( 'What&#8217;s New in %s' ), $display_version ); ?>
     28        <?php _e( 'What&#8217;s New' ); ?>
    2929    </a><a href="credits.php" class="nav-tab">
    3030        <?php _e( 'Credits' ); ?>
Note: See TracChangeset for help on using the changeset viewer.