diff options
| author | Leitwolf11 | 2026-10-03 13:38:38 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-10-03 13:38:38 +0300 |
| commit | ed7f6e57d50765728e7d0513aaf956ec667ddc98 (patch) | |
| tree | 2a3500198ec6e5a18699eac9e84b2484a8e51cc0 /.github/codeql/codeql-config.yml | |
| parent | 3173a6a2bfe1975542c8c9cc0707071daa55b587 (diff) | |
| download | website-ed7f6e57d50765728e7d0513aaf956ec667ddc98.tar.gz | |
Revise the Hebrew wording and remember only a visitor's language choice
Hebrew
A second pass over the Hebrew text replaced words a Hebrew reader would
misread or that are not used for the concept: "native" was rendered with the
word for "local", "lowering" with the word for "download", "pipeline" with a
literal pipe and "front end" with a word not used for compilers. Typed
forms, diagnostics, the ecosystem and the standard library use the usual
terms. The text is still not reviewed by a native speaker.
Language choice
A language change is now stored only after the visitor has acted on the
page, as reported by navigator.userActivation. A change that reaches the
page before anyone has clicked, tapped or typed still changes the language
but is not remembered, so only a person can make a choice. A browser without
the activation API keeps the earlier behaviour.
During local testing a choice was once found stored without one being made.
It could not be reproduced in three attempts, and restoring form state was
shown not to fire a change event, so the cause is unknown; this guard closes
the path in the page itself.
Verified locally: frontend tests, type check, prettier and build. In a
browser, a scripted change before any interaction switched the language and
stored nothing, and a change after a real click was stored and survived a
navigation. The forum page was opened in a browser: one notice, no language
menu, English for a Turkish browser, and the Hebrew, German and Russian
notices when the script ran with those browser languages.
Diffstat (limited to '.github/codeql/codeql-config.yml')
0 files changed, 0 insertions, 0 deletions