WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/16/2015 11:58:41 AM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Fixes #32875.

File:
1 edited

Legend:

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

    r34087 r34233  
    565565            'ajax_nonce' => wp_create_nonce( 'updates' ),
    566566            'l10n'       => array(
    567                 'updating'          => __( 'Updating...' ),
     567                'updating'          => __( 'Updating...' ), // no ellipsis
    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...' ),
     572                'updatingLabel'     => __( 'Updating %s...' ), // no ellipsis
    573573                /* translators: Plugin name and version */
    574574                'updatedLabel'      => __( '%s updated!' ),
     
    576576                'updateFailedLabel' => __( '%s update failed' ),
    577577                /* translators: JavaScript accessible string */
    578                 'updatingMsg'       => __( 'Updating... please wait.' ),
     578                'updatingMsg'       => __( 'Updating... please wait.' ), // no ellipsis
    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...' ),
     616            'saving' => __( 'Saving...' ), // no ellipsis
    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.