i18n: register the three new scope strings, and fix a key that could never match

The #259 popup change introduced TR("Scope "), TR("my region") and
TR("another region"). Two problems, both caught by re-running the audit rather
than by eye:

  - none of the 13 language files had rows for them, which would have reopened
    the drift closed in d4ade2e. Added to all 13 as empty rows (the format's
    own untranslated marker), so translators see the gap and English falls
    through meanwhile.
  - the key was "Scope " with a trailing space. TR() strips icon-glyph prefixes,
    NOT trailing whitespace, so the lookup would never have matched a "Scope"
    row and that label was permanently English in every language. The space now
    lives in the format string where it belongs.

audit-lang.py: 0 missing and 0 unsafe across all 13.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Kaj Schittecat
2026-08-12 09:16:38 +02:00
co-authored by Claude Opus 5
parent 88d7884af5
commit d41bcd3c0f
14 changed files with 42 additions and 1 deletions
+3
View File
@@ -970,3 +970,6 @@ zoom %d мащаб %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. усилвател ~17 dB за тихи/отдалечени места; изключи в шумни.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d Zoom %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. ~17 dB Verstärker für ruhige/abgelegene Gebiete; in lauten Zonen aus.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d ζουμ %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. ενισχυτής ~17 dB για ήσυχες/απομακρυσμένες περιοχές· κλείστε σε θορυβώδεις.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d zoom %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. amplificador ~17 dB para zonas tranquilas/remotas; apaga en zonas ruidosas.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d zoom %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. ampli ~17 dB pour zones calmes/isolées ; désactiver en zone bruyante.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -990,3 +990,6 @@ zoom %d zoom %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. ~17 dB erősítővel csendes/távoli helyeken; zajos helyeken kapcsold ki.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d zoom %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. ampli ~17 dB per zone tranquille/remote; spegni in zone rumorose.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d zoom %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. ~17 dB versterker voor stille/afgelegen gebieden; uit in drukke plekken.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d zoom %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. amplificador ~17 dB para áreas silenciosas/remotas; desligue em locais ruidosos.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d zoom %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. amplificator ~17 dB pentru zone liniştite/izolate; opreşte-l în locuri zgomotoase.
© OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d масштаб %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. усилитель ~17 дБ для тихих/удалённых мест; выключайте в шумных.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d зум %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. појачало ~17 dB за тиха/удаљена места; искључи у бучним.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3
View File
@@ -970,3 +970,6 @@ zoom %d масштаб %d
~17 dB amp for quiet/remote areas; turn off in noisy spots. підсилювач ~17 дБ для тихих/віддалених місць; вимикайте в галасливих.
© OpenStreetMap © OpenStreetMap
© OpenTopoMap © OpenTopoMap
Scope
another region
my region
+3 -1
View File
@@ -31090,8 +31090,10 @@ static void openMessageInfoPopup(int msg_idx) {
} else {
snprintf(region, sizeof region, "%s", TR("another region"));
}
// Key is "Scope" with no trailing space: TR() strips icon prefixes, NOT
// trailing whitespace, so "Scope " would never match its .lang row.
blen += snprintf(body + blen, sizeof(body) - blen,
"\n%s %s (%04X)", TR("Scope "), region, (unsigned)m.in_scope);
"\n%s %s (%04X)", TR("Scope"), region, (unsigned)m.in_scope);
}
// Full inbound route — the repeaters this flood traversed. Resolve each hop's
// hash to its repeater name when that contact is known. EVERY hop is listed