Subsea cable designs, fixed against today's main (#65, #78)

- Upgrades take effect: the optic speed cache from #89 is now kept per cable
  state (subsea, terminals in service, engineering in service), so a cable
  no longer stays at 400G after both upgrades are commissioned.
- Refunds: a cable remembers what was paid for it, design and upgrades
  included. Calling off a 7x low-latency cable returned 10% of its price.
  'Unusable' now means no optic lights it even with both upgrades.
- Length limit: #88 counts the shortest design and both upgrades. The order
  screen says which upgrade a route needs and will not order without it;
  the order action checks the same. New York to Sydney needs terminals.
  No leased-wave payback hint where no leased wave reaches.
- Choices start fresh when you open the own-cable view and after ordering.
- The 'consider terminals or engineering' hint only on cables you own.
- Low-latency builds take 1.7x as long (London-New York ~2.9 years), not
  3.5x; optimized 1.3x. Each design is one tappable card.
- The low-latency factor is worked out once per route instead of on every
  latency lookup. 'Number.isFinite' alone, no repeated guard in seaQuote,
  the express factor folded into seaLatencyFactor, '+{n} days' as one
  translatable string.
- Portuguese and French for the new strings; one CHANGELOG bullet (#65).

Big network vs main: no slowdowns, identical routing.
This commit is contained in:
Frederic Jung 2026-10-26 16:07:08 +01:00
parent e76d68fc90
commit 6ddbc6ec7d
No known key found for this signature in database
7 changed files with 120 additions and 25 deletions

View file

@ -2584,4 +2584,20 @@
"1.6T on every hop from Los Angeles to Sydney":"1.6T sur chaque saut de Los Angeles à Sydney",
"A path from Los Angeles to Tokyo":"Un chemin de Los Angeles à Tokyo",
"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.":"Le hub de la Rhénanie-Ruhr : plus de data centers neutres que Hamburg ou Munich, et à une heure de la frontière néerlandaise, donc la fibre vers Amsterdam est courte et pas chère. Ici, on commande une Altbier, jamais une Kölsch.",
"Premium submarine terminals":"Terminaux sous-marins premium",
"Optical engineering":"Ingénierie optique",
"This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.":"Ce canal porte à {max} km sur ce câble ; le tracé fait {span} km. Pense aux terminaux sous-marins ou à l’ingénierie optique.",
"Submarine transmission":"Transmission sous-marine",
"Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.":"De meilleurs terminaux et un réglage optique allongent la portée longue distance. Les répéteurs sont déjà inclus ; ces améliorations ne changent pas la latence.",
"Ready in {n} days":"Prêt dans {n} jours",
"{price} · {n} days":"{price} · {n} jours",
"Up to {g} per channel":"Jusqu’à {g} par canal",
"Cable design":"Conception du câble",
"Standard":"Standard",
"Optimized":"Optimisé",
"Low latency":"Faible latence",
"+{n} days":"+{n} jours",
"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"Le tracé de cette conception fait {km} km : trop long pour toute optique, même avec les deux améliorations. Une conception plus courte peut y arriver.",
"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km, c’est trop loin pour tes optiques seules. Ajoute {what} pour allumer ce câble.",
"Estimated latency":"Latence estimée",
};

View file

@ -2597,5 +2597,7 @@
"Ready in {n} days":"Pronto tra {n} giorni",
"{price} · {n} days":"{price} · {n} giorni",
"Up to {g} per channel":"Fino a {g} per canale",
"days":"giorni",
"+{n} days":"+{n} giorni",
"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"Il percorso di questo progetto è di {km} km: troppo lungo per qualsiasi ottica, anche con entrambi i miglioramenti. Un progetto più corto ce la fa.",
"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km sono troppi per le tue ottiche da sole. Aggiungi {what} per accendere questo cavo.",
};

View file

@ -2584,4 +2584,20 @@
"Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Tonga depende de um único cabo vindo de Fiji. Em 2022 um vulcão submarino o cortou, e o país ficou offline por semanas.",
"Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"A operadora de Tonga. Sobreviveu a um vulcão que cortou seu único cabo e hoje faz piada disso.",
"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.":"O hub do Reno-Ruhr: mais data centers neutros do que Hamburgo ou Munique, e a uma hora da fronteira holandesa, então a fibra até Amsterdã é curta e barata. Aqui se pede uma Altbier, nunca uma Kölsch.",
"Premium submarine terminals":"Terminais submarinos premium",
"Optical engineering":"Engenharia óptica",
"This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.":"Este canal alcança {max} km neste cabo; a rota tem {span} km. Considere terminais submarinos ou engenharia óptica.",
"Submarine transmission":"Transmissão submarina",
"Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.":"Terminais melhores e ajuste óptico aumentam o alcance de longa distância. Os repetidores já estão incluídos; essas melhorias não mudam a latência.",
"Ready in {n} days":"Pronto em {n} dias",
"{price} · {n} days":"{price} · {n} dias",
"Up to {g} per channel":"Até {g} por canal",
"Cable design":"Projeto do cabo",
"Standard":"Padrão",
"Optimized":"Otimizado",
"Low latency":"Baixa latência",
"+{n} days":"+{n} dias",
"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"A rota deste projeto tem {km} km: longa demais para qualquer óptica, mesmo com as duas melhorias. Um projeto mais curto consegue.",
"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km é longe demais para as suas ópticas sozinhas. Adicione {what} para acender este cabo.",
"Estimated latency":"Latência estimada",
};