Fix MediaElement i18n.
props Namibia, eherman24. fixes #28366 for trunk. Built from https://develop.svn.wordpress.org/trunk@28801 git-svn-id: http://core.svn.wordpress.org/trunk@28610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4690d6a592
commit
e1fb15dd4a
|
@ -303,7 +303,7 @@ function wp_default_scripts( &$scripts ) {
|
|||
|
||||
$scripts->add( 'mediaelement', "/wp-includes/js/mediaelement/mediaelement-and-player.min.js", array('jquery'), '2.14.2', 1 );
|
||||
did_action( 'init' ) && $scripts->localize( 'mediaelement', 'mejsL10n', array(
|
||||
'language' => get_bloginfo( 'language' ),
|
||||
'language' => substr( get_bloginfo( 'language' ), 0, 2 ),
|
||||
'strings' => array(
|
||||
'Close' => __( 'Close' ),
|
||||
'Fullscreen' => __( 'Fullscreen' ),
|
||||
|
|
Loading…
Reference in New Issue