From 9da23b5dc14979b1c4baf4122e0fe3620716e2ca Mon Sep 17 00:00:00 2001 From: Annie Huang Date: Mon, 20 Nov 2023 22:49:46 +0800 Subject: [PATCH 01/12] translation and little format fixture --- app/src/components/AuthForm.vue | 80 +++++++++++++++++++++----- app/src/components/CommandlistPart.vue | 10 +++- app/src/components/CompleteModal.vue | 3 +- app/src/components/ControlPalette.vue | 15 ++++- app/src/components/GameHeaderPart.vue | 1 + app/src/components/HintPart.vue | 5 +- app/src/components/QuestMap.vue | 16 ++++-- app/src/components/QuestPart.vue | 5 +- app/src/components/TerminalPart.vue | 5 +- app/src/views/ChooseUsernamePage.vue | 12 ++-- app/src/views/GamePage.vue | 10 ++-- app/src/views/LoginPage.vue | 12 ++-- app/src/views/QuestMapPage.vue | 7 ++- app/src/views/RegisterPage.vue | 28 +++++---- 14 files changed, 155 insertions(+), 54 deletions(-) diff --git a/app/src/components/AuthForm.vue b/app/src/components/AuthForm.vue index 99b72ec..2317b7b 100644 --- a/app/src/components/AuthForm.vue +++ b/app/src/components/AuthForm.vue @@ -108,7 +108,10 @@ const handleChange = () => { :icon="['fab', 'google']" class="text-text-secondary px-3 text-lg" /> - Continue with Google + + + 以Google繼續 + { :icon="['fab', 'github']" class="text-text-secondary px-3 text-lg" /> - Continue with GitHub + + + 以Github繼續 +

- or + + 或

- { required @input="handleChange()" autocomplete="username" + /> --> +
- { required @input="handleChange()" autocomplete="email" + /> --> +
- { v-model="password" required @input="handleChange()" + /> --> +

@@ -179,21 +217,35 @@ const handleChange = () => { class="inline-flex justify-center rounded-lg font-black py-2 bg-text-primary text-bg w-full" type="submit" > - Log In - Sign Up + + + 登入 + + + + 註冊 +

- Already have an account? + + + 已經有帳號了嗎? - Log in + + + 登入 + - Don't have an account? + + + 還沒有帳號嗎? - Sign up + + + 註冊 +

diff --git a/app/src/components/CommandlistPart.vue b/app/src/components/CommandlistPart.vue index 6cb8796..45660d0 100644 --- a/app/src/components/CommandlistPart.vue +++ b/app/src/components/CommandlistPart.vue @@ -2,8 +2,14 @@ diff --git a/app/src/components/CompleteModal.vue b/app/src/components/CompleteModal.vue index 404cfd8..52fab75 100644 --- a/app/src/components/CompleteModal.vue +++ b/app/src/components/CompleteModal.vue @@ -19,7 +19,8 @@ setTimeout(() => {