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

@ -1035,6 +1035,7 @@
"city_panel.ix_members_on_ix_n":"IX-Mitglieder am {ix}: {n}",
"city_panel.ix_switch":"{ix}-Switch",
"city_panel.launch_broadband_cost":"Breitband starten <small>{cost}</small>",
"city_panel.link_to_a_city":"🔗 Link zu einer Stadt…",
"city_panel.make_sacrificial_contains_floods_1_2":"Als Opfer-Link nutzen <small>hält Fluten auf · ½ Kapazität</small>",
"city_panel.maxed_out_traffic_here_is_being":"Am Limit. Traffic wird hier verworfen.",
"city_panel.model_level_lv":"{model} <small>Level {lv}</small>",
@ -2230,7 +2231,9 @@
"find.city_country_or_exchange":"Stadt, Land oder Austauschknoten",
"find.find_a_city":"Stadt finden",
"find.find_a_city_slash":"Stadt finden (/)",
"find.link_from_city":"Neuer Link ab {city}",
"find.no_city_matches_q":"Keine Stadt passt zu „{q}“.",
"find.pick_where_the_link_goes":"Wähl, wohin der Link geht: genau wie das Ziehen von diesem POP zu der Stadt auf der Karte.",
"find.press_slash_to_search_from":"Tipp: Drück irgendwo auf der Karte <b>/</b>, um zu suchen.",
"find.type_a_city_a_country":"Gib eine Stadt, ein Land oder einen Austauschknoten ein.",
"find.your_pop":"dein POP",