I18N: Add context to some theme strings for consistency.

Props ramiy, ocean90.
Fixes #50709.
Built from https://develop.svn.wordpress.org/trunk@48545


git-svn-id: http://core.svn.wordpress.org/trunk@48307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-07-21 16:33:05 +00:00
parent 48841f9ab3
commit 548df4e3e6
4 changed files with 4 additions and 4 deletions

View File

@ -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' ) ) {

View File

@ -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 )
);
}

View File

@ -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 &#8220;%s&#8221;' ), $title ) ),
esc_attr( sprintf( _x( 'Activate &#8220;%s&#8221;', 'theme' ), $title ) ),
__( 'Activate' )
);

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-beta2-48544';
$wp_version = '5.5-beta2-48545';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.