Tidy the i18n layer after review
- Badges that react to sharks, anchors, crocodiles and llamas read the English text of the incident again, so they unlock in every language. - Scenario names are looked up when shown, so they follow a language switch. - Fall back to English (and lang="en") when the dictionary did not load, and version the dictionary URL so a release never pairs with a stale one. - Share the segmented-button helper between settings and the title screen, merge keys that only differed in a placeholder name, and slim the check script. - Tests: guard the hooks the tour patches into fireFailure/fireEvent, and cover the dictionary fallback and the scenario name.
This commit is contained in:
parent
04eb32e0a5
commit
42711456e2
4 changed files with 55 additions and 42 deletions
|
|
@ -538,7 +538,6 @@
|
|||
"Step {n} of {total}":"Passo {n} di {total}",
|
||||
"Skip tutorial":"Salta il tutorial",
|
||||
"{name} cache":"Cache {name}",
|
||||
"PNI with {name}":"PNI con {name}",
|
||||
"{ix} peering":"Peering {ix}",
|
||||
"{name} transit":"Transit {name}",
|
||||
"{city}, your router":"{city}, il tuo router",
|
||||
|
|
@ -590,7 +589,6 @@
|
|||
"Badges":"Badge",
|
||||
"Weekly {key}":"Settimanale {key}",
|
||||
"score {v}":"punteggio {v}",
|
||||
"done in {n} days":"fatto in {n} giorni",
|
||||
"not this time":"non stavolta",
|
||||
"in progress":"in corso",
|
||||
"Build the internet, one tube at a time":"Costruisci internet, un tubo alla volta",
|
||||
|
|
@ -688,7 +686,6 @@
|
|||
"Not big enough yet: {list}":"Non sei ancora abbastanza grande: {list}",
|
||||
"{net} transit · {lag}":"transit {net} · {lag}",
|
||||
"Add a LAG member, upgrade the port or buy a second upstream.":"Aggiungi un membro al LAG, fai l’upgrade della porta o compra un secondo upstream.",
|
||||
"{ix} port":"porta {ix}",
|
||||
"Upgrade the IX port or add a LAG member.":"Fai l’upgrade della porta IX o aggiungi un membro al LAG.",
|
||||
"PNI with {net}":"PNI con {net}",
|
||||
"Add a LAG member or upgrade the PNI.":"Aggiungi un membro al LAG o fai l’upgrade del PNI.",
|
||||
|
|
@ -1463,7 +1460,6 @@
|
|||
"{port} port · {price}/mo":"Porta {port} · {price}/mese",
|
||||
"{g} of circuits":"{g} di circuiti",
|
||||
"New circuit":"Nuovo circuito",
|
||||
"Upgrade 100G <small>{price}/mo</small>":"Passa a 100G <small>{price}/mese</small>",
|
||||
"Remove port":"Rimuovi porta",
|
||||
"{port} port <small>{price}/mo</small>":"Porta {port} <small>{price}/mese</small>",
|
||||
"Fiber from {city}":"Fibra da {city}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue