mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
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:
@@ -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' ),
|
||||
|
||||
Reference in New Issue
Block a user