Make WordPress Core


Ignore:
Timestamp:
09/12/2015 08:02:43 PM (11 years ago)
Author:
ocean90
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r34013 r34087  
    565565                        'ajax_nonce' => wp_create_nonce( 'updates' ),
    566566                        'l10n'       => array(
    567                                 'updating'          => __( 'Updating\u2026' ),
     567                                'updating'          => __( 'Updating...' ),
    568568                                'updated'           => __( 'Updated!' ),
    569569                                /* translators: Error string for a failed update */
    570570                                'updateFailed'      => __( 'Update Failed: %s' ),
    571571                                /* translators: Plugin name and version */
    572                                 'updatingLabel'     => __( 'Updating %s\u2026' ),
     572                                'updatingLabel'     => __( 'Updating %s...' ),
    573573                                /* translators: Plugin name and version */
    574574                                'updatedLabel'      => __( '%s updated!' ),
     
    576576                                'updateFailedLabel' => __( '%s update failed' ),
    577577                                /* translators: JavaScript accessible string */
    578                                 'updatingMsg'       => __( 'Updating\u2026 please wait.' ),
     578                                'updatingMsg'       => __( 'Updating... please wait.' ),
    579579                                /* translators: JavaScript accessible string */
    580580                                'updatedMsg'        => __( 'Update completed successfully.' ),
     
    614614                did_action( 'init' ) && $scripts->localize( 'set-post-thumbnail', 'setPostThumbnailL10n', array(
    615615                        'setThumbnail' => __( 'Use as featured image' ),
    616                         'saving' => __( 'Saving\u2026' ),
     616                        'saving' => __( 'Saving...' ),
    617617                        'error' => __( 'Could not set that as the thumbnail image. Try a different attachment.' ),
    618618                        'done' => __( 'Done' )
Note: See TracChangeset for help on using the changeset viewer.