i18n: the find box, sort and filter builders and password toggle in Chinese
CI / platforms (windows-latest) (push) Failing after 18s
CI / site (push) Successful in 23s
CI / crate (push) Failing after 13m36s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

The find counts, toggles, replace buttons, the builders' add, join and
direction labels, the filter tests and the password tooltip read the
builtin catalog. Test::label becomes Test::key, the choice's value; its
label is the catalog's. The shipped-copy scan checks button, segment and
match-arm text on every match, and zh-CN render tests cover both.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-14 20:41:47 -04:00
1 parent 79e94f7e24
commit a4bf6965f9
11 files changed
+303 -79

No files matched your search

+9 -5
View File
@@ -199,11 +199,15 @@ impl RenderOnce for PasswordInput {
},
)
.size(ControlSize::Sm)
.tooltip(if masked {
"Show password"
} else {
"Hide password"
})
.tooltip(i18n::text(
cx,
if masked {
"input.show_password"
} else {
"input.hide_password"
},
&[],
))
.on_click(move |_, _, cx| {
toggle.update(cx, |input, cx| {
let masked = input.is_masked();