Customizer: Replace wrong usage of `_x()` with translator comments.

see #32576.
Built from https://develop.svn.wordpress.org/trunk@32887


git-svn-id: http://core.svn.wordpress.org/trunk@32858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-06-20 18:33:26 +00:00
parent 5c2d8c6b07
commit 8fe9d04bf9
2 changed files with 8 additions and 4 deletions

View File

@ -271,8 +271,9 @@ final class WP_Customize_Nav_Menus {
'itemTypes' => $this->available_item_types(), 'itemTypes' => $this->available_item_types(),
'l10n' => array( 'l10n' => array(
'untitled' => _x( '(no label)', 'Missing menu item navigation label.' ), 'untitled' => _x( '(no label)', 'Missing menu item navigation label.' ),
'custom_label' => _x( 'Custom Link', 'Custom menu item type label.' ), 'custom_label' => __( 'Custom Link' ),
'menuLocation' => _x( '(Currently set to: %s)', 'Current menu location.' ), /* 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.' ), 'deleteWarn' => __( 'You are about to permanently delete this menu. "Cancel" to stop, "OK" to delete.' ),
'itemAdded' => __( 'Menu item added' ), 'itemAdded' => __( 'Menu item added' ),
'itemDeleted' => __( 'Menu item deleted' ), 'itemDeleted' => __( 'Menu item deleted' ),
@ -282,8 +283,11 @@ final class WP_Customize_Nav_Menus {
'movedDown' => __( 'Menu item moved down' ), 'movedDown' => __( 'Menu item moved down' ),
'movedLeft' => __( 'Menu item moved out of submenu' ), 'movedLeft' => __( 'Menu item moved out of submenu' ),
'movedRight' => __( 'Menu item is now a sub-item' ), 'movedRight' => __( 'Menu item is now a sub-item' ),
'customizingMenus' => _x( 'Customizing ▸ Menus', '&#9656 is the unicode right-pointing triangle' ), /* translators: %s: &#9656 is the unicode right-pointing triangle */
'customizingMenus' => __( 'Customizing ▸ Menus' ),
/* translators: %s: title of menu item which is invalid */
'invalidTitleTpl' => __( '%s (Invalid)' ), 'invalidTitleTpl' => __( '%s (Invalid)' ),
/* translators: %s: title of menu item in draft status */
'pendingTitleTpl' => __( '%s (Pending)' ), 'pendingTitleTpl' => __( '%s (Pending)' ),
'taxonomyTermLabel' => __( 'Taxonomy' ), 'taxonomyTermLabel' => __( 'Taxonomy' ),
'postTypeLabel' => __( 'Post Type' ), 'postTypeLabel' => __( 'Post Type' ),

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32886'; $wp_version = '4.3-alpha-32887';
/** /**
* 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.