Add user role label to translatable strings

This commit is contained in:
Chocobozzz 2023-04-17 08:49:52 +02:00
parent e7c89cc3f3
commit fee3d77d63
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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.',