From c558c8b6134df3b65d984430b58cffa26eb0b297 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sat, 4 Apr 2026 15:47:59 +0200 Subject: Add a couple of translations --- src/frontend/app/i18n/locales/en-GB.json | 4 +++- src/frontend/app/i18n/locales/es-ES.json | 4 +++- src/frontend/app/i18n/locales/gl-ES.json | 4 +++- src/frontend/app/routes/stops-$id.tsx | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/app/i18n/locales/en-GB.json b/src/frontend/app/i18n/locales/en-GB.json index c13d96e..782c747 100644 --- a/src/frontend/app/i18n/locales/en-GB.json +++ b/src/frontend/app/i18n/locales/en-GB.json @@ -261,6 +261,8 @@ "notification_now_title": "Your bus is arriving!", "notification_approaching_title": "Your bus arrives in {{minutes}} min", "notification_body": "Line {{line}} towards {{destination}} — {{stop}}", - "view_on_map": "View on map" + "view_on_map": "View on map", + "pickup_only": "Boarding only", + "dropoff_only": "Alighting only" } } diff --git a/src/frontend/app/i18n/locales/es-ES.json b/src/frontend/app/i18n/locales/es-ES.json index cc87ae9..38df112 100644 --- a/src/frontend/app/i18n/locales/es-ES.json +++ b/src/frontend/app/i18n/locales/es-ES.json @@ -261,6 +261,8 @@ "notification_now_title": "¡Tu autobús está llegando!", "notification_approaching_title": "Tu autobús llega en {{minutes}} min", "notification_body": "Línea {{line}} dirección {{destination}} — {{stop}}", - "view_on_map": "Ver en el mapa" + "view_on_map": "Ver en el mapa", + "pickup_only": "Solo subida", + "dropoff_only": "Solo descenso" } } diff --git a/src/frontend/app/i18n/locales/gl-ES.json b/src/frontend/app/i18n/locales/gl-ES.json index 26004c3..90bb5cd 100644 --- a/src/frontend/app/i18n/locales/gl-ES.json +++ b/src/frontend/app/i18n/locales/gl-ES.json @@ -257,6 +257,8 @@ "notification_now_title": "¡O teu autobús está chegando!", "notification_approaching_title": "O teu autobús chega en {{minutes}} min", "notification_body": "Liña {{line}} dirección {{destination}} — {{stop}}", - "view_on_map": "Ver no mapa" + "view_on_map": "Ver no mapa", + "pickup_only": "Só subida", + "dropoff_only": "Só descenso" } } diff --git a/src/frontend/app/routes/stops-$id.tsx b/src/frontend/app/routes/stops-$id.tsx index 2734895..38f6c59 100644 --- a/src/frontend/app/routes/stops-$id.tsx +++ b/src/frontend/app/routes/stops-$id.tsx @@ -10,15 +10,15 @@ import { type StopArrivalsResponse, } from "~/api/schema"; import { ArrivalList } from "~/components/arrivals/ArrivalList"; -import ServiceAlerts from "~/components/ServiceAlerts"; import { ErrorDisplay } from "~/components/ErrorDisplay"; import { PullToRefresh } from "~/components/PullToRefresh"; import RouteIcon from "~/components/RouteIcon"; +import ServiceAlerts from "~/components/ServiceAlerts"; import { StopHelpModal } from "~/components/stop/StopHelpModal"; import { StopMapModal } from "~/components/stop/StopMapModal"; import { StopUsageChart } from "~/components/stop/StopUsageChart"; -import { usePageRightNode, usePageTitle } from "~/contexts/PageTitleContext"; import { useJourney } from "~/contexts/JourneyContext"; +import { usePageRightNode, usePageTitle } from "~/contexts/PageTitleContext"; import { formatHex } from "~/utils/colours"; import StopDataProvider from "../data/StopDataProvider"; import "../tailwind-full.css"; -- cgit v1.3