Fix boolean searchingin Vietnamese not wroking for Yes as opposed to yes

For the good Lord alone knows what reason in Vietanamese
yes is translated as "đồng ý" and Yes as "Đúng"
This commit is contained in:
Kovid Goyal
2025-12-21 14:19:30 +05:30
parent baeb9a577d
commit a88dbd4a63
+2 -2
View File
@@ -337,8 +337,8 @@ def local_forms(x: str) -> set[str]:
class BooleanSearch: # {{{
def __init__(self):
local_no = local_forms(_('no'))
local_yes = local_forms(_('yes'))
local_no = local_forms(_('No')) | local_forms(_('no'))
local_yes = local_forms(_('Yes')) | local_forms(_('yes'))
local_unchecked = local_forms(_('unchecked'))
local_checked = local_forms(_('checked'))
local_empty = local_forms(_('empty'))