Refine permission descriptions

This commit is contained in:
Kaede Akino committed 2026-09-15 08:19:53 +08:00
1 parent 01b6bf4d25
commit 0c292cce20
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -19003,18 +19003,18 @@
}
}
},
"Unrestricted access to files, commands, and the network" : {
"Unrestricted to the Internet and any files on your hosts" : {
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "不受限制地访问文件、执行命令和使用网络"
"value" : "不受限制地访问互联网和主机上的任何文件"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "不受限制地存取檔案、執行指令和使用網路"
"value" : "不受限制地存取網際網路和主機上的任何檔案"
}
}
}
+2 -2
View File
@@ -1287,7 +1287,7 @@ struct ComposerView: View {
Text(permissionDescription(mode))
.font(.caption2)
.foregroundStyle(.secondary)
.lineLimit(2)
.lineLimit(1)
}
Spacer(minLength: Metrics.Space.s)
@@ -1311,7 +1311,7 @@ struct ComposerView: View {
switch mode {
case .askForApproval: "Always ask for approval before protected actions"
case .approveForMe: "Only ask for actions detected as potentially unsafe"
case .fullAccess: "Unrestricted access to files, commands, and the network"
case .fullAccess: "Unrestricted to the Internet and any files on your hosts"
}
}