diff options
author | Chocobozzz <me@florianbigard.com> | 2023-04-21 15:04:12 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | e592df48c73aa9262b04d23b3319de49b6caf95d (patch) | |
tree | 042d220f184a41ac6e55641d69873a207d19ee67 /scripts/i18n | |
parent | 18c53ef9492fc7c304b77badce3a47df519db6e7 (diff) | |
download | PeerTube-e592df48c73aa9262b04d23b3319de49b6caf95d.tar.gz PeerTube-e592df48c73aa9262b04d23b3319de49b6caf95d.tar.zst PeerTube-e592df48c73aa9262b04d23b3319de49b6caf95d.zip |
Update i18n server strings
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-x | scripts/i18n/create-custom-files.ts | 8 |
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' | |||
2 | import { join } from 'path' | 2 | import { join } from 'path' |
3 | import { root, USER_ROLE_LABELS } from '@shared/core-utils' | 3 | import { root, USER_ROLE_LABELS } from '@shared/core-utils' |
4 | import { | 4 | import { |
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.', |