]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/i18n/create-custom-files.ts
Fix "Off" player string localization
[github/Chocobozzz/PeerTube.git] / scripts / i18n / create-custom-files.ts
index a8e0c7a0e432515efdce97834f300310aa96ebcd..b363a1bdcaf218ac467d90b17a98e06ff37e96ce 100755 (executable)
@@ -32,7 +32,27 @@ const playerKeys = {
   'Copy embed code': 'Copy embed code',
   'Copy magnet URI': 'Copy magnet URI',
   'Total downloaded: ': 'Total downloaded: ',
-  'Total uploaded: ': 'Total uploaded: '
+  'Total uploaded: ': 'Total uploaded: ',
+  'From servers: ': 'From servers: ',
+  'From peers: ': 'From peers: ',
+  'Normal mode': 'Normal mode',
+  'Stats for nerds': 'Stats for nerds',
+  'Theater mode': 'Theater mode',
+  'Video UUID': 'Video UUID',
+  'Viewport / Frames': 'Viewport / Frames',
+  'Resolution': 'Resolution',
+  'Volume': 'Volume',
+  'Codecs': 'Codecs',
+  'Color': 'Color',
+  'Connection Speed': 'Connection Speed',
+  'Network Activity': 'Network Activity',
+  'Total Transfered': 'Total Transfered',
+  'Download Breakdown': 'Download Breakdown',
+  'Buffer Progress': 'Buffer Progress',
+  'Buffer State': 'Buffer State',
+  'Live Latency': 'Live Latency',
+  '  off': '  off',
+  'Player mode': 'Player mode'
 }
 Object.assign(playerKeys, videojs)
 
@@ -54,9 +74,7 @@ values(VIDEO_CATEGORIES)
     'We cannot fetch the playlist. Please try again later.',
     'Playlist: {1}',
     'By {1}',
-    'Unavailable video',
-    'Normal mode',
-    'Theater mode'
+    'Unavailable video'
   ])
   .forEach(v => { serverKeys[v] = v })