From 1d22015fb395b60b92d30a32b0ce3bc4c167b41a Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 18 Nov 2015 19:20:30 +0000 Subject: [PATCH] Customizer i18n: provide translator context for current menu name and location. Props ryankienstra. Fixes #33431. git-svn-id: https://develop.svn.wordpress.org/trunk@35676 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-nav-menus.php | 2 +- .../customize/class-wp-customize-nav-menu-control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-customize-nav-menus.php b/src/wp-includes/class-wp-customize-nav-menus.php index 0743f2f8e0..8218d73c75 100644 --- a/src/wp-includes/class-wp-customize-nav-menus.php +++ b/src/wp-includes/class-wp-customize-nav-menus.php @@ -337,7 +337,7 @@ final class WP_Customize_Nav_Menus { 'unnamed' => _x( '(unnamed)', 'Missing menu name.' ), 'custom_label' => __( 'Custom Link' ), /* translators: %s: Current menu location */ - 'menuLocation' => __( '(Currently set to: %s)' ), + 'menuLocation' => _x( '(Currently set to: %s)', 'Current menu location' ), 'menuNameLabel' => __( 'Menu Name' ), 'itemAdded' => __( 'Menu item added' ), 'itemDeleted' => __( 'Menu item deleted' ), diff --git a/src/wp-includes/customize/class-wp-customize-nav-menu-control.php b/src/wp-includes/customize/class-wp-customize-nav-menu-control.php index 9566a9f9c1..5120c29750 100644 --- a/src/wp-includes/customize/class-wp-customize-nav-menu-control.php +++ b/src/wp-includes/customize/class-wp-customize-nav-menu-control.php @@ -71,7 +71,7 @@ class WP_Customize_Nav_Menu_Control extends WP_Customize_Control {