From 0375599e502d8e395654f4dff4e0043d1e84ba2f Mon Sep 17 00:00:00 2001 From: CyberRex <26585194+CyberRex0@users.noreply.github.com> Date: Sun, 14 Jul 2024 07:18:20 +0900 Subject: [PATCH] =?UTF-8?q?feat(frontend):=20=E3=83=81=E3=83=A5=E3=83=BC?= =?UTF-8?q?=E3=83=88=E3=83=AA=E3=82=A2=E3=83=AB=E3=81=ABBot=E3=81=AE?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=82=92=E8=BF=BD=E5=8A=A0=E3=80=81=E3=83=81?= =?UTF-8?q?=E3=83=A5=E3=83=BC=E3=83=88=E3=83=AA=E3=82=A2=E3=83=AB=E3=82=92?= =?UTF-8?q?=E3=82=B9=E3=82=AD=E3=83=83=E3=83=97=E4=B8=8D=E5=8F=AF=E3=81=AB?= =?UTF-8?q?=20(MisskeyIO#665)?= 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 + .../components/MkUserSetupDialog.Profile.vue | 48 +++++++++++++++++++ .../src/components/MkUserSetupDialog.vue | 7 +-- 4 files changed, 57 insertions(+), 3 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index d2ece3ec5..3da94d6fe 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -5347,6 +5347,10 @@ export interface Locale extends ILocale { * 初期設定をあとでやり直しますか? */ "laterAreYouSure": string; + /** + * Botアカウントは管理者を必ず記載する必要があります。以下から管理者のアカウントを選択してください。 + */ + "mustBeSetBotOwner": string; }; "_initialTutorial": { /** diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 2fe1e03ae..7a21876d5 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1339,6 +1339,7 @@ _initialAccountSetting: startTutorial: "チュートリアルを開始" skipAreYouSure: "初期設定をスキップしますか?" laterAreYouSure: "初期設定をあとでやり直しますか?" + mustBeSetBotOwner: "Botアカウントは管理者を必ず記載する必要があります。以下から管理者のアカウントを選択してください。" _initialTutorial: launchTutorial: "チュートリアルを見る" diff --git a/packages/frontend/src/components/MkUserSetupDialog.Profile.vue b/packages/frontend/src/components/MkUserSetupDialog.Profile.vue index 3194641cd..cb0ac2eb7 100644 --- a/packages/frontend/src/components/MkUserSetupDialog.Profile.vue +++ b/packages/frontend/src/components/MkUserSetupDialog.Profile.vue @@ -25,12 +25,29 @@ SPDX-License-Identifier: AGPL-3.0-only + + + + +
+
+ {{ i18n.ts._initialAccountSetting.mustBeSetBotOwner }} +
+
+ {{ i18n.ts.selectUser }} + +
+
+ {{ i18n.ts._initialAccountSetting.youCanEditMoreSettingsInSettingsPageLater }}