mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
I18N: Add context to some plugin and theme strings for consistency.
Props ramiy, audrasjb. Fixes #50710. git-svn-id: https://develop.svn.wordpress.org/trunk@48520 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -509,7 +509,7 @@ function wp_plugin_update_row( $file, $plugin_data ) {
|
||||
sprintf(
|
||||
'class="update-link" aria-label="%s"',
|
||||
/* translators: %s: Plugin name. */
|
||||
esc_attr( sprintf( __( 'Update %s now' ), $plugin_name ) )
|
||||
esc_attr( sprintf( _x( 'Update %s now', 'plugin' ), $plugin_name ) )
|
||||
)
|
||||
);
|
||||
} else {
|
||||
@@ -694,7 +694,7 @@ function wp_theme_update_row( $theme_key, $theme ) {
|
||||
sprintf(
|
||||
'class="update-link" aria-label="%s"',
|
||||
/* translators: %s: Theme name. */
|
||||
esc_attr( sprintf( __( 'Update %s now' ), $theme['Name'] ) )
|
||||
esc_attr( sprintf( _x( 'Update %s now', 'theme' ), $theme['Name'] ) )
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user