chore: update messages
This commit is contained in:
parent
a975fd7c21
commit
9498d1626e
@ -1,7 +1,7 @@
|
|||||||
## i18n
|
## i18n
|
||||||
|
|
||||||
This directory is to serve your locale translation files. Modify them to the locales you want, you might need to update `src/messages.ts` as well.
|
This directory is to serve your locale translation files. JSON under this folder would be loaded automatically and register with their filenames as locale code.
|
||||||
|
|
||||||
For more details, check out [`vue-i18n`](https://github.com/intlify/vue-i18n-next).
|
Check out [`vue-i18n`](https://github.com/intlify/vue-i18n-next) for more details.
|
||||||
|
|
||||||
If you are using VS Code, [`i18n Ally`](https://github.com/antfu/i18n-ally) is recommended to make the better i18n experience.
|
If you are using VS Code, [`i18n Ally`](https://github.com/lokalise/i18n-ally) is recommended to make the i18n experience better.
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
{
|
{
|
||||||
"button": {
|
"button": {
|
||||||
|
"about": "关于",
|
||||||
"back": "返回",
|
"back": "返回",
|
||||||
"go": "确定"
|
"go": "确定",
|
||||||
|
"home": "首页",
|
||||||
|
"toggle_dark": "切换深色模式",
|
||||||
|
"toggle_langs": "切换语言"
|
||||||
},
|
},
|
||||||
"intro": {
|
"intro": {
|
||||||
"desc": "固执己见的 Vite 项目模板",
|
"desc": "固执己见的 Vite 项目模板",
|
||||||
|
Loading…
Reference in New Issue
Block a user