From a67027f605c0fe4cdd5478df58390ddc46e61b41 Mon Sep 17 00:00:00 2001 From: yukineko <27853966+hideki0403@users.noreply.github.com> Date: Sat, 6 Jan 2024 21:04:31 +0900 Subject: [PATCH] =?UTF-8?q?change:=20Captcha=E8=AA=AD=E3=81=BF=E8=BE=BC?= =?UTF-8?q?=E3=81=BF=E4=B8=AD=E3=81=AE=E6=96=87=E8=A8=80=E3=82=92Loading?= =?UTF-8?q?=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/index.d.ts | 1 - locales/ja-JP.yml | 1 - packages/frontend/src/components/MkCaptcha.vue | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index f7a1f72256..3937784153 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1187,7 +1187,6 @@ export interface Locale { "decorate": string; "addMfmFunction": string; "enableQuickAddMfmFunction": string; - "pleaseWait": string; "_announcement": { "forExistingUsers": string; "forExistingUsersDescription": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 1ee126351d..77f9a9ec0f 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1184,7 +1184,6 @@ seasonalScreenEffect: "季節に応じた画面の演出" decorate: "デコる" addMfmFunction: "装飾を追加" enableQuickAddMfmFunction: "高度なMFMのピッカーを表示する" -pleaseWait: "お待ちください" _announcement: forExistingUsers: "既存ユーザーのみ" diff --git a/packages/frontend/src/components/MkCaptcha.vue b/packages/frontend/src/components/MkCaptcha.vue index 293b78cabe..328215c791 100644 --- a/packages/frontend/src/components/MkCaptcha.vue +++ b/packages/frontend/src/components/MkCaptcha.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <div> - <span v-if="!available">{{ i18n.ts.pleaseWait }}<MkEllipsis/></span> + <span v-if="!available">Loading<MkEllipsis/></span> <div ref="captchaEl"></div> </div> </template> @@ -13,7 +13,6 @@ SPDX-License-Identifier: AGPL-3.0-only <script lang="ts" setup> import { ref, shallowRef, computed, onMounted, onBeforeUnmount, watch } from 'vue'; import { defaultStore } from '@/store.js'; -import { i18n } from '@/i18n.js'; // APIs provided by Captcha services export type Captcha = {