There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(i18n): base json path
lawvse7ca1a7a2579
diff --git a/libs/datasource/i18n/src/scripts/sync.ts b/libs/datasource/i18n/src/scripts/sync.tsindex 10450eb3f6..c2ba692dc5 100644--- a/libs/datasource/i18n/src/scripts/sync.ts+++ b/libs/datasource/i18n/src/scripts/sync.ts@@ -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;