My earlier sweeps searched for strings I could think of, which is why you
kept finding more. scripts/build/i18n-scan-unwrapped.py now parses every
call that takes user text — LVGL setters (label/checkbox/dropdown/roller/
placeholder/tab/table/msgbox), showAlert, showConfirm, appPageBegin,
createSettingsModal and the settings row helpers — splits the argument list
and reports any human-readable literal not wrapped in TR(). It found 55;
49 got wrapped (--fix does it mechanically), 6 skipped as brand/technical
(WADAMESH, CPU, PSK, OK, and two unit readouts). It now reports zero.
The 33 newly reachable keys are translated in all 13 languages: the Flood/
Zero-hop scope buttons, Share QR, Search contacts, Play / Set as
notification sound / Set as wallpaper, Probe now, On map, Install update,
Save update bin to SD, Choose .wav from files, Power, Clear history, the
Bluetooth/MQTT/Logs/System info sheet titles, both dropdown option lists,
the size preset list, Import, the URL bar, and Snake's New game.
Two format bugs behind the last stragglers: keys whose text begins with
LVGL recolor markup ('#7A7F87 Wardrive: ...#') were dropped as comment
lines by BOTH the device loader and the audit — a line is a comment only
when it has no tab, fixed in both. And several rows had been written with
literal '\xE2\x80\xA6' text where the file needs the real character; the
loader only unescapes \n \t \\, so those keys never matched.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
16 lines
648 B
JSON
16 lines
648 B
JSON
{"langs":[
|
|
{"code":"bg","name":"Български","ver":"6"},
|
|
{"code":"de","name":"Deutsch","ver":"6"},
|
|
{"code":"el","name":"Ελληνικά","ver":"6"},
|
|
{"code":"es","name":"Español","ver":"6"},
|
|
{"code":"fr","name":"Français","ver":"6"},
|
|
{"code":"hu","name":"Magyar","ver":"6"},
|
|
{"code":"it","name":"Italiano","ver":"6"},
|
|
{"code":"nl","name":"Nederlands","ver":"6"},
|
|
{"code":"pt-br","name":"Português (BR)","ver":"6"},
|
|
{"code":"ro","name":"Română","ver":"6"},
|
|
{"code":"ru","name":"Русский","ver":"6"},
|
|
{"code":"sr","name":"Српски","ver":"6"},
|
|
{"code":"uk","name":"Українська","ver":"6"}
|
|
]}
|