fix(desktop): restore notification sounds (#2582)
Restore desktop notification sounds by default, add a persisted Play sound setting, and group notification permission and testing in a dedicated Notifications section.
This commit is contained in:
@@ -1683,6 +1683,7 @@ export const zhCN: TranslationResources = {
|
||||
editor: "编辑器",
|
||||
shortcuts: "快捷键",
|
||||
integrations: "集成",
|
||||
notifications: "通知",
|
||||
permissions: "权限",
|
||||
diagnostics: "诊断",
|
||||
about: "关于",
|
||||
@@ -1692,6 +1693,21 @@ export const zhCN: TranslationResources = {
|
||||
vimKeybindings: "Vim 键位",
|
||||
vimHint: "适用于网页和桌面端的源文件。",
|
||||
},
|
||||
notifications: {
|
||||
title: "通知",
|
||||
permission: "通知权限",
|
||||
refreshAccessibility: "刷新通知权限",
|
||||
playSound: "播放声音",
|
||||
playSoundHint: "收到桌面通知时播放声音",
|
||||
test: "测试通知",
|
||||
testHint: "使用当前设置发送测试通知",
|
||||
permissionRequired: "测试前请允许访问通知",
|
||||
send: "发送",
|
||||
sending: "正在发送...",
|
||||
sentTitle: "测试通知已发送",
|
||||
sentDescription: "Paseo 已将通知交给操作系统。",
|
||||
sendFailedTitle: "无法发送测试通知",
|
||||
},
|
||||
hostSections: {
|
||||
projects: "项目",
|
||||
connections: "连接",
|
||||
@@ -1984,17 +2000,14 @@ export const zhCN: TranslationResources = {
|
||||
},
|
||||
permissions: {
|
||||
title: "权限",
|
||||
notifications: "通知",
|
||||
microphone: "麦克风",
|
||||
refresh: "刷新",
|
||||
refreshing: "正在刷新...",
|
||||
refreshAccessibility: "刷新桌面端权限",
|
||||
test: "测试",
|
||||
actions: {
|
||||
granted: "已授权",
|
||||
request: "请求",
|
||||
requesting: "正在请求...",
|
||||
busySuffix: "{{label}}...",
|
||||
},
|
||||
},
|
||||
host: {
|
||||
|
||||
Reference in New Issue
Block a user