mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 12:14:25 +00:00
Revert [34013] and parts of [33970].
* `_WP_Editors::wp_mce_translation()` can't be changed without changing strings in TinyMCE and plugins. * `\u2026` is escaped by `json_encode()` to `\\u2026`, makes `\u2026` visible in our UI. See #32875. git-svn-id: https://develop.svn.wordpress.org/trunk@34087 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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\u2026' ),
|
||||
'updating' => __( 'Updating...' ),
|
||||
'updated' => __( 'Updated!' ),
|
||||
/* translators: Error string for a failed update */
|
||||
'updateFailed' => __( 'Update Failed: %s' ),
|
||||
/* translators: Plugin name and version */
|
||||
'updatingLabel' => __( 'Updating %s\u2026' ),
|
||||
'updatingLabel' => __( 'Updating %s...' ),
|
||||
/* translators: Plugin name and version */
|
||||
'updatedLabel' => __( '%s updated!' ),
|
||||
/* translators: Plugin name and version */
|
||||
'updateFailedLabel' => __( '%s update failed' ),
|
||||
/* translators: JavaScript accessible string */
|
||||
'updatingMsg' => __( 'Updating\u2026 please wait.' ),
|
||||
'updatingMsg' => __( 'Updating... please wait.' ),
|
||||
/* 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\u2026' ),
|
||||
'saving' => __( 'Saving...' ),
|
||||
'error' => __( 'Could not set that as the thumbnail image. Try a different attachment.' ),
|
||||
'done' => __( 'Done' )
|
||||
) );
|
||||
|
||||
Reference in New Issue
Block a user