WordPress.org

Make WordPress Core

Changeset 31906


Ignore:
Timestamp:
03/26/2015 09:18:25 PM (6 years ago)
Author:
ocean90
Message:

Improve newly added strings for i18n:

  • Add context to "Format" string.
  • Use "Format" with context for "Post format".

see #31776.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r31894 r31906  
    12801280                    <button type="button" class="button-reset post-option">
    12811281                        <span class="dashicons dashicons-admin-post"></span>
    1282                         <span class="post-option-title"><?php _e( 'Format' ); ?></span>
     1282                        <span class="post-option-title"><?php _ex( 'Format', 'post format' ); ?></span>
    12831283                        <span class="post-option-contents" id="post-option-post-format"><?php echo esc_html( get_post_format_string( $post_format ) ); ?></span>
    12841284                        <span class="dashicons post-option-forward"></span>
     
    13031303                    <button type="button" class="button-reset modal-close">
    13041304                        <span class="dashicons post-option-back"></span>
    1305                         <span class="setting-title" aria-hidden="true"><?php _e( 'Post format' ); ?></span>
     1305                        <span class="setting-title" aria-hidden="true"><?php _ex( 'Format', 'post format' ); ?></span>
    13061306                        <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span>
    13071307                    </button>
Note: See TracChangeset for help on using the changeset viewer.