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":"Miembros del IX en {ix}: {n}",
"city_panel.ix_switch":"Switch de {ix}",
"city_panel.launch_broadband_cost":"Lanzar banda ancha <small>{cost}</small>",
"city_panel.link_to_a_city":"🔗 Enlace a una ciudad…",
"city_panel.make_sacrificial_contains_floods_1_2":"Hacer de sacrificio <small>contiene inundaciones · ½ de capacidad</small>",
"city_panel.maxed_out_traffic_here_is_being":"Al límite. Aquí se está descartando tráfico.",
"city_panel.model_level_lv":"{model} <small>nivel {lv}</small>",
@ -2228,7 +2229,9 @@
"find.city_country_or_exchange":"Ciudad, país o punto de intercambio",
"find.find_a_city":"Buscar una ciudad",
"find.find_a_city_slash":"Buscar una ciudad (/)",
"find.link_from_city":"Nuevo enlace desde {city}",
"find.no_city_matches_q":"Ninguna ciudad coincide con «{q}».",
"find.pick_where_the_link_goes":"Elige adónde va el enlace: igual que arrastrar desde este POP hasta esa ciudad en el mapa.",
"find.press_slash_to_search_from":"Consejo: pulsa <b>/</b> en cualquier parte del mapa para buscar.",
"find.type_a_city_a_country":"Escribe una ciudad, un país o un punto de intercambio.",
"find.your_pop":"tu POP",