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. git-svn-id: https://develop.svn.wordpress.org/trunk@35611 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7674a767ed
commit
ad8c043554
@ -185,13 +185,19 @@ include( ABSPATH . 'wp-admin/admin-footer.php' );
|
|||||||
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
|
// These are strings we may use to describe maintenance/security releases, where we aim for no new strings.
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_n_noop( 'Maintenance Release', 'Maintenance Releases' );
|
__( 'Maintenance Release' );
|
||||||
_n_noop( 'Security Release', 'Security Releases' );
|
__( 'Maintenance Releases' );
|
||||||
_n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' );
|
|
||||||
|
|
||||||
/* translators: 1: WordPress version number. */
|
__( 'Security Release' );
|
||||||
_n_noop( '<strong>Version %1$s</strong> addressed a security issue.',
|
__( 'Security Releases' );
|
||||||
'<strong>Version %1$s</strong> addressed some security issues.' );
|
|
||||||
|
__( 'Maintenance and Security Release' );
|
||||||
|
__( 'Maintenance and Security Releases' );
|
||||||
|
|
||||||
|
/* translators: %s: WordPress version number */
|
||||||
|
__( '<strong>Version %s</strong> addressed one security issue.' );
|
||||||
|
/* translators: %s: WordPress version number */
|
||||||
|
__( '<strong>Version %s</strong> addressed some security issues.' );
|
||||||
|
|
||||||
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
/* translators: 1: WordPress version number, 2: plural number of bugs. */
|
||||||
_n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
|
_n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||||
@ -205,4 +211,5 @@ _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$
|
|||||||
_n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
_n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||||
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
|
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.' );
|
||||||
|
|
||||||
|
/* translators: %s: Codex URL */
|
||||||
__( 'For more information, see <a href="%s">the release notes</a>.' );
|
__( 'For more information, see <a href="%s">the release notes</a>.' );
|
||||||
|
Loading…
Reference in New Issue
Block a user