fix(ui): 规则过滤项启用筛选去掉「状态」措辞避免与状态列撞名

This commit is contained in:
Qiu Yuzhou
2026-10-04 12:26:07 +08:00
parent 53ebfd612a
commit bcede88ea4
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -607,13 +607,13 @@
}
}
},
"全部状态": {
"全部": {
"extractionState": "manual",
"localizations": {
"en": {
"stringUnit": {
"state": "translated",
"value": "All states"
"value": "All"
}
}
}
+2 -2
View File
@@ -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<Bool>.none)
Text(RulesCopy.text("全部")).tag(Optional<Bool>.none)
Text(RulesCopy.text("已启用")).tag(Optional(true))
Text(RulesCopy.text("已禁用")).tag(Optional(false))
}.labelsHidden().fixedSize()