diff options
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-x | scripts/i18n/create-custom-files.ts | 5 |
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 @@ | |||
1 | import { registerTSPaths } from '../../server/helpers/register-ts-paths' | ||
2 | registerTSPaths() | ||
3 | |||
1 | import { writeJSON } from 'fs-extra' | 4 | import { writeJSON } from 'fs-extra' |
2 | import { values } from 'lodash' | 5 | import { values } from 'lodash' |
3 | import { join } from 'path' | 6 | import { join } from 'path' |
4 | import { registerTSPaths } from '../../server/helpers/register-ts-paths' | ||
5 | import { | 7 | import { |
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' |
15 | import { I18N_LOCALES } from '../../shared/core-utils/i18n' | 17 | import { I18N_LOCALES } from '../../shared/core-utils/i18n' |
16 | 18 | ||
17 | registerTSPaths() | ||
18 | 19 | ||
19 | const videojs = require(join(__dirname, '../../../client/src/locale/videojs.en-US.json')) | 20 | const videojs = require(join(__dirname, '../../../client/src/locale/videojs.en-US.json')) |
20 | const playerKeys = { | 21 | const playerKeys = { |