Skip to content

Commit

Permalink
refactor(projects): keep directory "locales/langs" same with version …
Browse files Browse the repository at this point in the history
…naive-ui
  • Loading branch information
honghuangdc committed Mar 11, 2024
1 parent bfaecce commit 5ecf384
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"i18n-ally.enabledFrameworks": ["vue"],
"i18n-ally.editor.preferEditor": true,
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": ["src/locales/lang"],
"i18n-ally.localesPaths": ["src/locales/langs"],
"prettier.enable": false,
"unocss.root": ["./"]
}
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/locales/locale.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import zhCN from './lang/zh-cn';
import enUS from './lang/en-us';
import zhCN from './langs/zh-cn';
import enUS from './langs/en-us';

const locales: Record<App.I18n.LangType, App.I18n.Schema> = {
'zh-CN': zhCN,
Expand Down

0 comments on commit 5ecf384

Please sign in to comment.