]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/i18n/create-custom-files.ts
Fix deprecated i18n option
[github/Chocobozzz/PeerTube.git] / scripts / i18n / create-custom-files.ts
index a8e0c7a0e432515efdce97834f300310aa96ebcd..d4d5b44f05a00030bb89e6a56a73e0f8c8e25c25 100755 (executable)
@@ -32,7 +32,11 @@ 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',
+  'Theater mode': 'Theater mode'
 }
 Object.assign(playerKeys, videojs)
 
@@ -54,9 +58,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 })