From bcede88ea40f212f3f9c00aa081702ba6156893b Mon Sep 17 00:00:00 2001 From: Qiu Yuzhou Date: Sun, 4 Oct 2026 12:26:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E8=A7=84=E5=88=99=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E9=A1=B9=E5=90=AF=E7=94=A8=E7=AD=9B=E9=80=89=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E3=80=8C=E7=8A=B6=E6=80=81=E3=80=8D=E6=8E=AA=E8=BE=9E=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E4=B8=8E=E7=8A=B6=E6=80=81=E5=88=97=E6=92=9E=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowsocksX-NG2/App/Rules.xcstrings | 4 ++-- ShadowsocksX-NG2/App/RulesView.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ShadowsocksX-NG2/App/Rules.xcstrings b/ShadowsocksX-NG2/App/Rules.xcstrings index a74a7e33..d89aa7e2 100644 --- a/ShadowsocksX-NG2/App/Rules.xcstrings +++ b/ShadowsocksX-NG2/App/Rules.xcstrings @@ -607,13 +607,13 @@ } } }, - "全部状态": { + "全部": { "extractionState": "manual", "localizations": { "en": { "stringUnit": { "state": "translated", - "value": "All states" + "value": "All" } } } diff --git a/ShadowsocksX-NG2/App/RulesView.swift b/ShadowsocksX-NG2/App/RulesView.swift index a1791b27..eee06bf2 100644 --- a/ShadowsocksX-NG2/App/RulesView.swift +++ b/ShadowsocksX-NG2/App/RulesView.swift @@ -118,12 +118,12 @@ struct RulesView: View { Text(RulesCopy.text("代理")).tag(Optional(RuleAction.proxy)) }.labelsHidden().fixedSize() Picker( - RulesCopy.text("状态"), + RulesCopy.text("启用"), selection: Binding( get: { workflow.snapshot.query.enabled }, set: { value in updateQuery { $0.enabled = value } }) ) { - Text(RulesCopy.text("全部状态")).tag(Optional.none) + Text(RulesCopy.text("全部")).tag(Optional.none) Text(RulesCopy.text("已启用")).tag(Optional(true)) Text(RulesCopy.text("已禁用")).tag(Optional(false)) }.labelsHidden().fixedSize()