From 41cd2eff0cb53b988a8af850b14a438b5bf6afbf Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Fri, 17 Jul 2026 10:11:52 +0900 Subject: [PATCH] fix: tweak settings --- locales/ja-JP.yml | 1 + .../frontend/src/pages/settings/index.vue | 5 --- .../frontend/src/pages/settings/profile.vue | 5 +++ .../frontend/src/pages/settings/roles.vue | 42 +++++++++---------- packages/i18n/src/autogen/locale.ts | 4 ++ 5 files changed, 30 insertions(+), 27 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 3352303f11..036b092967 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -3248,6 +3248,7 @@ _gridComponent: notUnique: "この値は一意である必要があります" _roleDisplay: + title: "ロールの表示/非表示" description: "自分に割り当てられているロールを確認したり、プロフィールやノート上で表示・公開するロールを選択したりできます。" roleExplorableAlert: "このロールは、管理者により、{link}への表示とロールタイムラインの有効化が設定されています。プロフィール上で非表示にすることはできますが、あなたにこのロールが付与されていることが知られる可能性があります。" displayToggle: "ロール/ロールバッジを表示する" diff --git a/packages/frontend/src/pages/settings/index.vue b/packages/frontend/src/pages/settings/index.vue index e92abe3095..abfac37275 100644 --- a/packages/frontend/src/pages/settings/index.vue +++ b/packages/frontend/src/pages/settings/index.vue @@ -93,11 +93,6 @@ const menuDef = computed(() => [{ text: i18n.ts.privacy, to: '/settings/privacy', active: currentPage.value?.route.name === 'privacy', - }, { - icon: 'ti ti-badges', - text: i18n.ts.roles, - to: '/settings/roles', - active: currentPage.value?.route.name === 'roles', }, { icon: 'ti ti-bell', text: i18n.ts.notifications, diff --git a/packages/frontend/src/pages/settings/profile.vue b/packages/frontend/src/pages/settings/profile.vue index 966a130955..7a7fbffded 100644 --- a/packages/frontend/src/pages/settings/profile.vue +++ b/packages/frontend/src/pages/settings/profile.vue @@ -151,6 +151,11 @@ SPDX-License-Identifier: AGPL-3.0-only
+ + + {{ i18n.ts._roleDisplay.title }} + + diff --git a/packages/frontend/src/pages/settings/roles.vue b/packages/frontend/src/pages/settings/roles.vue index 63a47f26fb..bdd0308b01 100644 --- a/packages/frontend/src/pages/settings/roles.vue +++ b/packages/frontend/src/pages/settings/roles.vue @@ -9,29 +9,27 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._roleDisplay.description }} - -
- -
- - - - - - -
+
+ +
+ + + + + +
- +
diff --git a/packages/i18n/src/autogen/locale.ts b/packages/i18n/src/autogen/locale.ts index 0e6ce6f202..f6509653e9 100644 --- a/packages/i18n/src/autogen/locale.ts +++ b/packages/i18n/src/autogen/locale.ts @@ -12188,6 +12188,10 @@ export interface Locale extends ILocale { }; }; "_roleDisplay": { + /** + * ロールの表示/非表示 + */ + "title": string; /** * 自分に割り当てられているロールを確認したり、プロフィールやノート上で表示・公開するロールを選択したりできます。 */