Fix MediaElement i18n.

props Namibia, eherman24.
fixes #28366 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@28801 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-06-22 14:15:55 +00:00
parent f393fecbc5
commit 256de085ec
1 changed files with 1 additions and 1 deletions

View File

@ -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' ),