summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-04-04 15:47:59 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2026-04-04 15:47:59 +0200
commitc558c8b6134df3b65d984430b58cffa26eb0b297 (patch)
tree9aefee7b02f7e4c3c93a3888a137eaccfdcde9ec
parent97908d274ee12eb2301fadd5fc445d0f79479a56 (diff)
Add a couple of translations
-rw-r--r--src/frontend/app/i18n/locales/en-GB.json4
-rw-r--r--src/frontend/app/i18n/locales/es-ES.json4
-rw-r--r--src/frontend/app/i18n/locales/gl-ES.json4
-rw-r--r--src/frontend/app/routes/stops-$id.tsx4
4 files changed, 11 insertions, 5 deletions
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";