Media: Update list of translatable strings for MediaElement.js.

Fixes #37394.

git-svn-id: https://develop.svn.wordpress.org/trunk@38089 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling 2016-07-18 11:29:03 +00:00
parent 2beb89575b
commit 29dd928983

View File

@ -339,18 +339,27 @@ function wp_default_scripts( &$scripts ) {
did_action( 'init' ) && $scripts->localize( 'mediaelement', 'mejsL10n', array(
'language' => get_bloginfo( 'language' ),
'strings' => array(
'Close' => __( 'Close' ),
'Fullscreen' => __( 'Fullscreen' ),
'Download File' => __( 'Download File' ),
'Download Video' => __( 'Download Video' ),
'Play/Pause' => __( 'Play/Pause' ),
'Mute Toggle' => __( 'Mute Toggle' ),
'None' => __( 'None' ),
'Turn off Fullscreen' => __( 'Turn off Fullscreen' ),
'Go Fullscreen' => __( 'Go Fullscreen' ),
'Unmute' => __( 'Unmute' ),
'Mute' => __( 'Mute' ),
'Captions/Subtitles' => __( 'Captions/Subtitles' )
'Close' => __( 'Close' ),
'Fullscreen' => __( 'Fullscreen' ),
'Turn off Fullscreen' => __( 'Turn off Fullscreen' ),
'Go Fullscreen' => __( 'Go Fullscreen' ),
'Download File' => __( 'Download File' ),
'Download Video' => __( 'Download Video' ),
'Play' => __( 'Play' ),
'Pause' => __( 'Pause' ),
'Captions/Subtitles' => __( 'Captions/Subtitles' ),
'None' => __( 'None', 'no captions/subtitles' ),
'Time Slider' => __( 'Time Slider' ),
'Jump forward %1 seconds' => __( 'Jump forward %1 seconds' ),
'Skip back %1 seconds' => __( 'Skip back %1 seconds' ),
'Video Player' => __( 'Video Player' ),
'Audio Player' => __( 'Audio Player' ),
'Volume Slider' => __( 'Volume Slider' ),
'Mute Toggle' => __( 'Mute Toggle' ),
'Unmute' => __( 'Unmute' ),
'Mute' => __( 'Mute' ),
'Use Up/Down Arrow keys to increase or decrease volume.' => __( 'Use Up/Down Arrow keys to increase or decrease volume.' ),
'Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.' => 'Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.',
),
) );