I18N: Add context to some theme strings for consistency.
Props ramiy, ocean90. Fixes #50709. git-svn-id: https://develop.svn.wordpress.org/trunk@48545 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0da858ffae
commit
e10083b7de
@ -134,7 +134,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
|
||||
esc_url( $activate_link ),
|
||||
__( 'Activate' ),
|
||||
/* translators: %s: Theme name. */
|
||||
sprintf( __( 'Activate “%s”' ), $name )
|
||||
sprintf( _x( 'Activate “%s”', 'theme' ), $name )
|
||||
);
|
||||
|
||||
if ( is_network_admin() && current_user_can( 'manage_network_themes' ) ) {
|
||||
|
@ -94,7 +94,7 @@ class Theme_Upgrader_Skin extends WP_Upgrader_Skin {
|
||||
esc_url( $activate_link ),
|
||||
__( 'Activate' ),
|
||||
/* translators: %s: Theme name. */
|
||||
sprintf( __( 'Activate “%s”' ), $name )
|
||||
sprintf( _x( 'Activate “%s”', 'theme' ), $name )
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -212,7 +212,7 @@ class WP_Themes_List_Table extends WP_List_Table {
|
||||
'<a href="%s" class="activatelink" title="%s">%s</a>',
|
||||
$activate_link,
|
||||
/* translators: %s: Theme name. */
|
||||
esc_attr( sprintf( __( 'Activate “%s”' ), $title ) ),
|
||||
esc_attr( sprintf( _x( 'Activate “%s”', 'theme' ), $title ) ),
|
||||
__( 'Activate' )
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user