I18N: Use a consistent pattern for translator comments for placeholders in Customizer and widget strings.

Props danieltj, Rahmohn.
Fixes #41974.

git-svn-id: https://develop.svn.wordpress.org/trunk@41640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2017-09-29 11:41:06 +00:00
parent b8d32950e7
commit 13b5f8272a
9 changed files with 23 additions and 25 deletions
@@ -176,7 +176,7 @@ class WP_Widget_Custom_HTML extends WP_Widget {
$l10n = array(
'errorNotice' => wp_array_slice_assoc(
/* translators: placeholder is error count */
/* translators: %d: error count */
_n_noop( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.' ),
array( 'singular', 'plural' )
),