Send a network to another device through the share sheet instead of QR codes (#263)

QR codes do not scale: a played network takes several, a big one dozens. The
save file now goes through the device's own share sheet (AirDrop, Quick Share,
a chat with yourself, email), whatever its size, and opens on the other device
with Import a save. Chromium refuses to share .json files, so there the same
file goes as .txt, which Import a save now takes too. The whole-network link
stays for copy and paste. The file is prepared before the tap, because a share
sheet only opens straight from a user's gesture.
This commit is contained in:
Frederic Jung 2026-11-10 13:19:00 +01:00
parent 79426f7a00
commit 1ccdda171b
No known key found for this signature in database
17 changed files with 187 additions and 346 deletions

View file

@ -4848,30 +4848,22 @@
"traceroute.this_one_is_set_to_mode":"; this one is set to {mode}",
"traceroute.transit_is_the_last_resort":"transit is the last resort",
"traceroute.your_traffic_follows_the_metrics_this":"Your internet traffic follows the metrics. This is the path a customer circuit on “{mode}” would take.",
"transfer.code_i_of_n":"Code {i} of {n}",
"transfer.copy_the_link":"Copy the link",
"transfer.could_not_copy_the_link_here":"Could not copy the link here. Export a save file instead.",
"transfer.download_the_save_file_and_send":"Download the save file and send it to your other device, for example by email or a chat with yourself. Open it there with <b>Import a save</b>.",
"transfer.from_another_device":"From another device",
"transfer.have_of_n_codes_are_here":"{have} of {n} codes are here",
"transfer.its_charts_and_news_start_fresh":"Its charts and news start fresh here.",
"transfer.link_copied_open_it_on_your":"Link copied. Open it on your other device.",
"transfer.link_copied_paste_it_on_your":"Link copied. Paste it on your other device under From another device.",
"transfer.moving_a_network_here":"Move a network here",
"transfer.next_code":"Next code",
"transfer.nothing_is_uploaded_anywhere_the_codes":"Nothing is uploaded anywhere: the codes and the link carry the network itself. Whoever opens them gets a copy, so keep them to yourself.",
"transfer.on_the_other_device_open_the":"On the device with your network, open the menu and pick <b>Send to another device</b>. Scan its code with this device's camera, or paste its link here.",
"transfer.on_your_other_device_open_the":"On your other device, point the camera at this code and open the link.",
"transfer.on_your_other_device_open_the_many":"On your other device, point the camera at this code and open the link, then come back here for the next one. They can arrive in any order.",
"transfer.paste_a_transfer_link":"Paste a transfer link",
"transfer.qr_code_i_of_n":"QR code {i} of {n}",
"transfer.scan_the_next_code_on_your":"Scan the next code on your other device and open its link. Your network loads as soon as the last one arrives.",
"transfer.send_the_link":"Send the link",
"transfer.nothing_is_uploaded_anywhere_the_file":"Nothing is uploaded anywhere: the file and the link carry the network itself. Whoever opens them gets a copy, so keep them to yourself.",
"transfer.on_the_device_with_your_network":"On the device with your network, open the menu and pick <b>Send to another device</b>. Then open the file it sends with <b>Import a save</b>.",
"transfer.or_copy_the_link_and_paste":"Or copy the link and paste it on the other device under <b>From another device</b>, handy with a clipboard your devices share.",
"transfer.or_paste_a_transfer_link":"Or paste a transfer link",
"transfer.send_the_save_file":"Send the save file",
"transfer.send_the_save_file_to_your":"Send the save file to your other device: AirDrop, Quick Share, a chat with yourself or email. Open it there with <b>Import a save</b>.",
"transfer.send_to_another_device":"Send to another device",
"transfer.start_over":"Start over",
"transfer.that_is_not_a_transfer_link":"That is not a transfer link.",
"transfer.that_link_is_incomplete_or_damaged":"That link is incomplete or damaged. Copy it again, all of it.",
"transfer.the_codes_leave_out_your_charts":"To keep the codes few, they leave out your charts and news; the link carries everything.",
"transfer.this_browser_cannot_pack_networks_into":"This browser cannot pack networks into links. Use a save file instead.",
"transfer.this_network_is_too_big_for":"This network is too big for codes. Send the link instead, or export a save file.",
"transfer.this_browser_cannot_open_transfer_links":"This browser cannot open transfer links. Use a save file instead.",
"tutorial.businesses_pop_up_as_bubbles_on":"Businesses pop up as $ bubbles on the map. Open Deals and sign your first customer.",
"tutorial.grow_drag_from_your_pink_router":"Grow: drag from your pink router onto a nearby city to lay fiber and open a second POP.",
"tutorial.start_the_clock_with_1_and":"Start the clock with 1× and watch traffic and money flow. You can pause any time.",