mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
I18N: Provide gettext context to disambiguate various translation strings.
This changeset adds context to various strings: - `'Background'` string when referring to Custom Background appearance screens - `'Header'` string when referring to Custom Header appearance screens - `'General'`, `'Header'` and `'Footer'` strings when referring to template part areas Props gonzomir, SergeyBiryukov, mukesh27, costdev, ankitmaru. Fixes #58424. git-svn-id: https://develop.svn.wordpress.org/trunk@55881 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1052,7 +1052,7 @@ function wp_admin_bar_appearance_menu( $wp_admin_bar ) {
|
||||
array(
|
||||
'parent' => 'appearance',
|
||||
'id' => 'background',
|
||||
'title' => __( 'Background' ),
|
||||
'title' => _x( 'Background', 'custom background' ),
|
||||
'href' => admin_url( 'themes.php?page=custom-background' ),
|
||||
'meta' => array(
|
||||
'class' => 'hide-if-customize',
|
||||
@@ -1066,7 +1066,7 @@ function wp_admin_bar_appearance_menu( $wp_admin_bar ) {
|
||||
array(
|
||||
'parent' => 'appearance',
|
||||
'id' => 'header',
|
||||
'title' => __( 'Header' ),
|
||||
'title' => _x( 'Header', 'custom image header' ),
|
||||
'href' => admin_url( 'themes.php?page=custom-header' ),
|
||||
'meta' => array(
|
||||
'class' => 'hide-if-customize',
|
||||
|
||||
Reference in New Issue
Block a user