aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-01-14 17:45:02 +0100
committerChocobozzz <me@florianbigard.com>2019-01-14 17:45:02 +0100
commitad3fa0c56715f98886b1b6400fc54ce7d568d899 (patch)
treee89a2cafca17a71826fc0e5acd579ae4a8002a26 /scripts
parent1506307f2f903ce0f80155072a33345c702b7c76 (diff)
downloadPeerTube-ad3fa0c56715f98886b1b6400fc54ce7d568d899.tar.gz
PeerTube-ad3fa0c56715f98886b1b6400fc54ce7d568d899.tar.zst
PeerTube-ad3fa0c56715f98886b1b6400fc54ce7d568d899.zip
Add missing translations in embed template
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/i18n/create-custom-files.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts
index eed3182a6..ab28f94c8 100755
--- a/scripts/i18n/create-custom-files.ts
+++ b/scripts/i18n/create-custom-files.ts
@@ -42,6 +42,12 @@ values(VIDEO_CATEGORIES)
42 .concat(values(VIDEO_PRIVACIES)) 42 .concat(values(VIDEO_PRIVACIES))
43 .concat(values(VIDEO_STATES)) 43 .concat(values(VIDEO_STATES))
44 .concat(values(VIDEO_IMPORT_STATES)) 44 .concat(values(VIDEO_IMPORT_STATES))
45 .concat([
46 'This video does not exist.',
47 'We cannot fetch the video. Please try again later.',
48 'Sorry',
49 'This video is not available because the remote instance is not responding.'
50 ])
45 .forEach(v => serverKeys[v] = v) 51 .forEach(v => serverKeys[v] = v)
46 52
47// More keys 53// More keys
@@ -103,4 +109,4 @@ function saveToXliffFile (jsonTranslations: TranslationType, cb: Function) {
103function handleError (err: any) { 109function handleError (err: any) {
104 console.error(err) 110 console.error(err)
105 process.exit(-1) 111 process.exit(-1)
106} \ No newline at end of file 112}