Make WordPress Core


Ignore:
Timestamp:
09/29/2017 11:41:06 AM (6 years ago)
Author:
SergeyBiryukov
Message:

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

Props danieltj, Rahmohn.
Fixes #41974.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-custom-html.php

    r41639 r41640  
    177177        $l10n = array(
    178178            'errorNotice' => wp_array_slice_assoc(
    179                 /* translators: placeholder is error count */
     179                /* translators: %d: error count */
    180180                _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.' ),
    181181                array( 'singular', 'plural' )
Note: See TracChangeset for help on using the changeset viewer.