aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n/create-custom-files.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-09 16:29:58 +0100
committerChocobozzz <me@florianbigard.com>2020-11-09 16:29:58 +0100
commitc1961762b31567057e32eb7432a6995a4a81075c (patch)
tree6d2d6a43e172f9aad206a8e069aeb97beb6d4a06 /scripts/i18n/create-custom-files.ts
parent6f512b68b5bdf09665a7df301f2e50c2565f3598 (diff)
downloadPeerTube-c1961762b31567057e32eb7432a6995a4a81075c.tar.gz
PeerTube-c1961762b31567057e32eb7432a6995a4a81075c.tar.zst
PeerTube-c1961762b31567057e32eb7432a6995a4a81075c.zip
Fix player translations
Diffstat (limited to 'scripts/i18n/create-custom-files.ts')
-rwxr-xr-xscripts/i18n/create-custom-files.ts8
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}
37Object.assign(playerKeys, videojs) 39Object.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