diff --git a/client/scripts/i18n-unused-baseline.json b/client/scripts/i18n-unused-baseline.json index da95c6f36..a5accb3a5 100644 --- a/client/scripts/i18n-unused-baseline.json +++ b/client/scripts/i18n-unused-baseline.json @@ -29,7 +29,7 @@ "places.ts": 10, "planner.ts": 53, "reservations.ts": 21, - "roadtrip.ts": 38, + "roadtrip.ts": 36, "settings.ts": 37, "share.ts": 7, "shared.ts": 2, diff --git a/client/src/components/Assistant/cards/tour/TourRouteActions.tsx b/client/src/components/Assistant/cards/tour/TourRouteActions.tsx index e2e7de533..b82fa9b92 100644 --- a/client/src/components/Assistant/cards/tour/TourRouteActions.tsx +++ b/client/src/components/Assistant/cards/tour/TourRouteActions.tsx @@ -8,6 +8,9 @@ import { CardOpenButton } from '../parts/CardOpen'; import { tourTarget } from './tourLook'; import { useTakeProposal } from './useTourRouteCard'; +/** What "Open" says: the phone opens the tour's place on the plan, the desktop the Tours tab. */ +const OPEN_LABEL = { phoneKey: 'assistant.card.tour.openPhone', desktopKey: 'assistant.card.tour.open' } as const; + /** * The foot of a route card: "On map" always; "Plan this" on a proposed hike * or city walk for someone who may add to the trip, off with its reason said @@ -51,7 +54,7 @@ export default function TourRouteActions({ {card.source === 'saved' && card.placeId !== null && ( )} {take.visible && take.state === 'taken' && (