diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-05-21 21:13:45 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-21 21:13:45 +0900 |
| commit | 8c8cea024a3c2d9d234cf9011ae45a4d89aa1d77 (patch) | |
| tree | a7dc91176767a37a26ff7ee29ea420b49d5b4b6e | |
| parent | enhance(frontend): ファイルのアップロードを中止できるよう... (diff) | |
| download | misskey-8c8cea024a3c2d9d234cf9011ae45a4d89aa1d77.tar.gz misskey-8c8cea024a3c2d9d234cf9011ae45a4d89aa1d77.tar.bz2 misskey-8c8cea024a3c2d9d234cf9011ae45a4d89aa1d77.zip | |
enhance(frontend): 通知設定ページにサウンド設定ページへのリンクを追加 (#16072)
| -rw-r--r-- | locales/index.d.ts | 4 | ||||
| -rw-r--r-- | locales/ja-JP.yml | 1 | ||||
| -rw-r--r-- | packages/frontend/src/pages/settings/notifications.vue | 5 |
3 files changed, 8 insertions, 2 deletions
diff --git a/locales/index.d.ts b/locales/index.d.ts index 58e531aac4..0a0e28e02e 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -2335,6 +2335,10 @@ export interface Locale extends ILocale { */ "sound": string; /** + * 通知音の設定 + */ + "notificationSoundSettings": string; + /** * 聴く */ "listen": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index d07fad16d6..b9e778741c 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -579,6 +579,7 @@ newNoteRecived: "新しいノートがあります" newNote: "新しいノート" sounds: "サウンド" sound: "サウンド" +notificationSoundSettings: "通知音の設定" listen: "聴く" none: "なし" showInPage: "ページで表示" diff --git a/packages/frontend/src/pages/settings/notifications.vue b/packages/frontend/src/pages/settings/notifications.vue index e42e6613ac..4e8d88ab74 100644 --- a/packages/frontend/src/pages/settings/notifications.vue +++ b/packages/frontend/src/pages/settings/notifications.vue @@ -38,11 +38,12 @@ SPDX-License-Identifier: AGPL-3.0-only </FormSection> <FormSection> <div class="_gaps_m"> - <FormLink @click="readAllNotifications">{{ i18n.ts.markAsReadAllNotifications }}</FormLink> + <FormLink to="/settings/sounds">{{ i18n.ts.notificationSoundSettings }}</FormLink> </div> </FormSection> <FormSection> - <div class="_gaps_m"> + <div class="_gaps_s"> + <FormLink @click="readAllNotifications">{{ i18n.ts.markAsReadAllNotifications }}</FormLink> <FormLink @click="testNotification">{{ i18n.ts._notification.sendTestNotification }}</FormLink> <FormLink @click="flushNotification">{{ i18n.ts._notification.flushNotification }}</FormLink> </div> |