Use correct i18n function after [29768].
props TobiasBg. fixes #29751. git-svn-id: https://develop.svn.wordpress.org/trunk@29769 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a86e98ba96
commit
1c8658f620
@ -534,7 +534,7 @@ function wp_default_scripts( &$scripts ) {
|
|||||||
// Navigation Menus
|
// Navigation Menus
|
||||||
$scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable', 'wp-lists', 'postbox' ) );
|
$scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable', 'wp-lists', 'postbox' ) );
|
||||||
did_action( 'init' ) && $scripts->localize( 'nav-menu', 'navMenuL10n', array(
|
did_action( 'init' ) && $scripts->localize( 'nav-menu', 'navMenuL10n', array(
|
||||||
'noResultsFound' => _x( 'No results found.' ),
|
'noResultsFound' => __( 'No results found.' ),
|
||||||
'warnDeleteMenu' => __( "You are about to permanently delete this menu. \n 'Cancel' to stop, 'OK' to delete." ),
|
'warnDeleteMenu' => __( "You are about to permanently delete this menu. \n 'Cancel' to stop, 'OK' to delete." ),
|
||||||
'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ),
|
'saveAlert' => __( 'The changes you made will be lost if you navigate away from this page.' ),
|
||||||
'untitled' => _x( '(no label)', 'missing menu item navigation label' )
|
'untitled' => _x( '(no label)', 'missing menu item navigation label' )
|
||||||
|
Loading…
Reference in New Issue
Block a user