Improve newly added strings for i18n:

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

see #31776.
Built from https://develop.svn.wordpress.org/trunk@31906


git-svn-id: http://core.svn.wordpress.org/trunk@31885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-03-26 21:19:26 +00:00
parent 55519962cc
commit 8daaa09c9b
2 changed files with 3 additions and 3 deletions

View File

@ -1279,7 +1279,7 @@ class WP_Press_This {
<?php if ( $supports_formats ) : ?>
<button type="button" class="button-reset post-option">
<span class="dashicons dashicons-admin-post"></span>
<span class="post-option-title"><?php _e( 'Format' ); ?></span>
<span class="post-option-title"><?php _ex( 'Format', 'post format' ); ?></span>
<span class="post-option-contents" id="post-option-post-format"><?php echo esc_html( get_post_format_string( $post_format ) ); ?></span>
<span class="dashicons post-option-forward"></span>
</button>
@ -1302,7 +1302,7 @@ class WP_Press_This {
<div class="setting-modal is-off-screen is-hidden">
<button type="button" class="button-reset modal-close">
<span class="dashicons post-option-back"></span>
<span class="setting-title" aria-hidden="true"><?php _e( 'Post format' ); ?></span>
<span class="setting-title" aria-hidden="true"><?php _ex( 'Format', 'post format' ); ?></span>
<span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span>
</button>
<?php $this->post_formats_html( $post ); ?>

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta3-31905';
$wp_version = '4.2-beta3-31906';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.