I18N: Add context and translator comments to Back to %s
strings.
Fixes #37095. git-svn-id: https://develop.svn.wordpress.org/trunk@37703 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aea4c0d86a
commit
45d7737eb2
@ -74,9 +74,15 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
|
|||||||
<div id="message" class="updated">
|
<div id="message" class="updated">
|
||||||
<p><strong><?php echo $message; ?></strong></p>
|
<p><strong><?php echo $message; ?></strong></p>
|
||||||
<?php if ( $wp_http_referer ) { ?>
|
<?php if ( $wp_http_referer ) { ?>
|
||||||
<p><a href="<?php echo esc_url( $wp_http_referer ); ?>"><?php printf( __( '← 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( '← Back to %s', 'admin screen' ), $tax->labels->name );
|
||||||
|
?></a></p>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<p><a href="<?php echo esc_url( wp_get_referer() ); ?>"><?php printf( __( '← 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( '← Back to %s', 'admin screen' ), $tax->labels->name );
|
||||||
|
?></a></p>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -228,7 +228,10 @@ function login_footer($input_id = '') {
|
|||||||
|
|
||||||
// Don't allow interim logins to navigate away from the page.
|
// Don't allow interim logins to navigate away from the page.
|
||||||
if ( ! $interim_login ): ?>
|
if ( ! $interim_login ): ?>
|
||||||
<p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php printf( __( '← 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( '← Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) );
|
||||||
|
?></a></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user