aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-04-17 08:49:52 +0200
committerChocobozzz <me@florianbigard.com>2023-04-17 08:49:52 +0200
commitfee3d77d63bbd9e995c297821bae4d459dfbd525 (patch)
treef352f0235139dfe9213f770068fbf300b0fc1bd9 /scripts/i18n
parente7c89cc3f3e69776c6ad62e62a52f8d2f12a81c1 (diff)
downloadPeerTube-fee3d77d63bbd9e995c297821bae4d459dfbd525.tar.gz
PeerTube-fee3d77d63bbd9e995c297821bae4d459dfbd525.tar.zst
PeerTube-fee3d77d63bbd9e995c297821bae4d459dfbd525.zip
Add user role label to translatable strings
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-xscripts/i18n/create-custom-files.ts3
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 @@
1import { writeJSON } from 'fs-extra' 1import { writeJSON } from 'fs-extra'
2import { join } from 'path' 2import { join } from 'path'
3import { root } from '@shared/core-utils' 3import { root, USER_ROLE_LABELS } from '@shared/core-utils'
4import { 4import {
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.',