Move a network to another device with QR codes or a link (#263)

No server and no account: the network travels gzipped in the fragment of a
link, which browsers never send anywhere. One link carries all of it, to copy
or share; QR codes carry it in parts that a phone's own camera app opens one
after another, and the receiving page collects them in any order, then imports
the network like a save file. To keep the codes few they leave out the charts'
history and the news log (a year-old network: 4 codes instead of 10); the link
carries everything. The QR encoder is a small built-in one, checked against the
reference implementation for every mask.
This commit is contained in:
Frederic Jung 2026-11-10 11:50:36 +01:00
parent b892dcd923
commit 79426f7a00
No known key found for this signature in database
21 changed files with 465 additions and 10 deletions

View file

@ -4849,6 +4849,30 @@
"traceroute.this_one_is_set_to_mode":"; dieser steht auf {mode}",
"traceroute.transit_is_the_last_resort":"Transit ist der letzte Ausweg",
"traceroute.your_traffic_follows_the_metrics_this":"Dein Internetverkehr folgt den Metriken. Dies ist der Weg, den eine Kundenleitung auf „{mode}“ nehmen würde.",
"transfer.code_i_of_n":"Code {i} von {n}",
"transfer.copy_the_link":"Link kopieren",
"transfer.could_not_copy_the_link_here":"Der Link ließ sich hier nicht kopieren. Exportiere stattdessen deinen Spielstand.",
"transfer.from_another_device":"Von einem anderen Gerät",
"transfer.have_of_n_codes_are_here":"{have} von {n} Codes sind da",
"transfer.its_charts_and_news_start_fresh":"Seine Diagramme und Meldungen fangen hier neu an.",
"transfer.link_copied_open_it_on_your":"Link kopiert. Öffne ihn auf deinem anderen Gerät.",
"transfer.moving_a_network_here":"Netzwerk hierher holen",
"transfer.next_code":"Nächster Code",
"transfer.nothing_is_uploaded_anywhere_the_codes":"Nichts wird irgendwo hochgeladen: Codes und Link tragen das Netzwerk selbst. Wer sie öffnet, bekommt eine Kopie, also behalte sie für dich.",
"transfer.on_the_other_device_open_the":"Öffne auf dem Gerät mit deinem Netzwerk das Menü und wähle <b>Auf ein anderes Gerät senden</b>. Scanne den Code mit der Kamera dieses Geräts oder füge den Link hier ein.",
"transfer.on_your_other_device_open_the":"Richte die Kamera deines anderen Geräts auf diesen Code und öffne den Link.",
"transfer.on_your_other_device_open_the_many":"Richte die Kamera deines anderen Geräts auf diesen Code und öffne den Link, dann komm für den nächsten zurück. Die Reihenfolge ist egal.",
"transfer.paste_a_transfer_link":"Transfer-Link einfügen",
"transfer.qr_code_i_of_n":"QR-Code {i} von {n}",
"transfer.scan_the_next_code_on_your":"Scanne den nächsten Code auf deinem anderen Gerät und öffne den Link. Dein Netzwerk lädt, sobald der letzte da ist.",
"transfer.send_the_link":"Link senden",
"transfer.send_to_another_device":"Auf ein anderes Gerät senden",
"transfer.start_over":"Neu anfangen",
"transfer.that_is_not_a_transfer_link":"Das ist kein Transfer-Link.",
"transfer.that_link_is_incomplete_or_damaged":"Der Link ist unvollständig oder beschädigt. Kopier ihn noch mal, komplett.",
"transfer.the_codes_leave_out_your_charts":"Damit es wenige Codes bleiben, fehlen darin deine Diagramme und Meldungen; der Link enthält alles.",
"transfer.this_browser_cannot_pack_networks_into":"Dieser Browser kann Netzwerke nicht in Links packen. Exportiere stattdessen deinen Spielstand.",
"transfer.this_network_is_too_big_for":"Dieses Netzwerk ist zu groß für Codes. Schick stattdessen den Link oder exportiere deinen Spielstand.",
"tutorial.businesses_pop_up_as_bubbles_on":"Unternehmen tauchen als $-Blasen auf der Karte auf. Öffne Deals und gewinne deinen ersten Kunden.",
"tutorial.grow_drag_from_your_pink_router":"Wachse: Zieh von deiner Stadt zu einer Stadt in der Nähe, um Glasfaser zu verlegen und einen zweiten POP zu eröffnen.",
"tutorial.start_the_clock_with_1_and":"Starte die Uhr mit 1× und sieh zu, wie Traffic und Geld fließen. Du kannst jederzeit pausieren.",

View file

@ -4847,6 +4847,30 @@
"traceroute.this_one_is_set_to_mode":"; esta está en {mode}",
"traceroute.transit_is_the_last_resort":"el tránsito es el último recurso",
"traceroute.your_traffic_follows_the_metrics_this":"Tu tráfico de internet sigue las métricas. Este es el camino que tomaría un circuito de cliente en «{mode}».",
"transfer.code_i_of_n":"Código {i} de {n}",
"transfer.copy_the_link":"Copiar el enlace",
"transfer.could_not_copy_the_link_here":"No se pudo copiar el enlace aquí. Exporta un archivo de partida.",
"transfer.from_another_device":"Desde otro dispositivo",
"transfer.have_of_n_codes_are_here":"Han llegado {have} de {n} códigos",
"transfer.its_charts_and_news_start_fresh":"Sus gráficos y noticias empiezan de cero aquí.",
"transfer.link_copied_open_it_on_your":"Enlace copiado. Ábrelo en tu otro dispositivo.",
"transfer.moving_a_network_here":"Traer una red aquí",
"transfer.next_code":"Siguiente código",
"transfer.nothing_is_uploaded_anywhere_the_codes":"No se sube nada a ningún sitio: los códigos y el enlace llevan la red misma. Quien los abra obtiene una copia, así que guárdalos para ti.",
"transfer.on_the_other_device_open_the":"En el dispositivo con tu red, abre el menú y elige <b>Enviar a otro dispositivo</b>. Escanea su código con la cámara de este dispositivo o pega aquí su enlace.",
"transfer.on_your_other_device_open_the":"En tu otro dispositivo, apunta la cámara a este código y abre el enlace.",
"transfer.on_your_other_device_open_the_many":"En tu otro dispositivo, apunta la cámara a este código y abre el enlace; luego vuelve aquí por el siguiente. Pueden llegar en cualquier orden.",
"transfer.paste_a_transfer_link":"Pega un enlace de traspaso",
"transfer.qr_code_i_of_n":"Código QR {i} de {n}",
"transfer.scan_the_next_code_on_your":"Escanea el siguiente código en tu otro dispositivo y abre su enlace. Tu red se carga en cuanto llegue el último.",
"transfer.send_the_link":"Enviar el enlace",
"transfer.send_to_another_device":"Enviar a otro dispositivo",
"transfer.start_over":"Empezar de nuevo",
"transfer.that_is_not_a_transfer_link":"Eso no es un enlace de traspaso.",
"transfer.that_link_is_incomplete_or_damaged":"Ese enlace está incompleto o dañado. Cópialo otra vez, entero.",
"transfer.the_codes_leave_out_your_charts":"Para que sean pocos códigos, dejan fuera tus gráficos y noticias; el enlace lo lleva todo.",
"transfer.this_browser_cannot_pack_networks_into":"Este navegador no puede meter redes en enlaces. Usa un archivo de partida.",
"transfer.this_network_is_too_big_for":"Esta red es demasiado grande para códigos. Envía el enlace o exporta un archivo de partida.",
"tutorial.businesses_pop_up_as_bubbles_on":"Las empresas aparecen como burbujas de $ en el mapa. Abre Tratos y firma a tu primer cliente.",
"tutorial.grow_drag_from_your_pink_router":"Crece: arrastra desde tu router rosa hasta una ciudad cercana para tender fibra y abrir un segundo POP.",
"tutorial.start_the_clock_with_1_and":"Pon el reloj en marcha con 1× y mira cómo fluyen el tráfico y el dinero. Puedes pausar cuando quieras.",

View file

@ -4847,6 +4847,30 @@
"traceroute.this_one_is_set_to_mode":" ; celle-ci est réglée sur {mode}",
"traceroute.transit_is_the_last_resort":"le transit est le dernier recours",
"traceroute.your_traffic_follows_the_metrics_this":"Ton trafic internet suit les métriques. Voici le chemin que prendrait un circuit client en « {mode} ».",
"transfer.code_i_of_n":"Code {i} sur {n}",
"transfer.copy_the_link":"Copier le lien",
"transfer.could_not_copy_the_link_here":"Impossible de copier le lien ici. Exporte plutôt un fichier de sauvegarde.",
"transfer.from_another_device":"Depuis un autre appareil",
"transfer.have_of_n_codes_are_here":"{have} codes sur {n} sont arrivés",
"transfer.its_charts_and_news_start_fresh":"Ses graphiques et son fil d'infos repartent de zéro ici.",
"transfer.link_copied_open_it_on_your":"Lien copié. Ouvre-le sur ton autre appareil.",
"transfer.moving_a_network_here":"Amener un réseau ici",
"transfer.next_code":"Code suivant",
"transfer.nothing_is_uploaded_anywhere_the_codes":"Rien n'est envoyé nulle part : les codes et le lien contiennent le réseau lui-même. Qui les ouvre en obtient une copie, alors garde-les pour toi.",
"transfer.on_the_other_device_open_the":"Sur l'appareil qui a ton réseau, ouvre le menu et choisis <b>Envoyer vers un autre appareil</b>. Scanne son code avec l'appareil photo de cet appareil, ou colle son lien ici.",
"transfer.on_your_other_device_open_the":"Sur ton autre appareil, vise ce code avec l'appareil photo et ouvre le lien.",
"transfer.on_your_other_device_open_the_many":"Sur ton autre appareil, vise ce code avec l'appareil photo et ouvre le lien, puis reviens ici pour le suivant. L'ordre n'a pas d'importance.",
"transfer.paste_a_transfer_link":"Colle un lien de transfert",
"transfer.qr_code_i_of_n":"QR code {i} sur {n}",
"transfer.scan_the_next_code_on_your":"Scanne le code suivant sur ton autre appareil et ouvre son lien. Ton réseau se charge dès que le dernier arrive.",
"transfer.send_the_link":"Envoyer le lien",
"transfer.send_to_another_device":"Envoyer vers un autre appareil",
"transfer.start_over":"Recommencer",
"transfer.that_is_not_a_transfer_link":"Ce n'est pas un lien de transfert.",
"transfer.that_link_is_incomplete_or_damaged":"Ce lien est incomplet ou abîmé. Copie-le à nouveau, en entier.",
"transfer.the_codes_leave_out_your_charts":"Pour garder peu de codes, ils laissent de côté tes graphiques et ton fil d'infos ; le lien contient tout.",
"transfer.this_browser_cannot_pack_networks_into":"Ce navigateur ne sait pas mettre un réseau dans un lien. Utilise plutôt un fichier de sauvegarde.",
"transfer.this_network_is_too_big_for":"Ce réseau est trop gros pour des codes. Envoie plutôt le lien, ou exporte un fichier de sauvegarde.",
"tutorial.businesses_pop_up_as_bubbles_on":"Les entreprises apparaissent sous forme de bulles $ sur la carte. Ouvre Offres et signe ton premier client.",
"tutorial.grow_drag_from_your_pink_router":"Grandis : fais glisser depuis ton routeur rose vers une ville proche pour poser de la fibre et ouvrir un deuxième POP.",
"tutorial.start_the_clock_with_1_and":"Lance le temps en 1× et regarde le trafic et l’argent couler. Tu peux mettre en pause à tout moment.",

View file

@ -4847,6 +4847,30 @@
"traceroute.this_one_is_set_to_mode":"; questa è impostata su {mode}",
"traceroute.transit_is_the_last_resort":"il transit è l’ultima spiaggia",
"traceroute.your_traffic_follows_the_metrics_this":"Il tuo traffico internet segue le metriche. Questo è il percorso che prenderebbe un circuito cliente su «{mode}».",
"transfer.code_i_of_n":"Codice {i} di {n}",
"transfer.copy_the_link":"Copia il link",
"transfer.could_not_copy_the_link_here":"Non riesco a copiare il link qui. Esporta un file di salvataggio.",
"transfer.from_another_device":"Da un altro dispositivo",
"transfer.have_of_n_codes_are_here":"Sono arrivati {have} codici su {n}",
"transfer.its_charts_and_news_start_fresh":"I suoi grafici e le notizie ripartono da zero qui.",
"transfer.link_copied_open_it_on_your":"Link copiato. Aprilo sull'altro dispositivo.",
"transfer.moving_a_network_here":"Porta qui una rete",
"transfer.next_code":"Codice successivo",
"transfer.nothing_is_uploaded_anywhere_the_codes":"Non viene caricato nulla da nessuna parte: i codici e il link contengono la rete stessa. Chi li apre ne riceve una copia, quindi tienili per te.",
"transfer.on_the_other_device_open_the":"Sul dispositivo con la tua rete, apri il menu e scegli <b>Invia a un altro dispositivo</b>. Scansiona il codice con la fotocamera di questo dispositivo, oppure incolla qui il link.",
"transfer.on_your_other_device_open_the":"Sull'altro dispositivo, inquadra questo codice con la fotocamera e apri il link.",
"transfer.on_your_other_device_open_the_many":"Sull'altro dispositivo, inquadra questo codice con la fotocamera e apri il link, poi torna qui per il prossimo. L'ordine non conta.",
"transfer.paste_a_transfer_link":"Incolla un link di trasferimento",
"transfer.qr_code_i_of_n":"Codice QR {i} di {n}",
"transfer.scan_the_next_code_on_your":"Scansiona il prossimo codice sull'altro dispositivo e apri il link. La tua rete si carica appena arriva l'ultimo.",
"transfer.send_the_link":"Invia il link",
"transfer.send_to_another_device":"Invia a un altro dispositivo",
"transfer.start_over":"Ricomincia",
"transfer.that_is_not_a_transfer_link":"Questo non è un link di trasferimento.",
"transfer.that_link_is_incomplete_or_damaged":"Il link è incompleto o danneggiato. Copialo di nuovo, tutto intero.",
"transfer.the_codes_leave_out_your_charts":"Per restare pochi, i codici lasciano fuori i grafici e le notizie; il link contiene tutto.",
"transfer.this_browser_cannot_pack_networks_into":"Questo browser non riesce a mettere una rete in un link. Usa un file di salvataggio.",
"transfer.this_network_is_too_big_for":"Questa rete è troppo grande per i codici. Invia il link, oppure esporta un file di salvataggio.",
"tutorial.businesses_pop_up_as_bubbles_on":"Le aziende spuntano come bolle $ sulla mappa. Apri Offerte e firma il tuo primo cliente.",
"tutorial.grow_drag_from_your_pink_router":"Cresci: trascina dal tuo router rosa su una città vicina per posare fibra e aprire un secondo POP.",
"tutorial.start_the_clock_with_1_and":"Fai partire il tempo con 1× e guarda scorrere traffico e soldi. Puoi mettere in pausa quando vuoi.",

View file

@ -4847,6 +4847,30 @@
"traceroute.this_one_is_set_to_mode":"; esta está configurada como {mode}",
"traceroute.transit_is_the_last_resort":"transit é o último recurso",
"traceroute.your_traffic_follows_the_metrics_this":"O teu tráfego de internet segue as métricas. Este é o caminho que um circuito de cliente em «{mode}» tomaria.",
"transfer.code_i_of_n":"Código {i} de {n}",
"transfer.copy_the_link":"Copiar o link",
"transfer.could_not_copy_the_link_here":"Não deu para copiar o link aqui. Exporte um arquivo de save.",
"transfer.from_another_device":"De outro dispositivo",
"transfer.have_of_n_codes_are_here":"Chegaram {have} de {n} códigos",
"transfer.its_charts_and_news_start_fresh":"Os gráficos e notícias dela recomeçam do zero aqui.",
"transfer.link_copied_open_it_on_your":"Link copiado. Abra-o no outro dispositivo.",
"transfer.moving_a_network_here":"Trazer uma rede para cá",
"transfer.next_code":"Próximo código",
"transfer.nothing_is_uploaded_anywhere_the_codes":"Nada é enviado para lugar nenhum: os códigos e o link carregam a própria rede. Quem os abrir recebe uma cópia, então guarde-os para você.",
"transfer.on_the_other_device_open_the":"No dispositivo com a sua rede, abra o menu e escolha <b>Enviar para outro dispositivo</b>. Escaneie o código com a câmera deste dispositivo ou cole o link aqui.",
"transfer.on_your_other_device_open_the":"No outro dispositivo, aponte a câmera para este código e abra o link.",
"transfer.on_your_other_device_open_the_many":"No outro dispositivo, aponte a câmera para este código e abra o link, depois volte aqui para o próximo. A ordem não importa.",
"transfer.paste_a_transfer_link":"Cole um link de transferência",
"transfer.qr_code_i_of_n":"Código QR {i} de {n}",
"transfer.scan_the_next_code_on_your":"Escaneie o próximo código no outro dispositivo e abra o link. Sua rede carrega assim que o último chegar.",
"transfer.send_the_link":"Enviar o link",
"transfer.send_to_another_device":"Enviar para outro dispositivo",
"transfer.start_over":"Recomeçar",
"transfer.that_is_not_a_transfer_link":"Isso não é um link de transferência.",
"transfer.that_link_is_incomplete_or_damaged":"Esse link está incompleto ou danificado. Copie de novo, inteiro.",
"transfer.the_codes_leave_out_your_charts":"Para serem poucos códigos, eles deixam de fora seus gráficos e notícias; o link leva tudo.",
"transfer.this_browser_cannot_pack_networks_into":"Este navegador não consegue colocar redes em links. Use um arquivo de save.",
"transfer.this_network_is_too_big_for":"Esta rede é grande demais para códigos. Envie o link ou exporte um arquivo de save.",
"tutorial.businesses_pop_up_as_bubbles_on":"Empresas aparecem como bolhas de $ no mapa. Abra Negócios e feche seu primeiro cliente.",
"tutorial.grow_drag_from_your_pink_router":"Cresça: arraste do seu router rosa até uma cidade próxima para lançar fibra e abrir um segundo POP.",
"tutorial.start_the_clock_with_1_and":"Comece o relógio em 1× e veja o tráfego e o dinheiro fluírem. Dá pra pausar a qualquer momento.",