aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/i18n/create-custom-files.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-13 16:36:56 +0100
committerChocobozzz <me@florianbigard.com>2021-12-13 16:36:56 +0100
commit42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2 (patch)
tree3e0637588875e7e870f295ee3788711e51ae9e34 /scripts/i18n/create-custom-files.ts
parent4abfb1cd178013f1e622129a377d94a1aa23f2e8 (diff)
downloadPeerTube-42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2.tar.gz
PeerTube-42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2.tar.zst
PeerTube-42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2.zip
Update translations
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 = {