summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkUserSetupDialog.Profile.vue
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2024-10-13 20:21:25 +0900
committerGitHub <noreply@github.com>2024-10-13 20:21:25 +0900
commit45d42b8641585cbe582e4c2a95e03ef511df00be (patch)
treec9c68a5aa21852022da175f558372bec065ad3e2 /packages/frontend/src/components/MkUserSetupDialog.Profile.vue
parent:art: (diff)
downloadsharkey-45d42b8641585cbe582e4c2a95e03ef511df00be.tar.gz
sharkey-45d42b8641585cbe582e4c2a95e03ef511df00be.tar.bz2
sharkey-45d42b8641585cbe582e4c2a95e03ef511df00be.zip
feat: ユーザーの名前に禁止ワードを設定できるように (#14756)
* wip * :art: * Enhance: モデレーター以上は制限の影響を受けないように * refactor * better error handling * fix * Revert "better error handling" This reverts commit 5670b29cfa18a3894d0c2abfe0e5ef862e3b9ffa. * error handling * エラーが出ないのを修正 * translation * Update Changelog * status code * :v: * モデレーター以上は影響ないことを明記 * :art: * update changelog * spdx * Update update.ts * refactor * eliminate `screen name` * remove untracked file --------- Co-authored-by: KanariKanaru <93921745+kanarikanaru@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/components/MkUserSetupDialog.Profile.vue')
-rw-r--r--packages/frontend/src/components/MkUserSetupDialog.Profile.vue5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkUserSetupDialog.Profile.vue b/packages/frontend/src/components/MkUserSetupDialog.Profile.vue
index 3194641cdb..7cb48f6afb 100644
--- a/packages/frontend/src/components/MkUserSetupDialog.Profile.vue
+++ b/packages/frontend/src/components/MkUserSetupDialog.Profile.vue
@@ -51,6 +51,11 @@ watch(name, () => {
// 空文字列をnullにしたいので??は使うな
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
name: name.value || null,
+ }, undefined, {
+ '0b3f9f6a-2f4d-4b1f-9fb4-49d3a2fd7191': {
+ title: i18n.ts.yourNameContainsProhibitedWords,
+ text: i18n.ts.yourNameContainsProhibitedWordsDescription,
+ },
});
});