Make WordPress Core

Changeset 34233


Ignore:
Timestamp:
09/16/2015 11:58:41 AM (11 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.

Location:
trunk/src/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r34087 r34233  
    628628                        'activeControls' => array(),
    629629                        'l10n' => array(
    630                                 'loading'  => __( 'Loading...' ),
     630                                'loading'  => __( 'Loading...' ), // no ellipsis
    631631                        ),
    632632                );
  • trunk/src/wp-includes/class-wp-editor.php

    r34087 r34233  
    927927                        'Color' => __( 'Color' ),
    928928                        'Custom color' => __( 'Custom color' ),
    929                         'Custom...' => _x( 'Custom...', 'label for custom color' ),
     929                        'Custom...' => _x( 'Custom...', 'label for custom color' ), // no ellipsis
    930930                        'No color' => __( 'No color' ),
    931931
     
    10291029                        'Insert Read More tag' => __( 'Insert Read More tag' ),
    10301030                        'Insert Page Break tag' => __( 'Insert Page Break tag' ),
    1031                         'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor
     1031                        'Read more...' => __( 'Read more...' ), // Title on the placeholder inside the editor (no ellipsis)
    10321032                        'Distraction-free writing mode' => __( 'Distraction-free writing mode' ),
    10331033                        'No alignment' => __( 'No alignment' ), // Tooltip for the 'alignnone' button in the image toolbar
  • 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.