aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n/create-custom-files.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/i18n/create-custom-files.ts')
-rwxr-xr-xscripts/i18n/create-custom-files.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts
index b363a1bdc..021127b2a 100755
--- a/scripts/i18n/create-custom-files.ts
+++ b/scripts/i18n/create-custom-files.ts
@@ -1,7 +1,9 @@
1import { registerTSPaths } from '../../server/helpers/register-ts-paths'
2registerTSPaths()
3
1import { writeJSON } from 'fs-extra' 4import { writeJSON } from 'fs-extra'
2import { values } from 'lodash' 5import { values } from 'lodash'
3import { join } from 'path' 6import { join } from 'path'
4import { registerTSPaths } from '../../server/helpers/register-ts-paths'
5import { 7import {
6 buildLanguages, 8 buildLanguages,
7 VIDEO_CATEGORIES, 9 VIDEO_CATEGORIES,
@@ -14,7 +16,6 @@ import {
14} from '../../server/initializers/constants' 16} from '../../server/initializers/constants'
15import { I18N_LOCALES } from '../../shared/core-utils/i18n' 17import { I18N_LOCALES } from '../../shared/core-utils/i18n'
16 18
17registerTSPaths()
18 19
19const videojs = require(join(__dirname, '../../../client/src/locale/videojs.en-US.json')) 20const videojs = require(join(__dirname, '../../../client/src/locale/videojs.en-US.json'))
20const playerKeys = { 21const playerKeys = {