Commit graph

7 commits

Author SHA1 Message Date
Frederic Jung
cc28dfeb74
Add Korea's sender-pays market, Sparkly Seabone as a Tier 1, and release 1.12.0
Seoul transit costs four times the usual price and the three Korean
incumbents only peer over paid PNIs billed per gigabit sent. Glitch can
leave Korea and Faceplant can reroute it via Hong Kong. Adds the Gangnam
Style Peering scenario and the Sender Pays badge.

Sparkly Seabone becomes a Tier 1 across the Mediterranean, Europe and the
Americas; older saves keep the five Tier 1s they were playing for.

A wave supplier's optical control plane can melt down and take every
leased wave in a region dark at once.

Closes #23
2026-10-24 22:39:36 +02:00
Frederic Jung
5e0ee53617
Add LACP trouble, partial packet loss and PMTUD black holes
LAG members can flap out, hash onto one member or take the bundle down
with an eager min-links. Links can lose a few percent of packets, which
costs far more goodput than it looks, unless deep-buffer routers absorb
the microbursts. Filtered ICMP or a missing MSS clamp black-holes part of
the traffic to one network.
2026-10-24 22:27:29 +02:00
Frederic Jung
9315b37b82
Keep the top bar on one row in every language
Longer Italian labels wrapped the HUD over the side panels on laptop
widths. fitHud() now hides the less important readouts until the bar fits,
whatever the language. Also shortens two Italian HUD labels and translates
the How the Internet Works links.
2026-10-24 22:21:17 +02:00
Frederic Jung
f1ea017b39
Merge pull request #26 from daniloctdev/feat/i18n-italian
Add Italian translation and a language switch.
2026-10-24 22:18:28 +02:00
Danilo Carbonaro
febded70d0 Translate the strings that changed on main
The "-ish" renames, the rival-exchange messages and the free community
exchange ports changed English text that is a dictionary key, so it.js
follows the new wording. The Catnip-IX and JINXED-IX blurbs, the Medusa
Stare cable, the tick-error toast, the "Another one" name button, the
scenic-routing split note and the regen-site messages are new and go
through tr() too.
2026-10-24 21:52:27 +02:00
Danilo Carbonaro
42711456e2 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.
2026-10-24 21:52:27 +02:00
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