Skip to content

Commit

Permalink
I18N: Add context and translator comments to Back to %s strings.
Browse files Browse the repository at this point in the history
Fixes #37095.
Built from https://develop.svn.wordpress.org/trunk@37703


git-svn-id: http://core.svn.wordpress.org/trunk@37669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Jun 14, 2016
1 parent 70984ae commit 0cdf2d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
10 changes: 8 additions & 2 deletions wp-admin/edit-tag-form.php
Expand Up @@ -74,9 +74,15 @@
<div id="message" class="updated">
<p><strong><?php echo $message; ?></strong></p>
<?php if ( $wp_http_referer ) { ?>
<p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php printf( __( '&larr; Back to %s' ), $tax->labels->name ); ?></a></p>
<p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php
/* translators: %s: taxonomy name */
printf( _x( '&larr; Back to %s', 'admin screen' ), $tax->labels->name );
?></a></p>
<?php } else { ?>
<p><a href="<?php echo esc_url( wp_get_referer() ); ?>"><?php printf( __( '&larr; Back to %s' ), $tax->labels->name ); ?></a></p>
<p><a href="<?php echo esc_url( wp_get_referer() ); ?>"><?php
/* translators: %s: taxonomy name */
printf( _x( '&larr; Back to %s', 'admin screen' ), $tax->labels->name );
?></a></p>
<?php } ?>
</div>
<?php endif; ?>
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Expand Up @@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.6-alpha-37702';
$wp_version = '4.6-alpha-37703';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down
5 changes: 4 additions & 1 deletion wp-login.php
Expand Up @@ -228,7 +228,10 @@ function login_footer($input_id = '') {

// Don't allow interim logins to navigate away from the page.
if ( ! $interim_login ): ?>
<p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php printf( __( '&larr; Back to %s' ), get_bloginfo( 'title', 'display' ) ); ?></a></p>
<p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php
/* translators: %s: site title */
printf( _x( '&larr; Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
?></a></p>
<?php endif; ?>

</div>
Expand Down

0 comments on commit 0cdf2d3

Please sign in to comment.