diff options
| -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> |