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,
' (muted)': ' (muted)',
'{1} from servers · {2} from peers': '{1} from servers · {2} from peers',
'Previous video': 'Previous video',
+ 'Video page (new window)': 'Video page (new window)',
'Next video': 'Next video'
}
Object.assign(playerKeys, videojs)
.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.',