From 440bff8514d2cd9059644bca174524a63a6895ed Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Sat, 21 Mar 2026 01:00:04 +0800 Subject: [PATCH] feat(stage-ui): added language selector for onboarding screen --- packages/i18n/src/index.ts | 1 + packages/i18n/src/locales/en/settings.yaml | 4 +- .../dialogs/onboarding/step-welcome.vue | 38 ++++++++++++++++--- 3 files changed, 35 insertions(+), 8 deletions(-) diff --git a/packages/i18n/src/index.ts b/packages/i18n/src/index.ts index 1f3bb6b4a..24d4f74d1 100644 --- a/packages/i18n/src/index.ts +++ b/packages/i18n/src/index.ts @@ -3,6 +3,7 @@ export const all = { 'es': 'Español', 'fr': 'Français', 'ja': '日本語', + 'ko': '한국어', 'ru': 'Русский', 'vi': 'Tiếng Việt', 'zh-Hans': '简体中文', diff --git a/packages/i18n/src/locales/en/settings.yaml b/packages/i18n/src/locales/en/settings.yaml index d1f113a5f..edd7f1940 100644 --- a/packages/i18n/src/locales/en/settings.yaml +++ b/packages/i18n/src/locales/en/settings.yaml @@ -51,9 +51,7 @@ dialogs: stateNotGranted: Not granted language: title: Language - description: > - Change the language of the AIRI interface. This will not affect the language - of the character's responses. + description: UI language controls-island: icon-size: title: Controls Island Icon Size diff --git a/packages/stage-ui/src/components/scenarios/dialogs/onboarding/step-welcome.vue b/packages/stage-ui/src/components/scenarios/dialogs/onboarding/step-welcome.vue index 040567867..71d666176 100644 --- a/packages/stage-ui/src/components/scenarios/dialogs/onboarding/step-welcome.vue +++ b/packages/stage-ui/src/components/scenarios/dialogs/onboarding/step-welcome.vue @@ -1,28 +1,39 @@