diff options
Diffstat (limited to 'scripts/i18n')
-rwxr-xr-x | scripts/i18n/create-custom-files.ts | 3 | ||||
-rwxr-xr-x | scripts/i18n/xliff2json.ts | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts index 95897afa3..e946b8fd6 100755 --- a/scripts/i18n/create-custom-files.ts +++ b/scripts/i18n/create-custom-files.ts | |||
@@ -1,3 +1,6 @@ | |||
1 | import { registerTSPaths } from '../../server/helpers/register-ts-paths' | ||
2 | registerTSPaths() | ||
3 | |||
1 | import * as jsToXliff12 from 'xliff/jsToXliff12' | 4 | import * as jsToXliff12 from 'xliff/jsToXliff12' |
2 | import { writeFile } from 'fs-extra' | 5 | import { writeFile } from 'fs-extra' |
3 | import { join } from 'path' | 6 | import { join } from 'path' |
diff --git a/scripts/i18n/xliff2json.ts b/scripts/i18n/xliff2json.ts index 7e6de2893..68fc95f34 100755 --- a/scripts/i18n/xliff2json.ts +++ b/scripts/i18n/xliff2json.ts | |||
@@ -1,3 +1,6 @@ | |||
1 | import { registerTSPaths } from '../../server/helpers/register-ts-paths' | ||
2 | registerTSPaths() | ||
3 | |||
1 | import * as xliff12ToJs from 'xliff/xliff12ToJs' | 4 | import * as xliff12ToJs from 'xliff/xliff12ToJs' |
2 | import { readFileSync, unlink, writeFile } from 'fs-extra' | 5 | import { readFileSync, unlink, writeFile } from 'fs-extra' |
3 | import { join } from 'path' | 6 | import { join } from 'path' |