From fee3d77d63bbd9e995c297821bae4d459dfbd525 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 17 Apr 2023 08:49:52 +0200 Subject: Add user role label to translatable strings --- scripts/i18n/create-custom-files.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ import { writeJSON } from 'fs-extra' import { join } from 'path' -import { root } from '@shared/core-utils' +import { root, USER_ROLE_LABELS } from '@shared/core-utils' import { buildLanguages, VIDEO_CATEGORIES, @@ -78,6 +78,7 @@ Object.values(VIDEO_CATEGORIES) .concat(Object.values(VIDEO_IMPORT_STATES)) .concat(Object.values(VIDEO_PLAYLIST_PRIVACIES)) .concat(Object.values(VIDEO_PLAYLIST_TYPES)) + .concat(Object.values(USER_ROLE_LABELS)) .concat([ 'This video does not exist.', 'We cannot fetch the video. Please try again later.', -- cgit v1.2.3