aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-xscripts/i18n/create-custom-files.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts
index 9e0e4bba6..72136614c 100755
--- a/scripts/i18n/create-custom-files.ts
+++ b/scripts/i18n/create-custom-files.ts
@@ -2,8 +2,12 @@ import { writeJSON } from 'fs-extra'
2import { join } from 'path' 2import { join } from 'path'
3import { root, USER_ROLE_LABELS } from '@shared/core-utils' 3import { root, USER_ROLE_LABELS } from '@shared/core-utils'
4import { 4import {
5 ABUSE_STATES,
5 buildLanguages, 6 buildLanguages,
7 RUNNER_JOB_STATES,
8 USER_REGISTRATION_STATES,
6 VIDEO_CATEGORIES, 9 VIDEO_CATEGORIES,
10 VIDEO_CHANNEL_SYNC_STATE,
7 VIDEO_IMPORT_STATES, 11 VIDEO_IMPORT_STATES,
8 VIDEO_LICENCES, 12 VIDEO_LICENCES,
9 VIDEO_PLAYLIST_PRIVACIES, 13 VIDEO_PLAYLIST_PRIVACIES,
@@ -79,6 +83,10 @@ Object.values(VIDEO_CATEGORIES)
79 .concat(Object.values(VIDEO_PLAYLIST_PRIVACIES)) 83 .concat(Object.values(VIDEO_PLAYLIST_PRIVACIES))
80 .concat(Object.values(VIDEO_PLAYLIST_TYPES)) 84 .concat(Object.values(VIDEO_PLAYLIST_TYPES))
81 .concat(Object.values(USER_ROLE_LABELS)) 85 .concat(Object.values(USER_ROLE_LABELS))
86 .concat(Object.values(VIDEO_CHANNEL_SYNC_STATE))
87 .concat(Object.values(ABUSE_STATES))
88 .concat(Object.values(USER_REGISTRATION_STATES))
89 .concat(Object.values(RUNNER_JOB_STATES))
82 .concat([ 90 .concat([
83 'This video does not exist.', 91 'This video does not exist.',
84 'We cannot fetch the video. Please try again later.', 92 'We cannot fetch the video. Please try again later.',