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:
parent
48841f9ab3
commit
548df4e3e6
|
@ -134,7 +134,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
|
||||||
esc_url( $activate_link ),
|
esc_url( $activate_link ),
|
||||||
__( 'Activate' ),
|
__( 'Activate' ),
|
||||||
/* translators: %s: Theme name. */
|
/* translators: %s: Theme name. */
|
||||||
sprintf( __( 'Activate “%s”' ), $name )
|
sprintf( _x( 'Activate “%s”', 'theme' ), $name )
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( is_network_admin() && current_user_can( 'manage_network_themes' ) ) {
|
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 ),
|
esc_url( $activate_link ),
|
||||||
__( 'Activate' ),
|
__( 'Activate' ),
|
||||||
/* translators: %s: Theme name. */
|
/* 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>',
|
'<a href="%s" class="activatelink" title="%s">%s</a>',
|
||||||
$activate_link,
|
$activate_link,
|
||||||
/* translators: %s: Theme name. */
|
/* translators: %s: Theme name. */
|
||||||
esc_attr( sprintf( __( 'Activate “%s”' ), $title ) ),
|
esc_attr( sprintf( _x( 'Activate “%s”', 'theme' ), $title ) ),
|
||||||
__( 'Activate' )
|
__( 'Activate' )
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue