From ad8c043554f675c4e85ba65694d2e8fd993d8f12 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 11 Nov 2015 19:28:12 +0000 Subject: [PATCH] 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 --- src/wp-admin/about.php | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 65bb796176..2d5bab1ef0 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -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. return; -_n_noop( 'Maintenance Release', 'Maintenance Releases' ); -_n_noop( 'Security Release', 'Security Releases' ); -_n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases' ); +__( 'Maintenance Release' ); +__( 'Maintenance Releases' ); -/* translators: 1: WordPress version number. */ -_n_noop( 'Version %1$s addressed a security issue.', - 'Version %1$s addressed some security issues.' ); +__( 'Security Release' ); +__( 'Security Releases' ); + +__( 'Maintenance and Security Release' ); +__( 'Maintenance and Security Releases' ); + +/* translators: %s: WordPress version number */ +__( 'Version %s addressed one security issue.' ); +/* translators: %s: WordPress version number */ +__( 'Version %s addressed some security issues.' ); /* translators: 1: WordPress version number, 2: plural number of bugs. */ _n_noop( 'Version %1$s addressed %2$s bug.', @@ -205,4 +211,5 @@ _n_noop( 'Version %1$s addressed a security issue and fixed %2$ _n_noop( 'Version %1$s addressed some security issues and fixed %2$s bug.', 'Version %1$s addressed some security issues and fixed %2$s bugs.' ); +/* translators: %s: Codex URL */ __( 'For more information, see the release notes.' );