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

@ -1034,6 +1034,7 @@
"city_panel.ix_members_on_ix_n":"IX members on {ix}: {n}",
"city_panel.ix_switch":"{ix} switch",
"city_panel.launch_broadband_cost":"Launch broadband <small>{cost}</small>",
"city_panel.link_to_a_city":"🔗 Link to a city…",
"city_panel.make_sacrificial_contains_floods_1_2":"Make sacrificial <small>contains floods · ½ capacity</small>",
"city_panel.maxed_out_traffic_here_is_being":"Maxed out. Traffic here is being dropped.",
"city_panel.model_level_lv":"{model} <small>level {lv}</small>",
@ -2229,7 +2230,9 @@
"find.city_country_or_exchange":"City, country or exchange",
"find.find_a_city":"Find a city",
"find.find_a_city_slash":"Find a city (/)",
"find.link_from_city":"New link from {city}",
"find.no_city_matches_q":"No city matches “{q}”.",
"find.pick_where_the_link_goes":"Pick where the link goes: the same as dragging from this POP to that city on the map.",
"find.press_slash_to_search_from":"Tip: press <b>/</b> anywhere on the map to search.",
"find.type_a_city_a_country":"Type a city, a country or an exchange.",
"find.your_pop":"your POP",