nesquena-hermes
|
71cf06cd1c
|
test: pr1441 IME helper guards + pr1439 ja locale parity
- Loosen test_ime_composition._ime_guarded_enter_pattern to accept the
new _isImeEnter(e) helper (PR #1441 widened guard for Safari + 229 keyCode
+ manual _imeComposing flag). Original e.isComposing-only pattern still
matches via alternation.
- Add test_pr1441_ime_safari_guard.py (6 tests): pin the 3-guard helper,
compositionstart sets manual flag, compositionend defers reset to next
tick (Safari race), null-guard $('msg') for non-chat pages, send-Enter
uses helper, dropdown-Enter uses helper.
- Add test_japanese_locale.py (8 tests): mirror Chinese/Korean templates,
block exists, representative translations, full key parity with English,
no extra keys, duplicates mirror en exactly, placeholders preserved,
arrow-function values mirrored, _label uses Japanese script.
|
2026-05-02 02:44:59 +00:00 |
|