Changeset 42164
- Timestamp:
- 11/13/2017 07:08:56 AM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/script-loader.php
r42042 r42164 477 477 'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ), 478 478 'saveError' => __( 'Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.' ), 479 'lintError' => wp_array_slice_assoc(479 'lintError' => array( 480 480 /* translators: %d: error count */ 481 _n_noop( 'There is %d error which must be fixed before you can update this file.', 'There are %d errors which must be fixed before you can update this file.' ), 482 array( 'singular', 'plural' ) 481 'singular' => _n( 'There is %d error which must be fixed before you can update this file.', 'There are %d errors which must be fixed before you can update this file.', 1 ), 482 /* translators: %d: error count */ 483 'plural' => _n( 'There is %d error which must be fixed before you can update this file.', 'There are %d errors which must be fixed before you can update this file.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491. 483 484 ), 484 485 ) ) ) ); … … 581 582 // Used for overriding the file types allowed in plupload. 582 583 'allowedFiles' => __( 'Allowed Files' ), 583 'customCssError' => wp_array_slice_assoc(584 'customCssError' => array( 584 585 /* translators: %d: error count */ 585 _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.' ), 586 array( 'singular', 'plural' ) 586 'singular' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 1 ), 587 /* translators: %d: error count */ 588 'plural' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491. 587 589 ), 588 590 'pageOnFrontError' => __( 'Homepage and posts page must be different.' ), 589 'saveBlockedError' => wp_array_slice_assoc(591 'saveBlockedError' => array( 590 592 /* translators: %s: number of invalid settings */ 591 _n_noop( 'Unable to save due to %s invalid setting.', 'Unable to save due to %s invalid settings.' ), 592 array( 'singular', 'plural' ) 593 'singular' => _n( 'Unable to save due to %s invalid setting.', 'Unable to save due to %s invalid settings.', 1 ), 594 /* translators: %s: number of invalid settings */ 595 'plural' => _n( 'Unable to save due to %s invalid setting.', 'Unable to save due to %s invalid settings.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491. 593 596 ), 594 597 'scheduleDescription' => __( 'Schedule your customization changes to publish ("go live") at a future date.' ), -
branches/4.9/src/wp-includes/widgets/class-wp-widget-custom-html.php
r41640 r42164 176 176 177 177 $l10n = array( 178 'errorNotice' => wp_array_slice_assoc(178 'errorNotice' => array( 179 179 /* translators: %d: error count */ 180 _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.' ), 181 array( 'singular', 'plural' ) 180 'singular' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 1 ), 181 /* translators: %d: error count */ 182 'plural' => _n( 'There is %d error which must be fixed before you can save.', 'There are %d errors which must be fixed before you can save.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491. 182 183 ), 183 184 );
Note: See TracChangeset
for help on using the changeset viewer.