Make WordPress Core


Ignore:
Timestamp:
07/27/2015 11:18:55 AM (8 years ago)
Author:
iseulde
Message:

Editor: word count: better names for types.

Also fix it in wp_trim_words().

Fixes #30966.

File:
1 edited

Legend:

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

    r33426 r33440  
    402402    $scripts->add( 'word-count', "/wp-admin/js/word-count$suffix.js", array(), false, 1 );
    403403    did_action( 'init' ) && $scripts->localize( 'word-count', 'wordCountL10n', array(
    404         /* translators: If your word count is based on single characters (East Asian characters),
    405            enter 'characters', or 'all' to include spaces. Otherwise, enter 'words'.
     404        /* translators: If your word count is based on single characters (e.g. East Asian characters),
     405           enter 'characters_excluding_spaces' or 'characters_including_spaces'. Otherwise, enter 'words'.
    406406           Do not translate into your own language. */
    407         'type' => _x( 'words', 'word count: words, characters or all?' ),
     407        'type' => _x( 'words', 'Word count type. Do not translate!' ),
    408408        'shortcodes' => ! empty( $GLOBALS['shortcode_tags'] ) ? array_keys( $GLOBALS['shortcode_tags'] ) : array()
    409409    ) );
Note: See TracChangeset for help on using the changeset viewer.