forked from labring/sealos
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: enhance i18n type annotations for better developer experien…
…ce (labring#4878) * refactor: enhance i18n type annotations for better developer experience * desktop done * fix build * delete script * fix launchpad ci * delete file * update * delete appname as I18nCommonKey * update
- Loading branch information
Showing
77 changed files
with
1,023 additions
and
890 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"i18n-ally.localesPaths": [ | ||
"providers/**/public/locales", | ||
"desktop/public/locales" | ||
], | ||
"i18n-ally.enabledParsers": [ | ||
"json", | ||
"yaml", | ||
"js", | ||
"ts" | ||
], | ||
"i18n-ally.keystyle": "nested", | ||
"i18n-ally.sortKeys": true, | ||
"i18n-ally.keepFulfilled": false, | ||
"i18n-ally.sourceLanguage": "zh", | ||
"i18n-ally.displayLanguage": "zh", | ||
"i18n-ally.namespace": true, | ||
"i18n-ally.pathMatcher": "{locale}/{namespaces}.json", | ||
"i18n-ally.extract.targetPickingStrategy": "most-similar-by-key" | ||
} |
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,19 @@ | ||
{ | ||
"i18n-ally.localesPaths": [ | ||
"public/locales" | ||
], | ||
"i18n-ally.enabledParsers": [ | ||
"json", | ||
"yaml", | ||
"js", | ||
"ts" | ||
], | ||
"i18n-ally.keystyle": "nested", | ||
"i18n-ally.sortKeys": true, | ||
"i18n-ally.keepFulfilled": false, | ||
"i18n-ally.sourceLanguage": "zh", | ||
"i18n-ally.displayLanguage": "zh", | ||
"i18n-ally.namespace": true, | ||
"i18n-ally.pathMatcher": "{locale}/{namespaces}.json", | ||
"i18n-ally.extract.targetPickingStrategy": "most-similar-by-key" | ||
} |
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,11 +1,11 @@ | ||
{ | ||
"Volcano Engine": "Volcano Engine", | ||
"Alibaba Cloud": "Alibaba Cloud", | ||
"Tencent Cloud": "Tencent Cloud", | ||
"Google Cloud": "Google Cloud", | ||
"Provider": "Provider", | ||
"Beijing": "Beijing", | ||
"Singapore": "Singapore", | ||
"Guangzhou": "Guangzhou", | ||
"Hangzhou": "Hangzhou" | ||
} | ||
"volcano_engine": "Volcano Engine", | ||
"alibaba_cloud": "Alibaba Cloud", | ||
"tencent_cloud": "Tencent Cloud", | ||
"google_cloud": "Google Cloud", | ||
"provider": "Provider", | ||
"beijing": "Beijing", | ||
"singapore": "Singapore", | ||
"guangzhou": "Guangzhou", | ||
"hangzhou": "Hangzhou" | ||
} |
Oops, something went wrong.