From d6127982be49c0f16c52dbe70199ceaa56db78de Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sat, 20 Jun 2015 18:32:04 +0000 Subject: [PATCH] Customizer: Replace wrong usage of `_x()` with translator comments. see #32576. git-svn-id: https://develop.svn.wordpress.org/trunk@32887 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-nav-menus.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-customize-nav-menus.php b/src/wp-includes/class-wp-customize-nav-menus.php index 19832f554e..ca54403f15 100644 --- a/src/wp-includes/class-wp-customize-nav-menus.php +++ b/src/wp-includes/class-wp-customize-nav-menus.php @@ -271,8 +271,9 @@ final class WP_Customize_Nav_Menus { 'itemTypes' => $this->available_item_types(), 'l10n' => array( 'untitled' => _x( '(no label)', 'Missing menu item navigation label.' ), - 'custom_label' => _x( 'Custom Link', 'Custom menu item type label.' ), - 'menuLocation' => _x( '(Currently set to: %s)', 'Current menu location.' ), + 'custom_label' => __( 'Custom Link' ), + /* translators: %s: Current menu location */ + 'menuLocation' => __( '(Currently set to: %s)' ), 'deleteWarn' => __( 'You are about to permanently delete this menu. "Cancel" to stop, "OK" to delete.' ), 'itemAdded' => __( 'Menu item added' ), 'itemDeleted' => __( 'Menu item deleted' ), @@ -282,8 +283,11 @@ final class WP_Customize_Nav_Menus { 'movedDown' => __( 'Menu item moved down' ), 'movedLeft' => __( 'Menu item moved out of submenu' ), 'movedRight' => __( 'Menu item is now a sub-item' ), - 'customizingMenus' => _x( 'Customizing ▸ Menus', '▸ is the unicode right-pointing triangle' ), + /* translators: %s: ▸ is the unicode right-pointing triangle */ + 'customizingMenus' => __( 'Customizing ▸ Menus' ), + /* translators: %s: title of menu item which is invalid */ 'invalidTitleTpl' => __( '%s (Invalid)' ), + /* translators: %s: title of menu item in draft status */ 'pendingTitleTpl' => __( '%s (Pending)' ), 'taxonomyTermLabel' => __( 'Taxonomy' ), 'postTypeLabel' => __( 'Post Type' ),