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":"Membros do IX em {ix}: {n}",
"city_panel.ix_switch":"Switch do {ix}",
"city_panel.launch_broadband_cost":"Lançar banda larga <small>{cost}</small>",
"city_panel.link_to_a_city":"🔗 Link para uma cidade…",
"city_panel.make_sacrificial_contains_floods_1_2":"Tornar sacrificial <small>contém floods · ½ capacidade</small>",
"city_panel.maxed_out_traffic_here_is_being":"No limite. O tráfego aqui está sendo descartado.",
"city_panel.model_level_lv":"{model} <small>nível {lv}</small>",
@ -2228,7 +2229,9 @@
"find.city_country_or_exchange":"Cidade, país ou exchange",
"find.find_a_city":"Encontrar uma cidade",
"find.find_a_city_slash":"Encontrar uma cidade (/)",
"find.link_from_city":"Novo link a partir de {city}",
"find.no_city_matches_q":"Nenhuma cidade corresponde a “{q}”.",
"find.pick_where_the_link_goes":"Escolha para onde vai o link: o mesmo que arrastar deste POP até essa cidade no mapa.",
"find.press_slash_to_search_from":"Dica: pressione <b>/</b> em qualquer lugar do mapa para pesquisar.",
"find.type_a_city_a_country":"Digite uma cidade, um país ou um exchange.",
"find.your_pop":"seu POP",