From 521db37ca7356a19f923d9ef7d567df46264a34a Mon Sep 17 00:00:00 2001 From: mappi <mappi@mizuiromoon.com> Date: Fri, 24 Nov 2023 08:36:55 +0900 Subject: [PATCH] feat 12325 (#12425) --- locales/index.d.ts | 2 ++ locales/ja-JP.yml | 2 ++ packages/frontend/src/pages/admin/roles.vue | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index 3ed2706298..654b64891c 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1642,7 +1642,9 @@ export interface Locale { "assignTarget": string; "descriptionOfAssignTarget": string; "manual": string; + "manualRoles": string; "conditional": string; + "conditionalRoles": string; "condition": string; "isConditionalRole": string; "isPublic": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 9b5dfce63d..26deccd365 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1552,7 +1552,9 @@ _role: assignTarget: "アサイン" descriptionOfAssignTarget: "<b>マニュアル</b>ã¯èª°ãŒã“ã®ãƒãƒ¼ãƒ«ã«å«ã¾ã‚Œã‚‹ã‹ã‚’手動ã§ç®¡ç†ã—ã¾ã™ã€‚\n<b>コンディショナル</b>ã¯æ¡ä»¶ã‚’è¨å®šã—ã€ãã‚Œã«åˆè‡´ã™ã‚‹ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒè‡ªå‹•ã§å«ã¾ã‚Œã‚‹ã‚ˆã†ã«ãªã‚Šã¾ã™ã€‚" manual: "マニュアル" + manualRoles: "マニュアルãƒãƒ¼ãƒ«" conditional: "コンディショナル" + conditionalRoles: "コンディショナルãƒãƒ¼ãƒ«" condition: "æ¡ä»¶" isConditionalRole: "ã“ã‚Œã¯ã‚³ãƒ³ãƒ‡ã‚£ã‚·ãƒ§ãƒŠãƒ«ãƒãƒ¼ãƒ«ã§ã™ã€‚" isPublic: "公開ãƒãƒ¼ãƒ«" diff --git a/packages/frontend/src/pages/admin/roles.vue b/packages/frontend/src/pages/admin/roles.vue index d3f3773564..91cd86485f 100644 --- a/packages/frontend/src/pages/admin/roles.vue +++ b/packages/frontend/src/pages/admin/roles.vue @@ -198,13 +198,13 @@ SPDX-License-Identifier: AGPL-3.0-only <MkButton primary rounded @click="create"><i class="ti ti-plus"></i> {{ i18n.ts._role.new }}</MkButton> <div class="_gaps_s"> <MkFoldableSection> - <template #header>Manual roles</template> + <template #header>{{ i18n.ts._role.manualRoles }}</template> <div class="_gaps_s"> <MkRolePreview v-for="role in roles.filter(x => x.target === 'manual')" :key="role.id" :role="role" :forModeration="true"/> </div> </MkFoldableSection> <MkFoldableSection> - <template #header>Conditional roles</template> + <template #header>{{ i18n.ts._role.conditionalRoles }}</template> <div class="_gaps_s"> <MkRolePreview v-for="role in roles.filter(x => x.target === 'conditional')" :key="role.id" :role="role" :forModeration="true"/> </div> -- GitLab