From 73386db6a9e1b34bfe683985860ee026969c52f4 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Fri, 25 Oct 2024 00:49:06 +0900 Subject: [PATCH] =?UTF-8?q?enhance:=20miauth=E3=81=AE=E3=83=AA=E3=83=80?= =?UTF-8?q?=E3=82=A4=E3=83=AC=E3=82=AF=E3=83=88=E5=85=88=E3=82=92UI?= =?UTF-8?q?=E5=86=85=E3=81=A7=E3=82=82=E8=A1=A8=E7=A4=BA=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/index.d.ts | 4 +++ locales/ja-JP.yml | 1 + .../frontend/src/components/MkAuthConfirm.vue | 18 ++++++++++-- packages/frontend/src/pages/miauth.vue | 28 +++++++++++++++++-- 4 files changed, 46 insertions(+), 5 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index 1e5b142c58..80adf69232 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -8468,6 +8468,10 @@ export interface Locale extends ILocale { * アプリケーションにアクセス許可を与えるには、ログインが必要です。 */ "pleaseLogin": string; + /** + * アクセスを許可すると、自動で以下のURLに遷移します + */ + "byClickingYouWillBeRedirectedToThisUrl": string; }; "_antennaSources": { /** diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index adb8fcf4ff..d545425cbd 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2222,6 +2222,7 @@ _auth: denied: "アクセスを拒否しました" scopeUser: "以下のユーザーとして操作しています" pleaseLogin: "アプリケーションにアクセス許可を与えるには、ログインが必要です。" + byClickingYouWillBeRedirectedToThisUrl: "アクセスを許可すると、自動で以下のURLに遷移します" _antennaSources: all: "全てのノート" diff --git a/packages/frontend/src/components/MkAuthConfirm.vue b/packages/frontend/src/components/MkAuthConfirm.vue index 144c5d9d21..bff642671d 100644 --- a/packages/frontend/src/components/MkAuthConfirm.vue +++ b/packages/frontend/src/components/MkAuthConfirm.vue @@ -57,10 +57,13 @@ SPDX-License-Identifier: AGPL-3.0-only