ui: fix net-sim i18n — decode-entity key match + label coverage (v2.7.6)

The network-simulation description never switched to Russian: its
data-l10n attribute carries " (decoded to " by the browser), while the
LANG_RU key is raw text inside <script> and keeps the literal &quot;, so
translatePage()'s lookup missed and t() returned the English key.

- LANG_RU: the description key now carries real quotes, matching the
  decoded attribute value (RU value unchanged)
- add the missing RU entries for the net-sim labels AUTHENTICATE, MCC,
  MNC, LAC, Cell ID, TAC, RAC (acronyms map to themselves; Cell ID ->
  «Идентификатор соты»)
- html.test.js: strict cross-check that every data-l10n attribute
  (entity-decoded, as the browser does) is a LANG_RU key
- sw.js cache simple-v209; version trio 2.7.6
This commit is contained in:
2026-09-20 14:05:27 +03:00
parent 6131d34d28
commit a688c63919
5 changed files with 31 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'simple-v208';
const CACHE = 'simple-v209';
const URLS = [
'index.html',
'help.html',