enhance(frontend): 通知設定ページにサウンド設定ページへのリンクを追加 (#16072)

This commit is contained in:
かっこかり 2025-05-21 21:13:45 +09:00 committed by GitHub
parent ccf5bd337e
commit 8c8cea024a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

4
locales/index.d.ts vendored
View File

@ -2334,6 +2334,10 @@ export interface Locale extends ILocale {
* *
*/ */
"sound": string; "sound": string;
/**
*
*/
"notificationSoundSettings": string;
/** /**
* *
*/ */

View File

@ -579,6 +579,7 @@ newNoteRecived: "新しいノートがあります"
newNote: "新しいノート" newNote: "新しいノート"
sounds: "サウンド" sounds: "サウンド"
sound: "サウンド" sound: "サウンド"
notificationSoundSettings: "通知音の設定"
listen: "聴く" listen: "聴く"
none: "なし" none: "なし"
showInPage: "ページで表示" showInPage: "ページで表示"

View File

@ -38,11 +38,12 @@ SPDX-License-Identifier: AGPL-3.0-only
</FormSection> </FormSection>
<FormSection> <FormSection>
<div class="_gaps_m"> <div class="_gaps_m">
<FormLink @click="readAllNotifications">{{ i18n.ts.markAsReadAllNotifications }}</FormLink> <FormLink to="/settings/sounds">{{ i18n.ts.notificationSoundSettings }}</FormLink>
</div> </div>
</FormSection> </FormSection>
<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="testNotification">{{ i18n.ts._notification.sendTestNotification }}</FormLink>
<FormLink @click="flushNotification">{{ i18n.ts._notification.flushNotification }}</FormLink> <FormLink @click="flushNotification">{{ i18n.ts._notification.flushNotification }}</FormLink>
</div> </div>