seriesoftubes/tests
Danilo Carbonaro 04eb32e0a5 Add Italian translation and a language switch
English stays the source text and the default. Player-facing strings go
through tr()/trn(), which look the English up in a per-language dictionary
(site/i18n/<lang>.js) and fall back to it unchanged. The dictionary is only
loaded when the game runs in that language. The language follows the
browser on the first visit and can be switched under Settings or on the
title screen; the choice is remembered.

- site/i18n/it.js: complete Italian translation (~1900 entries)
- scripts/i18n-check.js / npm run i18n:check: lists missing or stale entries
  and translations that drop a {placeholder} or HTML tag
- tests/i18n.test.js: language selection, fallback, dictionary integrity,
  and a tour of every screen, failure and event in English and Italian
2026-10-24 21:52:27 +02:00
..
build.test.js Fix map wrap, touch and keyboard input; harden build and release workflow; docs 2026-10-23 17:56:34 +02:00
game.test.js Add Italy, Portugal, Greece and more US cities; rival IXes and a long tail of small peers 2026-10-24 06:29:19 +02:00
harness.js Add Italian translation and a language switch 2026-10-24 21:52:27 +02:00
i18n.test.js Add Italian translation and a language switch 2026-10-24 21:52:27 +02:00
issues.test.js Light up very long dark fiber with long-haul modes and regen sites 2026-10-24 21:46:48 +02:00
modes.test.js Punch up the random network names 2026-10-24 21:35:29 +02:00
peering.test.js Merge pull request #18 from NickBouwhuis/add-fries-ix 2026-10-24 21:14:23 +02:00
persist.test.js Fix map wrap, touch and keyboard input; harden build and release workflow; docs 2026-10-23 17:56:34 +02:00
regions.test.js Polish the community exchanges and wire up Barcelona 2026-10-24 21:16:27 +02:00
services.test.js Add event networks, SD-WAN chains, wholesale waves and dark fiber pair leases 2026-10-23 11:52:57 +02:00