From 725ffd7c1c12f2d05d48f293d5cfa3521a6b920e Mon Sep 17 00:00:00 2001 From: lloyd <754415+llince@user.noreply.gitee.com> Date: Mon, 23 Sep 2024 22:53:28 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Web=E7=BB=84=E4=BB=B6=E9=A2=84?= =?UTF-8?q?=E8=A7=88PDF=E6=96=87=E4=BB=B6=E3=80=91=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=9D=83=E9=99=90=E4=BD=BF=E7=94=A8=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/module.json5 | 2 +- entry/src/main/resources/base/element/string.json | 4 ++++ entry/src/main/resources/en_US/element/string.json | 4 ++++ entry/src/main/resources/zh_CN/element/string.json | 4 ++++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 9d2c186..c6f93a9 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -38,7 +38,7 @@ "requestPermissions": [ { "name": "ohos.permission.INTERNET", - "reason": "$string:module_desc", + "reason": "$string:reason_internet", "usedScene": { "abilities": [ "EntryAbility" diff --git a/entry/src/main/resources/base/element/string.json b/entry/src/main/resources/base/element/string.json index 2592a81..8194553 100644 --- a/entry/src/main/resources/base/element/string.json +++ b/entry/src/main/resources/base/element/string.json @@ -19,6 +19,10 @@ { "name": "tab_index_two_title", "value": "预览网络PDF文件" + }, + { + "name": "reason_internet", + "value": "Used for previewing network PDF files." } ] } \ No newline at end of file diff --git a/entry/src/main/resources/en_US/element/string.json b/entry/src/main/resources/en_US/element/string.json index 67d93c9..b927c26 100644 --- a/entry/src/main/resources/en_US/element/string.json +++ b/entry/src/main/resources/en_US/element/string.json @@ -19,6 +19,10 @@ { "name": "tab_index_two_title", "value": "Preview Network PDF Files" + }, + { + "name": "reason_internet", + "value": "Used for previewing network PDF files." } ] } \ No newline at end of file diff --git a/entry/src/main/resources/zh_CN/element/string.json b/entry/src/main/resources/zh_CN/element/string.json index 03b0ba5..5727045 100644 --- a/entry/src/main/resources/zh_CN/element/string.json +++ b/entry/src/main/resources/zh_CN/element/string.json @@ -19,6 +19,10 @@ { "name": "tab_index_two_title", "value": "预览网络PDF文件" + }, + { + "name": "reason_internet", + "value": "用于预览网络PDF文件" } ] } \ No newline at end of file -- Gitee