Make WordPress Core

Changeset 47094


Ignore:
Timestamp:
01/21/2020 02:19:04 AM (7 years ago)
Author:
SergeyBiryukov
Message:

I18N: Synchronize MediaElement.js translation strings with the currently bundled version.

Some strings were previously removed in [43345] and accidentally reintroduced in [44163].

Props ramiy.
Fixes #49249. See #42139, #37453.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/vendor/mediaelement/wp-mediaelement.js

    r46800 r47094  
    6060                                // Make sure we only fall back to a download link for flash files.
    6161                                if ( -1 !== media.rendererName.indexOf( 'flash' ) || -1 !== media.rendererName.indexOf( 'flv' ) ) {
    62                                         return '<a href="' + node.src + '">' + mejsL10n.strings['mejs.download-video'] + '</a>';
     62                                        return '<a href="' + node.src + '">' + mejsL10n.strings['mejs.download-file'] + '</a>';
    6363                                }
    6464                        };
  • trunk/src/wp-includes/script-loader.php

    r47088 r47094  
    985985                                        'language' => strtolower( strtok( determine_locale(), '_-' ) ),
    986986                                        'strings'  => array(
     987                                                'mejs.download-file'       => __( 'Download File' ),
    987988                                                'mejs.install-flash'       => __( 'You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/' ),
    988                                                 'mejs.fullscreen-off'      => __( 'Turn off Fullscreen' ),
    989                                                 'mejs.fullscreen-on'       => __( 'Go Fullscreen' ),
    990                                                 'mejs.download-video'      => __( 'Download Video' ),
    991989                                                'mejs.fullscreen'          => __( 'Fullscreen' ),
    992                                                 'mejs.time-jump-forward'   => array( __( 'Jump forward 1 second' ), __( 'Jump forward %1 seconds' ) ),
    993                                                 'mejs.loop'                => __( 'Toggle Loop' ),
    994990                                                'mejs.play'                => __( 'Play' ),
    995991                                                'mejs.pause'               => __( 'Pause' ),
    996                                                 'mejs.close'               => __( 'Close' ),
    997992                                                'mejs.time-slider'         => __( 'Time Slider' ),
    998993                                                'mejs.time-help-text'      => __( 'Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.' ),
    999                                                 'mejs.time-skip-back'      => array( __( 'Skip back 1 second' ), __( 'Skip back %1 seconds' ) ),
    1000                                                 'mejs.captions-subtitles'  => __( 'Captions/Subtitles' ),
    1001                                                 'mejs.captions-chapters'   => __( 'Chapters' ),
    1002                                                 'mejs.none'                => __( 'None' ),
    1003                                                 'mejs.mute-toggle'         => __( 'Mute Toggle' ),
     994                                                'mejs.live-broadcast'      => __( 'Live Broadcast' ),
    1004995                                                'mejs.volume-help-text'    => __( 'Use Up/Down Arrow keys to increase or decrease volume.' ),
    1005996                                                'mejs.unmute'              => __( 'Unmute' ),
     
    1008999                                                'mejs.video-player'        => __( 'Video Player' ),
    10091000                                                'mejs.audio-player'        => __( 'Audio Player' ),
    1010                                                 'mejs.ad-skip'             => __( 'Skip ad' ),
    1011                                                 'mejs.ad-skip-info'        => array( __( 'Skip in 1 second' ), __( 'Skip in %1 seconds' ) ),
    1012                                                 'mejs.source-chooser'      => __( 'Source Chooser' ),
    1013                                                 'mejs.stop'                => __( 'Stop' ),
    1014                                                 'mejs.speed-rate'          => __( 'Speed Rate' ),
    1015                                                 'mejs.live-broadcast'      => __( 'Live Broadcast' ),
     1001                                                'mejs.captions-subtitles'  => __( 'Captions/Subtitles' ),
     1002                                                'mejs.captions-chapters'   => __( 'Chapters' ),
     1003                                                'mejs.none'                => __( 'None' ),
    10161004                                                'mejs.afrikaans'           => __( 'Afrikaans' ),
    10171005                                                'mejs.albanian'            => __( 'Albanian' ),
Note: See TracChangeset for help on using the changeset viewer.