From 29dd928983595f0ab67e191574c6d5c8f0c0e6ba Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Mon, 18 Jul 2016 11:29:03 +0000 Subject: [PATCH] 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 --- src/wp-includes/script-loader.php | 33 ++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index c24fd649cb..f624335a7e 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -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.', ), ) );