From a1465f5495f80b5ecaea5152b2c2798ed8a17623 Mon Sep 17 00:00:00 2001 From: baozeyu Date: Wed, 2 Apr 2025 14:44:31 +0800 Subject: [PATCH] add badges in dialog Signed-off-by: baozeyu --- .../dialog_ui/enable_notification_dialog/AppScope/app.json | 4 ++-- .../entry/src/main/resources/base/element/string.json | 4 ++-- .../entry/src/main/resources/bo_CN/element/string.json | 4 ++-- .../entry/src/main/resources/ug/element/string.json | 4 ++-- .../entry/src/main/resources/zh_CN/element/string.json | 4 ++-- .../entry/src/main/resources/zh_HK/element/string.json | 4 ++-- .../entry/src/main/resources/zh_TW/element/string.json | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/services/dialog_ui/enable_notification_dialog/AppScope/app.json b/services/dialog_ui/enable_notification_dialog/AppScope/app.json index f5f5abfa7..e47e9a48e 100644 --- a/services/dialog_ui/enable_notification_dialog/AppScope/app.json +++ b/services/dialog_ui/enable_notification_dialog/AppScope/app.json @@ -2,8 +2,8 @@ "app": { "bundleName": "com.ohos.notificationdialog", "vendor": "example", - "versionCode": 1000020, - "versionName": "1.2.0", + "versionCode": 1000021, + "versionName": "1.2.1", "icon": "$media:app_icon", "label": "$string:app_name", "distributedNotificationEnabled": true, diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json index 8de7f2e74..a8f9ddcaf 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/base/element/string.json @@ -14,11 +14,11 @@ }, { "name":"reason", - "value":"These may include lock screen notifications, banners, sounds, vibrations, and more. You can change this in Settings." + "value":"These may include lock screen notifications, banners, badges, sounds, and vibrations. You can change this in Settings." }, { "name":"reason_simple", - "value":"These may include banners, sounds, and more. You can change your preferences in Settings." + "value":"These may include banners, badges, and sounds. You can change this in Settings." }, { "name":"reason_zyt", diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/bo_CN/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/bo_CN/element/string.json index b10e0f9b7..5b87718f0 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/bo_CN/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/bo_CN/element/string.json @@ -14,11 +14,11 @@ }, { "name":"reason", - "value":"བརྡ་ཐོ་དྲན་སྐུལ་གྱི་ཐབས་ལམ་ལ་སྒོ་ལྕགས་བརྙན་ཡོལ་དང་། འཕྲེད་བྱང་། དྲིལ་སྒྲ། སྦིར་བརྡ་སོགས་ཚུད་སྲིད། ༼སྒྲིག་འགོད་༽ལ་བསྐྱོད་ནས་བཅོས་ཆོག" + "value":"བརྡ་ཐོ་དྲན་སྐུལ་གྱི་ཐབས་ལམ་ལ་སྒོ་ལྕགས་བརྙན་ཡོལ་དང་། འཕྲེད་བྱང་། ཟུར་རྟགས། དྲིལ་སྒྲ། སྦིར་བརྡ་སོགས་ཚུད་སྲིད། ༼སྒྲིག་འགོད་༽ལ་བསྐྱོད་ནས་བཅོས་ཆོག" }, { "name":"reason_simple", - "value":"བརྡ་ཐོ་དྲན་སྐུལ་གྱི་ཐབས་ལམ་ལ་འཕྲེད་བྱང་། དྲིལ་སྒྲ་སོགས་ཚུད་སྲིད། ༼སྒྲིག་འགོད་༽ལ་བསྐྱོད་ནས་བཅོས་ཆོག" + "value":"བརྡ་ཐོ་དྲན་སྐུལ་གྱི་ཐབས་ལམ་ལ་འཕྲེད་བྱང་། ཟུར་རྟགས། དྲིལ་སྒྲ་བཅས་ཚུད་སྲིད། ༼སྒྲིག་འགོད་༽ལ་བསྐྱོད་ནས་བཅོས་ཆོག" }, { "name":"reason_zyt", diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/ug/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/ug/element/string.json index 3dc2ca7d0..f741f9c39 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/ug/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/ug/element/string.json @@ -14,11 +14,11 @@ }, { "name":"reason", - "value":"قۇلۇپ ئېكرانى، بالداق، ئاۋاز ۋە تىترەش شۇلارنىڭ ئىچىدە. تەڭشەكتىن ئۆزگەرتەلەيسىز." + "value":"قۇلۇپ ئېكرانى، بالداق، تامغا، ئاۋاز ۋە تىترەش شۇنىڭ ئىچىدە. تەڭشەكتىن ئۆزگەرتەلەيسىز." }, { "name":"reason_simple", - "value":"بالداق ئۇقتۇرۇش ۋە سايراپ ئۇقتۇرۇش قاتارلىقلار شۇنىڭ ئىچىدە، بۇ تاللانمىنى تەڭشەكتىن ئۆزگەرتەلەيسىز." + "value":"بالداق ئۇقتۇرۇش، تامغا ۋە سايراپ ئۇقتۇرۇش قاتارلىقلار شۇنىڭ ئىچىدە، بۇ تاللانمىنى تەڭشەكتىن ئۆزگەرتەلەيسىز." }, { "name":"reason_zyt", diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_CN/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_CN/element/string.json index be484578d..c3bae4662 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_CN/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_CN/element/string.json @@ -14,11 +14,11 @@ }, { "name":"reason", - "value":"通知提醒方式可能包括锁屏、横幅、响铃、振动等。可前往“设置” 更改。" + "value":"通知提醒方式可能包括锁屏、横幅、角标、响铃、振动。可前往“设置”更改。" }, { "name":"reason_simple", - "value":"通知提醒方式可能包括横幅、响铃等。可前往“设置”更改。" + "value":"通知提醒方式可能包括横幅、角标、响铃。可前往“设置”更改。" }, { "name":"reason_zyt", diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_HK/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_HK/element/string.json index ad424151c..ad3bc78e9 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_HK/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_HK/element/string.json @@ -14,11 +14,11 @@ }, { "name":"reason", - "value":"通知提醒方式可能包括鎖屏、橫幅、響鬧、震動等。可前往「設定」更改。" + "value":"通知提醒方式可能包括鎖屏、橫幅、徽章圖標、響鬧和震動。可前往「設定」更改。" }, { "name":"reason_simple", - "value":"通知提醒方式可能包括橫幅、響鬧等。可前往「設定」更改。" + "value":"通知提醒方式可能包括橫幅、徽章圖標、響鬧。可前往「設定」更改。" }, { "name":"reason_zyt", diff --git a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_TW/element/string.json b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_TW/element/string.json index 728172bed..99bfcbe6a 100644 --- a/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_TW/element/string.json +++ b/services/dialog_ui/enable_notification_dialog/entry/src/main/resources/zh_TW/element/string.json @@ -14,11 +14,11 @@ }, { "name":"reason", - "value":"通知提醒方式可能包括鎖定螢幕、橫幅、響鈴、振動等。可前往「設定」變更。" + "value":"通知提醒方式可能包括鎖定螢幕、橫幅、徽章圖示、響鈴和振動。您可以前往「設定」變更。" }, { "name":"reason_simple", - "value":"通知提醒方式可能包括橫幅、響鈴等。可前往「設定」變更。" + "value":"通知提醒方式可能包括橫幅、徽章圖示和響鈴。您可以前往「設定」變更。" }, { "name":"reason_zyt", -- Gitee