From 0c292cce207056b7f2eb175e7934982b60f689de Mon Sep 17 00:00:00 2001 From: Kaede Akino Date: Tue, 15 Sep 2026 08:19:53 +0800 Subject: [PATCH] Refine permission descriptions --- Frameworks/Resources/Localizable.xcstrings | 6 +++--- TFM/Features/AI/ConversationViews.swift | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Frameworks/Resources/Localizable.xcstrings b/Frameworks/Resources/Localizable.xcstrings index 3223ccad..102fdc8a 100644 --- a/Frameworks/Resources/Localizable.xcstrings +++ b/Frameworks/Resources/Localizable.xcstrings @@ -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" : "不受限制地存取網際網路和主機上的任何檔案" } } } diff --git a/TFM/Features/AI/ConversationViews.swift b/TFM/Features/AI/ConversationViews.swift index eb0b28a5..328028a0 100644 --- a/TFM/Features/AI/ConversationViews.swift +++ b/TFM/Features/AI/ConversationViews.swift @@ -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" } }