Make WordPress Core

Changeset 35611


Ignore:
Timestamp:
11/11/2015 07:28:12 PM (9 years ago)
Author:
ocean90
Message:

About: Don't use _n_noop() for singular/plural strings which provide no placeholder for a number.

This allows for using proper plural forms in languages with more than two forms.

Props SergeyBiryukov.
Fixes #34307.
See #28502.

File:
1 edited

Legend:

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

    r35567 r35611  
    186186return;
    187187
    188 _n_noop( 'Maintenance Release', 'Maintenance Releases' );
    189 _n_noop( 'Security Release', 'Security Releases' );
    190 _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
    191 
    192 /* translators: 1: WordPress version number. */
    193 _n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
    194          '<strong>Version %1$s</strong> addressed some security issues.' );
     188__( 'Maintenance Release' );
     189__( 'Maintenance Releases' );
     190
     191__( 'Security Release' );
     192__( 'Security Releases' );
     193
     194__( 'Maintenance and Security Release' );
     195__( 'Maintenance and Security Releases' );
     196
     197/* translators: %s: WordPress version number */
     198__( '<strong>Version %s</strong> addressed one security issue.' );
     199/* translators: %s: WordPress version number */
     200__( '<strong>Version %s</strong> addressed some security issues.' );
    195201
    196202/* translators: 1: WordPress version number, 2: plural number of bugs. */
     
    206212         '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
    207213
     214/* translators: %s: Codex URL */
    208215__( 'For more information, see <a href="%s">the release notes</a>.' );
Note: See TracChangeset for help on using the changeset viewer.