Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/apps/ohos/entry/src/main/module.json5
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
{
"name": "ohos.permission.READ_CALENDAR",
"reason": "$string:permission_read_calendar_reason",
"reason": "$string:permission_calendar_reason",
"usedScene": {
"abilities": [
"EntryAbility"
Expand All @@ -56,7 +56,7 @@
},
{
"name": "ohos.permission.WRITE_CALENDAR",
"reason": "$string:permission_write_calendar_reason",
"reason": "$string:permission_calendar_reason",
"usedScene": {
"abilities": [
"EntryAbility"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@
"value": "Used to access custom sandbox paths for project workspace operations"
},
{
"name": "permission_read_calendar_reason",
"value": "Used to read calendar events for task scheduling and reminders"
},
{
"name": "permission_write_calendar_reason",
"value": "Used to write calendar events for task scheduling and reminders"
"name": "permission_calendar_reason",
"value": "Used to manage calendar events for task scheduling and reminders"
},
{
"name": "permission_desktop_directory_reason",
Expand Down
44 changes: 44 additions & 0 deletions src/apps/ohos/entry/src/main/resources/zh_CN/element/string.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"string": [
{
"name": "module_desc",
"value": "模块描述"
},
{
"name": "EntryAbility_desc",
"value": "描述"
},
{
"name": "EntryAbility_label",
"value": "BitFun"
},
{
"name": "permission_internet_reason",
"value": "用于访问网络以与远程AI服务通信"
},
{
"name": "permission_user_file_reason",
"value": "用于读写用户选择的文件以进行代码编辑和项目管理"
},
{
"name": "permission_custom_sandbox_reason",
"value": "用于访问自定义沙箱路径以进行项目工作区操作"
},
{
"name": "permission_calendar_reason",
"value": "用于管理日历事件以进行任务调度和提醒"
},
{
"name": "permission_desktop_directory_reason",
"value": "用于访问桌面目录以进行文件管理和项目操作"
},
{
"name": "permission_documents_directory_reason",
"value": "用于访问文档目录以进行文件管理和项目操作"
},
{
"name": "permission_download_directory_reason",
"value": "用于访问下载目录以进行文件管理和项目操作"
}
]
}
Loading