forked from DimensionDev/Maskbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move file service into a monorepo project (DimensionDev#5273)
* refactor: move file service * fix: type error * fix: build error * fix: everything * chore: move file * chore: move file * chore: move i18n strings
- Loading branch information
1 parent
ad85ee3
commit edcaafc
Showing
105 changed files
with
517 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// This file is auto generated. DO NOT EDIT | ||
// Run `npx gulp sync-languages` to regenerate. | ||
// Default fallback language in a family of languages are chosen by the alphabet order | ||
// To overwrite this, please overwrite packages/scripts/src/locale-kit-next/index.ts | ||
import en_US from './en-US.json' | ||
import ja_JP from './ja-JP.json' | ||
import ko_KR from './ko-KR.json' | ||
import qya_AA from './qya-AA.json' | ||
import zh_CN from './zh-CN.json' | ||
import zh_TW from './zh-TW.json' | ||
export const languages = { | ||
en: en_US, | ||
ja: ja_JP, | ||
ko: ko_KR, | ||
qy: qya_AA, | ||
'zh-CN': zh_CN, | ||
zh: zh_TW, | ||
} | ||
import { createI18NBundle } from '@masknet/shared-base' | ||
export const addDashboardI18N = createI18NBundle('dashboard', languages) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './locales' | ||
export * from './locales/languages' | ||
// DO NOT EXPORT THIS | ||
// export * from './locales_legacy' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// This file is auto generated. DO NOT EDIT | ||
// Run `npx gulp sync-languages` to regenerate. | ||
// Default fallback language in a family of languages are chosen by the alphabet order | ||
// To overwrite this, please overwrite packages/scripts/src/locale-kit-next/index.ts | ||
import en_US from './en-US.json' | ||
import ja_JP from './ja-JP.json' | ||
import ko_KR from './ko-KR.json' | ||
import qya_AA from './qya-AA.json' | ||
import zh_CN from './zh-CN.json' | ||
import zh_TW from './zh-TW.json' | ||
export const languages = { | ||
en: en_US, | ||
ja: ja_JP, | ||
ko: ko_KR, | ||
qy: qya_AA, | ||
'zh-CN': zh_CN, | ||
zh: zh_TW, | ||
} | ||
import { createI18NBundle } from '@masknet/shared-base' | ||
export const addMaskI18N = createI18NBundle('mask', languages) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.