diff --git a/README.md b/README.md index 7f1b557..f8f21df 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Mocking up web app with Vitesse(speed)
- ๐Ÿ˜ƒ [Use icons from any icon sets, with no compromise](./src/components) -- ๐ŸŒ [i18n ready](./locales) +- ๐ŸŒ [I18n ready](./locales) - ๐Ÿ—’ [Markdown Support](https://github.com/antfu/vite-plugin-md) @@ -63,7 +63,8 @@ Mocking up web app with Vitesse(speed)
- [vite-plugin-pwa](https://github.com/antfu/vite-plugin-pwa) - PWA - [vite-plugin-md](https://github.com/antfu/vite-plugin-md) - Markdown as components / components in Markdown - [markdown-it-prism](https://github.com/jGleitz/markdown-it-prism) - [Prism](https://prismjs.com/) for syntax highlighting -- [vue-i18n](https://github.com/intlify/vue-i18n-next) - internationalization +- [Vue I18n](https://github.com/intlify/vue-i18n-next) - Internationalization + - [vite-plugin-vue-i18n](https://github.com/intlify/vite-plugin-vue-i18n) - Vite plugin for Vue I18n - [VueUse](https://github.com/antfu/vueuse) - collection of useful composition APIs ### Coding Style diff --git a/locales/ja.json b/locales/ja.json new file mode 100644 index 0000000..8556da0 --- /dev/null +++ b/locales/ja.json @@ -0,0 +1,17 @@ +{ + "button": { + "about": "ใ“ใ‚Œใฏ๏ผŸ", + "back": "ๆˆปใ‚‹", + "go": "้€ฒใ‚€", + "home": "ใƒ›ใƒผใƒ ", + "toggle_dark": "ใƒ€ใƒผใ‚ฏใƒขใƒผใƒ‰ๅˆ‡ใ‚Šๆ›ฟใˆ", + "toggle_langs": "่จ€่ชžๅˆ‡ใ‚Šๆ›ฟใˆ" + }, + "intro": { + "desc": "ๅ›บๅŸทใ•ใ‚ŒใŸ Vite ใ‚นใ‚ฟใƒผใ‚ฟใƒผใƒ†ใƒณใƒ—ใƒฌใƒผใƒˆ", + "dynamic-route": "ๅ‹•็š„ใƒซใƒผใƒˆใฎใƒ‡ใƒข", + "hi": "ใ“ใ‚“ใซใกใฏใ€{name}๏ผ", + "whats-your-name": "ใ‚ใชใŸใฎๅๅ‰ใฏ๏ผŸ" + }, + "not-found": "่ฆ‹ใคใ‹ใ‚Šใพใ›ใ‚“ใงใ—ใŸ" +} diff --git a/package.json b/package.json index 22bcf5e..500d2ae 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "devDependencies": { "@antfu/eslint-config-vue": "^0.4.3", "@iconify/json": "^1.1.283", + "@intlify/vite-plugin-vue-i18n": "^1.0.0-beta.11", "@tailwindcss/typography": "^0.3.1", "@types/nprogress": "^0.2.0", "@typescript-eslint/eslint-plugin": "^4.12.0", diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 00eab57..56f44ef 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -25,13 +25,13 @@