From e126980360197a0cd10886d0804581a88d4324ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=B7=E4=BA=8C=E5=90=B9=E9=A3=8E=E6=9C=BA?= Date: Wed, 11 Jun 2025 01:08:48 +0800 Subject: [PATCH 1/2] add zh-CN language --- public/languages/zh-CN/web-push.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 public/languages/zh-CN/web-push.json diff --git a/public/languages/zh-CN/web-push.json b/public/languages/zh-CN/web-push.json new file mode 100644 index 0000000..bd7c8c8 --- /dev/null +++ b/public/languages/zh-CN/web-push.json @@ -0,0 +1,11 @@ +{ + "profile.label": "网站通知", + "profile.introduction": "除了论坛内通知和电子邮件通知外,您还可以选择接收网站通知。这样,即使论坛未在设备上打开,您也能收到通知。", + "profile.option": "在此设备上启用网站通知", + "profile.devices": "目前正在通知 %1 个设备。", + "profile.permissionBlocked": "您的设备目前不允许接收来自本网站的通知。请授予通知权限以继续。", + "profile.send-test": "发送测试通知", + + "toast.test_success": "测试通知已发送。", + "toast.test_unavailable": "由于此设备未启用推送通知,因此无法发送测试通知。" +} \ No newline at end of file From 7458a6006cc306262dcfd8a7b025c80dc5901a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=B7=E4=BA=8C=E5=90=B9=E9=A3=8E=E6=9C=BA?= Date: Wed, 11 Jun 2025 01:11:12 +0800 Subject: [PATCH 2/2] quantifier change --- public/languages/zh-CN/web-push.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/languages/zh-CN/web-push.json b/public/languages/zh-CN/web-push.json index bd7c8c8..ab3abcd 100644 --- a/public/languages/zh-CN/web-push.json +++ b/public/languages/zh-CN/web-push.json @@ -2,7 +2,7 @@ "profile.label": "网站通知", "profile.introduction": "除了论坛内通知和电子邮件通知外,您还可以选择接收网站通知。这样,即使论坛未在设备上打开,您也能收到通知。", "profile.option": "在此设备上启用网站通知", - "profile.devices": "目前正在通知 %1 个设备。", + "profile.devices": "目前正在通知 %1 台设备。", "profile.permissionBlocked": "您的设备目前不允许接收来自本网站的通知。请授予通知权限以继续。", "profile.send-test": "发送测试通知",