From 21e012015a27cd3269c9b091f00719e354bd1ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A7=E9=A9=8A?= Date: Thu, 25 Sep 2025 10:56:23 +0800 Subject: [PATCH] feat: add i18n --- components/Desktop.vue | 2 +- components/StartMenu.vue | 2 +- components/Taskbar.vue | 64 ++++++++++++++++++++++------------------ components/Window.vue | 6 ++-- cursor.md | 64 ++++++++++++++++++++++++++++++++++++++++ i18n.config.ts | 11 ------- i18n/lang/en.json | 23 +++++++++++++++ i18n/lang/zh-TW.json | 23 +++++++++++++++ lang/en.json | 12 ++++++-- lang/zh-TW.json | 12 ++++++-- nuxt.config.ts | 10 +++++-- 11 files changed, 175 insertions(+), 54 deletions(-) create mode 100644 cursor.md delete mode 100644 i18n.config.ts create mode 100644 i18n/lang/en.json create mode 100644 i18n/lang/zh-TW.json diff --git a/components/Desktop.vue b/components/Desktop.vue index f71f82b..d25f07e 100644 --- a/components/Desktop.vue +++ b/components/Desktop.vue @@ -93,7 +93,7 @@ function handleDesktopClick() {
diff --git a/components/StartMenu.vue b/components/StartMenu.vue index e50ff82..2fea304 100644 --- a/components/StartMenu.vue +++ b/components/StartMenu.vue @@ -1,5 +1,5 @@