Start a link by typing the city it goes to (#343)

A POP's Infra tab gets Link to a city: it opens the city finder in link
mode, which offers only cities a link from there could end in, and picking
one (or Enter) opens the same link window as dragging between the two on the
map. Much easier than finding a far-away city on a crowded phone screen.

Fixes #343
This commit is contained in:
Frederic Jung 2026-11-11 15:44:08 +01:00
parent c52e7c7747
commit 2b8bd1c402
No known key found for this signature in database
12 changed files with 130 additions and 11 deletions

View file

@ -1033,6 +1033,7 @@
"city_panel.ix_members_on_ix_n":"Membres de l’IX sur {ix} : {n}",
"city_panel.ix_switch":"Switch {ix}",
"city_panel.launch_broadband_cost":"Lancer le haut débit <small>{cost}</small>",
"city_panel.link_to_a_city":"🔗 Lien vers une ville…",
"city_panel.make_sacrificial_contains_floods_1_2":"Rendre sacrificiel <small>contient les floods · ½ capacité</small>",
"city_panel.maxed_out_traffic_here_is_being":"Saturé. Du trafic est perdu ici.",
"city_panel.model_level_lv":"{model} <small>niveau {lv}</small>",
@ -2228,7 +2229,9 @@
"find.city_country_or_exchange":"Ville, pays ou point d'échange",
"find.find_a_city":"Trouver une ville",
"find.find_a_city_slash":"Trouver une ville (/)",
"find.link_from_city":"Nouveau lien depuis {city}",
"find.no_city_matches_q":"Aucune ville ne correspond à « {q} ».",
"find.pick_where_the_link_goes":"Choisissez où va le lien : comme si vous le tiriez de ce POP jusqu'à cette ville sur la carte.",
"find.press_slash_to_search_from":"Astuce : appuyez sur <b>/</b> n'importe où sur la carte pour chercher.",
"find.type_a_city_a_country":"Tapez une ville, un pays ou un point d'échange.",
"find.your_pop":"votre POP",