fix(roadtrip): the two search actions stop cutting their labels in half

"Add manually" did not fit beside "Search" and rendered as "Add manu…",
which is neither the label nor a shape anybody recognises.

The button face now carries one short word, with the full sentence kept as
its accessible name and its tooltip, so nothing is lost to a reader or a
pointer. Every locale got its own short form rather than a clipped version
of the long one: Selbst, A mano, Ručně, Elle, 手動.

Below two hundred pixels the row drops both words instead of shortening
them, and the two actions are their icons. The width is the row's own,
measured, not the window's: this column is resizable, so it can be narrow on
a wide screen and a media query would answer the wrong question.

The search button also stops restating the progress. Its label used to grow
into "Searching 3 of 12" while a run was on, which is the longest string in
the panel and the very sentence the progress row directly underneath already
prints next to the share as a figure. It keeps its word, disabled, with the
spinner in front of it.
This commit is contained in:
Maurice
2026-09-14 13:50:44 +02:00
parent 049fb76965
commit 3841412b22
25 changed files with 133 additions and 15 deletions
+1
View File
@@ -199,6 +199,7 @@ const roadtrip: TranslationStrings = {
'roadtrip.poi.alongRoute': 'efter {distance}',
'roadtrip.poi.clearResults': 'Rensa träffar',
'roadtrip.poi.addManual': 'Lägg till manuellt',
'roadtrip.poi.addManualShort': 'Manuellt',
'roadtrip.poi.manualHint':
'Platssökningen hittar inte alla laddare eller bensinstationer. Sök upp en på namn och ange var i körningen den ska ligga.',
'roadtrip.poi.addBetween': 'Lägg till mellan',