From 42fea41a48e68e9a3fd1d3b55547be5a67dd9cb2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 13 Dec 2021 16:36:56 +0100 Subject: Update translations --- scripts/i18n/create-custom-files.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/i18n') 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 @@ +import { registerTSPaths } from '../../server/helpers/register-ts-paths' +registerTSPaths() + import { writeJSON } from 'fs-extra' import { values } from 'lodash' import { join } from 'path' -import { registerTSPaths } from '../../server/helpers/register-ts-paths' import { buildLanguages, VIDEO_CATEGORIES, @@ -14,7 +16,6 @@ import { } from '../../server/initializers/constants' import { I18N_LOCALES } from '../../shared/core-utils/i18n' -registerTSPaths() const videojs = require(join(__dirname, '../../../client/src/locale/videojs.en-US.json')) const playerKeys = { -- cgit v1.2.3