diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-09 16:29:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-09 16:29:58 +0100 |
commit | c1961762b31567057e32eb7432a6995a4a81075c (patch) | |
tree | 6d2d6a43e172f9aad206a8e069aeb97beb6d4a06 /scripts | |
parent | 6f512b68b5bdf09665a7df301f2e50c2565f3598 (diff) | |
download | PeerTube-c1961762b31567057e32eb7432a6995a4a81075c.tar.gz PeerTube-c1961762b31567057e32eb7432a6995a4a81075c.tar.zst PeerTube-c1961762b31567057e32eb7432a6995a4a81075c.zip |
Fix player translations
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/i18n/create-custom-files.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts index a8e0c7a0e..f33903ecd 100755 --- a/scripts/i18n/create-custom-files.ts +++ b/scripts/i18n/create-custom-files.ts | |||
@@ -32,7 +32,9 @@ const playerKeys = { | |||
32 | 'Copy embed code': 'Copy embed code', | 32 | 'Copy embed code': 'Copy embed code', |
33 | 'Copy magnet URI': 'Copy magnet URI', | 33 | 'Copy magnet URI': 'Copy magnet URI', |
34 | 'Total downloaded: ': 'Total downloaded: ', | 34 | 'Total downloaded: ': 'Total downloaded: ', |
35 | 'Total uploaded: ': 'Total uploaded: ' | 35 | 'Total uploaded: ': 'Total uploaded: ', |
36 | 'Normal mode': 'Normal mode', | ||
37 | 'Theater mode': 'Theater mode' | ||
36 | } | 38 | } |
37 | Object.assign(playerKeys, videojs) | 39 | Object.assign(playerKeys, videojs) |
38 | 40 | ||
@@ -54,9 +56,7 @@ values(VIDEO_CATEGORIES) | |||
54 | 'We cannot fetch the playlist. Please try again later.', | 56 | 'We cannot fetch the playlist. Please try again later.', |
55 | 'Playlist: {1}', | 57 | 'Playlist: {1}', |
56 | 'By {1}', | 58 | 'By {1}', |
57 | 'Unavailable video', | 59 | 'Unavailable video' |
58 | 'Normal mode', | ||
59 | 'Theater mode' | ||
60 | ]) | 60 | ]) |
61 | .forEach(v => { serverKeys[v] = v }) | 61 | .forEach(v => { serverKeys[v] = v }) |
62 | 62 | ||