mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-11-03 09:12:19 +01:00
Covers the navbar, the offcanvas main menu, and index.html: the channel sidebar, filter bar, composer, status bar and the FAB column, plus the six fullscreen panel modals, whose headers now reuse each panel's own title key (dm.title, contacts.title, console.title, repeaters.title, pa.title, logs.title) instead of repeating the words. The Settings modal (base.html ~458-1147) and the other modals in base.html are untouched - stages 8 and 7b. Also translated in app.js: updateStatus(), updateLastRefresh(), the FAB collapse toggle, the filter bar's "no matches" panel and updateRegionIndicator(). The rest of app.js stays for stage 9; the line drawn here is "does it overwrite a string index.html just got a key for". Without them the status bar renders Polish server-side and flips back to English a second later, which would make the slice impossible to verify - a miss and a stage-9 leftover look identical. "Filter messages" (menu) and "Filter Messages" (FAB) keep separate keys even though the Polish is identical, so this commit changes no English text, only where it lives. Catalog: 526 -> 573 keys, pl at 100%. Verified with i18n-diff.js and a new i18n-stage7a-chrome.js that opens the offcanvas menu at both viewports - like the DM modals, a closed offcanvas is invisible to the plain diff. Two tooling fixes came out of it, both in F:\tmp\pwverify: - i18n-diff.js checked visibility on the text node's parent only, so every closed modal's contents landed in the report: 275 flagged lines on the main chat, 13 after walking the ancestor chain. It was noise, never a false pass, but it is the kind of noise that trains you to skim the list. - browser.js now centralises the Chrome launch. The translate bubble was held off by one flag copy-pasted into each script; it is now flags plus a persistent profile with translation disabled in Preferences, which is the part that survives Chrome renaming the feature. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>