From 635fde3668aa2b8bfe3069c9425cf37c594706c7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 12 Sep 2023 15:48:02 +0900 Subject: [PATCH] tweak --- locales/index.d.ts | 1 - locales/ja-JP.yml | 5 +- .../frontend/src/pages/settings/general.vue | 32 +++++++++++- .../src/pages/settings/notifications.vue | 7 ++- .../frontend/src/scripts/test-notification.ts | 51 ------------------- 5 files changed, 37 insertions(+), 59 deletions(-) delete mode 100644 packages/frontend/src/scripts/test-notification.ts diff --git a/locales/index.d.ts b/locales/index.d.ts index 6397719d6c..746c51c991 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1470,7 +1470,6 @@ export interface Locale { "_smashTestNotificationButton": { "title": string; "description": string; - "flavor": string; }; }; }; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 2f6c6ba13d..3cde23ca91 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1392,9 +1392,8 @@ _achievements: description: "Brain Diverへのリンクを投稿した" flavor: "Misskey-Misskey La-Tu-Ma" _smashTestNotificationButton: - title: "セルフ通知破壊" - description: "通知テストを連打した" - flavor: "ほどほどにしておきましょう" + title: "テスト過剰" + description: "通知のテストをごく短時間のうちに連続して行った" _role: new: "ロールの作成" diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index 31d5dd93ec..b486e6d80f 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -96,7 +96,7 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts._notification.checkNotificationBehavior }} + {{ i18n.ts._notification.checkNotificationBehavior }} @@ -176,6 +176,7 @@ SPDX-License-Identifier: AGPL-3.0-only