Add a comment to strings where the ellipsis cannot be used due to json_encode(), placeholders, or external dependencies.

Fixes #32875.
Built from https://develop.svn.wordpress.org/trunk@34233


git-svn-id: http://core.svn.wordpress.org/trunk@34197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-09-16 11:59:26 +00:00
parent 19bcadf2a6
commit 53ac914bd5
4 changed files with 8 additions and 8 deletions

View File

@ -627,7 +627,7 @@ final class WP_Customize_Manager {
'activeSections' => array(),
'activeControls' => array(),
'l10n' => array(
'loading' => __( 'Loading...' ),
'loading' => __( 'Loading...' ), // no ellipsis
),
);

View File

@ -926,7 +926,7 @@ final class _WP_Editors {
'Color' => __( 'Color' ),
'Custom color' => __( 'Custom color' ),
'Custom...' => _x( 'Custom...', 'label for custom color' ),
'Custom...' => _x( 'Custom...', 'label for custom color' ), // no ellipsis
'No color' => __( 'No color' ),
// Spelling, search/replace plugins
@ -1028,7 +1028,7 @@ final class _WP_Editors {
'Toolbar Toggle' => __( 'Toolbar Toggle' ),
'Insert Read More tag' => __( 'Insert Read More tag' ),
'Insert Page Break tag' => __( 'Insert Page Break tag' ),
'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor
'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor (no ellipsis)
'Distraction-free writing mode' => __( 'Distraction-free writing mode' ),
'No alignment' => __( 'No alignment' ), // Tooltip for the 'alignnone' button in the image toolbar
'Remove' => __( 'Remove' ), // Tooltip for the 'remove' button in the image toolbar

View File

@ -564,18 +564,18 @@ function wp_default_scripts( &$scripts ) {
did_action( 'init' ) && $scripts->localize( 'updates', '_wpUpdatesSettings', array(
'ajax_nonce' => wp_create_nonce( 'updates' ),
'l10n' => array(
'updating' => __( 'Updating...' ),
'updating' => __( 'Updating...' ), // no ellipsis
'updated' => __( 'Updated!' ),
/* translators: Error string for a failed update */
'updateFailed' => __( 'Update Failed: %s' ),
/* translators: Plugin name and version */
'updatingLabel' => __( 'Updating %s...' ),
'updatingLabel' => __( 'Updating %s...' ), // no ellipsis
/* translators: Plugin name and version */
'updatedLabel' => __( '%s updated!' ),
/* translators: Plugin name and version */
'updateFailedLabel' => __( '%s update failed' ),
/* translators: JavaScript accessible string */
'updatingMsg' => __( 'Updating... please wait.' ),
'updatingMsg' => __( 'Updating... please wait.' ), // no ellipsis
/* translators: JavaScript accessible string */
'updatedMsg' => __( 'Update completed successfully.' ),
/* translators: JavaScript accessible string */
@ -613,7 +613,7 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'set-post-thumbnail', "/wp-admin/js/set-post-thumbnail$suffix.js", array( 'jquery' ), false, 1 );
did_action( 'init' ) && $scripts->localize( 'set-post-thumbnail', 'setPostThumbnailL10n', array(
'setThumbnail' => __( 'Use as featured image' ),
'saving' => __( 'Saving...' ),
'saving' => __( 'Saving...' ), // no ellipsis
'error' => __( 'Could not set that as the thumbnail image. Try a different attachment.' ),
'done' => __( 'Done' )
) );

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-34232';
$wp_version = '4.4-alpha-34233';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.