diff options
-rwxr-xr-x | scripts/i18n/create-custom-files.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts index 7d03346a0..9e0e4bba6 100755 --- a/scripts/i18n/create-custom-files.ts +++ b/scripts/i18n/create-custom-files.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { writeJSON } from 'fs-extra' | 1 | import { writeJSON } from 'fs-extra' |
2 | import { join } from 'path' | 2 | import { join } from 'path' |
3 | import { root } from '@shared/core-utils' | 3 | import { root, USER_ROLE_LABELS } from '@shared/core-utils' |
4 | import { | 4 | import { |
5 | buildLanguages, | 5 | buildLanguages, |
6 | VIDEO_CATEGORIES, | 6 | VIDEO_CATEGORIES, |
@@ -78,6 +78,7 @@ Object.values(VIDEO_CATEGORIES) | |||
78 | .concat(Object.values(VIDEO_IMPORT_STATES)) | 78 | .concat(Object.values(VIDEO_IMPORT_STATES)) |
79 | .concat(Object.values(VIDEO_PLAYLIST_PRIVACIES)) | 79 | .concat(Object.values(VIDEO_PLAYLIST_PRIVACIES)) |
80 | .concat(Object.values(VIDEO_PLAYLIST_TYPES)) | 80 | .concat(Object.values(VIDEO_PLAYLIST_TYPES)) |
81 | .concat(Object.values(USER_ROLE_LABELS)) | ||
81 | .concat([ | 82 | .concat([ |
82 | 'This video does not exist.', | 83 | 'This video does not exist.', |
83 | 'We cannot fetch the video. Please try again later.', | 84 | 'We cannot fetch the video. Please try again later.', |