Skip to content

Commit

Permalink
change: Captcha読み込み中の文言をLoadingに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
hideki0403 committed Jan 6, 2024
1 parent 0752ae4 commit a67027f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion locales/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,6 @@ export interface Locale {
"decorate": string;
"addMfmFunction": string;
"enableQuickAddMfmFunction": string;
"pleaseWait": string;
"_announcement": {
"forExistingUsers": string;
"forExistingUsersDescription": string;
Expand Down
1 change: 0 additions & 1 deletion locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,6 @@ seasonalScreenEffect: "季節に応じた画面の演出"
decorate: "デコる"
addMfmFunction: "装飾を追加"
enableQuickAddMfmFunction: "高度なMFMのピッカーを表示する"
pleaseWait: "お待ちください"

_announcement:
forExistingUsers: "既存ユーザーのみ"
Expand Down
3 changes: 1 addition & 2 deletions packages/frontend/src/components/MkCaptcha.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ 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>

<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 = {
Expand Down

0 comments on commit a67027f

Please sign in to comment.