aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n/create-custom-files.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/i18n/create-custom-files.ts')
-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}