Skip to content

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.

chore: update dir

lawvs5551c3c7379b
diff --git a/libs/datasource/i18n/src/index.ts b/libs/datasource/i18n/src/index.ts
index 77dc273f02..187ed40aae 100644
--- a/libs/datasource/i18n/src/index.ts
+++ b/libs/datasource/i18n/src/index.ts
@@ -4,8 +4,8 @@ import {
initReactI18next,
useTranslation,
} from 'react-i18next';
-import en_US from '../resources/en.json';
-import zh_CN from '../resources/zh.json';
+import en_US from './resources/en.json';
+import zh_CN from './resources/zh.json';
// See https://react.i18next.com/latest/typescript
declare module 'react-i18next' {
diff --git a/libs/datasource/i18n/resources/en.json b/libs/datasource/i18n/src/resources/en.json
similarity index 100%
rename from libs/datasource/i18n/resources/en.json
rename to libs/datasource/i18n/src/resources/en.json
diff --git a/libs/datasource/i18n/resources/zh.json b/libs/datasource/i18n/src/resources/zh.json
similarity index 100%
rename from libs/datasource/i18n/resources/zh.json
rename to libs/datasource/i18n/src/resources/zh.json