fix(i18n): base json path

This commit is contained in:
lawvs
2022-09-10 02:32:28 +08:00
parent b54f2d0451
commit e7ca1a7a25
+6 -1
View File
@@ -5,7 +5,12 @@ import path from 'path';
import { addTagByKey, createsNewKey, getRemoteTranslations } from './api';
import type { TranslationRes } from './utils';
const BASE_JSON_PATH = path.resolve(process.cwd(), 'src', 'base.json');
const BASE_JSON_PATH = path.resolve(
process.cwd(),
'src',
'resources',
'en.json'
);
const BASE_LANGUAGES = 'en' as const;
const DEPRECATED_TAG_NAME = 'unused' as const;