mirror of https://github.com/Chocobozzz/PeerTube
Add user role label to translatable strings
parent
e7c89cc3f3
commit
fee3d77d63
|
@ -1,6 +1,6 @@
|
||||||
import { writeJSON } from 'fs-extra'
|
import { writeJSON } from 'fs-extra'
|
||||||
import { join } from 'path'
|
import { join } from 'path'
|
||||||
import { root } from '@shared/core-utils'
|
import { root, USER_ROLE_LABELS } from '@shared/core-utils'
|
||||||
import {
|
import {
|
||||||
buildLanguages,
|
buildLanguages,
|
||||||
VIDEO_CATEGORIES,
|
VIDEO_CATEGORIES,
|
||||||
|
@ -78,6 +78,7 @@ Object.values(VIDEO_CATEGORIES)
|
||||||
.concat(Object.values(VIDEO_IMPORT_STATES))
|
.concat(Object.values(VIDEO_IMPORT_STATES))
|
||||||
.concat(Object.values(VIDEO_PLAYLIST_PRIVACIES))
|
.concat(Object.values(VIDEO_PLAYLIST_PRIVACIES))
|
||||||
.concat(Object.values(VIDEO_PLAYLIST_TYPES))
|
.concat(Object.values(VIDEO_PLAYLIST_TYPES))
|
||||||
|
.concat(Object.values(USER_ROLE_LABELS))
|
||||||
.concat([
|
.concat([
|
||||||
'This video does not exist.',
|
'This video does not exist.',
|
||||||
'We cannot fetch the video. Please try again later.',
|
'We cannot fetch the video. Please try again later.',
|
||||||
|
|
Loading…
Reference in New Issue