diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-13 16:36:56 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-13 16:36:56 +0100 |
commit | 42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2 (patch) | |
tree | 3e0637588875e7e870f295ee3788711e51ae9e34 /scripts/i18n/create-custom-files.ts | |
parent | 4abfb1cd178013f1e622129a377d94a1aa23f2e8 (diff) | |
download | PeerTube-42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2.tar.gz PeerTube-42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2.tar.zst PeerTube-42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2.zip |
Update translations
Diffstat (limited to 'scripts/i18n/create-custom-files.ts')
-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 = { |