Skip to content

Commit 5d37470

Browse files
committed
remove CONST import from script
1 parent 2fdc254 commit 5d37470

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/generateTranslations.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import ts from 'typescript';
1111
import decodeUnicode from '@libs/StringUtils/decodeUnicode';
1212
import dedent from '@libs/StringUtils/dedent';
1313
import hashStr from '@libs/StringUtils/hash';
14-
import CONST from '@src/CONST';
1514
import {isTranslationTargetLocale, LOCALES, TRANSLATION_TARGET_LOCALES} from '@src/CONST/LOCALES';
1615
import type {TranslationTargetLocale} from '@src/CONST/LOCALES';
1716
import CLI from './utils/CLI';
@@ -32,7 +31,7 @@ const GENERATED_FILE_PREFIX = dedent(`
3231
* This file was automatically generated. Please consider these alternatives before manually editing it:
3332
*
3433
* - Improve the prompts in prompts/translation, or
35-
* - Improve context annotations in src/languages/${CONST.LOCALES.EN}.ts
34+
* - Improve context annotations in src/languages/en.ts
3635
*/
3736
`);
3837

0 commit comments

Comments
 (0)