From 4d84efb8b09552bb77a91350345036674508b6c7 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 20 Jul 2025 14:00:22 +0200 Subject: Translate the remainder of the landing page --- share/locales/de_DE.po | 16 ++++++++++++++++ share/locales/en_GB.po | 16 ++++++++++++++++ templates/landingpage.html.ep | 10 +++++----- 3 files changed, 37 insertions(+), 5 deletions(-) diff --git a/share/locales/de_DE.po b/share/locales/de_DE.po index bf72066..dac2680 100644 --- a/share/locales/de_DE.po +++ b/share/locales/de_DE.po @@ -142,6 +142,22 @@ msgstr "!" msgid "landingpage.not-checked-in" msgstr "Du bist gerade nicht eingecheckt" +msgid "landingpage.stop-geosearch" +msgstr "Stationen in der Umgebung suchen" + +msgid "landingpage.manual-stop-entry" +msgstr "Manuelle Eingabe" + +#, As short as possible +msgid "landingpage.departures" +msgstr "Abfahrten" + +msgid "landingpage.latest-trips" +msgstr "Letzte Fahrten" + +msgid "landingpage.date-format" +msgstr "%d.%m.%Y" + msgid "landingpage.about" msgstr "Travelynx erlaubt das Einchecken in Verkehrsmittel (Busse, Bahnen, Züge) unter anderem in Deutschland, Österreich, der Schweiz, Luxemburg, Irland, Dänemark und Teilen der USA. So können die eigenen Fahrten später inklusive Echtzeitdaten und eingetragenen Servicemeldungen nachvollzogen und brennende Fragen wie „Wie viele Stunden war ich letzten Monat unterwegs?“ beantwortet werden." diff --git a/share/locales/en_GB.po b/share/locales/en_GB.po index ef0a8e2..52b52f1 100644 --- a/share/locales/en_GB.po +++ b/share/locales/en_GB.po @@ -142,6 +142,22 @@ msgstr "!" msgid "landingpage.not-checked-in" msgstr "You are not checked in at the moment" +msgid "landingpage.stop-geosearch" +msgstr "Look for stops nearby" + +msgid "landingpage.manual-stop-entry" +msgstr "Enter stop manually" + +#, As short as possible +msgid "landingpage.departures" +msgstr "Departures" + +msgid "landingpage.latest-trips" +msgstr "Latest Trips" + +msgid "landingpage.date-format" +msgstr "%b %d %Y" + msgid "landingpage.about" msgstr "Travelynx facilitates checkins into public transit (such as buses, trams, or trains) in Germany, Austria, Switzerlanz, Luxembourg, Ireland, Denmark, parts of the USA, and more. This way, you can track your own journeys (often including map and real-time data), share them with others, and examine highly relevant questions such as “how many hours did I spend in public transit in the past month?”." diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index f760f00..10e4f03 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -58,19 +58,19 @@ <%= L('landingpage.greeting-prefix') %> <%= $user->{name} %><%= L('landingpage.greeting-suffix') %>

<%= L('landingpage.not-checked-in') %>.

- Stationen in der Umgebung abfragen + <%= L('landingpage.stop-geosearch') %>
%= hidden_field backend_dbris => $user->{backend_dbris}
%= text_field 'station', id => 'station', class => 'autocomplete contrast-color-text', autocomplete => 'off', required => undef - +
<%= $user->{backend_name} // 'IRIS' %>
@@ -97,8 +97,8 @@ % } -

Letzte Fahrten

- %= include '_history_trains', date_format => '%d.%m.%Y', journeys => [journeys->get(uid => $user->{id}, limit => 5, with_datetime => 1)]; +

<%= L('landingpage.latest-trips') %>

+ %= include '_history_trains', date_format => L('landingpage.date-format'), journeys => [journeys->get(uid => $user->{id}, limit => 5, with_datetime => 1)]; % } % else {
-- cgit v1.2.3