From cfb1f8ebd31c6a7b7272331a3b4008525d34fdef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=B5=E5=91=B5=E5=93=92128?= <1173696783@qq.com> Date: Wed, 2 Nov 2022 09:48:42 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8E=9F=E5=9E=8B=E6=9C=BA?= =?UTF-8?q?=E4=B8=8A=E7=9A=84=E6=97=A5=E5=8E=86=E6=9D=83=E9=99=90=E5=8F=8A?= =?UTF-8?q?=E5=85=B6=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 呵呵哒128 <1173696783@qq.com> --- systemres/main/config.json | 24 ++++++++++++++++++- .../main/resources/base/element/string.json | 16 +++++++++++++ .../main/resources/zh_CN/element/string.json | 16 +++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/systemres/main/config.json b/systemres/main/config.json index 52f78604..b347444c 100644 --- a/systemres/main/config.json +++ b/systemres/main/config.json @@ -1419,7 +1419,29 @@ "deprecated": "", "provisionEnable": true, "distributedSceneEnable": false - } + }, + { + "name": "ohos.permission.READ_WHOLE_CALENDAR", + "grantMode": "user_grant", + "availableLevel": "normal", + "since": 8, + "deprecated": "", + "provisionEnable": true, + "distributedSceneEnable": false, + "label": "$string:ohos_lab_read_whole_calendar", + "description": "$string:ohos_desc_read_whole_calendar" + }, + { + "name": "ohos.permission.WRITE_WHOLE_CALENDAR", + "grantMode": "user_grant", + "availableLevel": "normal", + "since": 8, + "deprecated": "", + "provisionEnable": true, + "distributedSceneEnable": false, + "label": "$string:ohos_lab_write_whole_calendar", + "description": "$string:ohos_desc_write_whole_calendar" + }, ] } } diff --git a/systemres/main/resources/base/element/string.json b/systemres/main/resources/base/element/string.json index bfcc1d1a..a33bb10c 100644 --- a/systemres/main/resources/base/element/string.json +++ b/systemres/main/resources/base/element/string.json @@ -483,6 +483,22 @@ { "name": "ohos_desc_write_document", "value": "Create, modify or delete documents" + }, + { + "name": "ohos_lab_read_whole_calendar", + "value": "Read the whole calendar information" + }, + { + "name": "ohos_desc_read_whole_calendar", + "value": "Allows an application to read the whole calendar information." + }, + { + "name": "ohos_lab_write_whole_calendar", + "value": "Add/Modify/Delete the whole calendar events" + }, + { + "name": "ohos_desc_write_whole_calendar", + "value": "Allows an application to add, modify, and delete the whole calendar events." } ] } diff --git a/systemres/main/resources/zh_CN/element/string.json b/systemres/main/resources/zh_CN/element/string.json index c0825e53..7430e35e 100644 --- a/systemres/main/resources/zh_CN/element/string.json +++ b/systemres/main/resources/zh_CN/element/string.json @@ -475,6 +475,22 @@ { "name": "ohos_app_name", "value": "系统" + }, + { + "name": "ohos_lab_read_whole_calendar", + "value": "读取全部日历" + }, + { + "name": "ohos_desc_read_whole_calendar", + "value": "允许应用读取全部日历。" + }, + { + "name": "ohos_lab_write_whole_calendar", + "value": "新建/修改/删除全部日历" + }, + { + "name": "ohos_desc_write_whole_calendar", + "value": "允许应用新建/修改/删除全部日历。" } ] } -- Gitee