Unverified Commit 4d84efb8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Translate the remainder of the landing page

parent cb956c7f
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -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."

+16 −0
Original line number Diff line number Diff line
@@ -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?”."

+5 −5
Original line number Diff line number Diff line
@@ -58,19 +58,19 @@
							<span class="card-title"><%= L('landingpage.greeting-prefix') %> <%= $user->{name} %><%= L('landingpage.greeting-suffix') %></span>
							<p><%= L('landingpage.not-checked-in') %>.</p>
							<div class="geolocation" data-recent="<%= join('|', map { $_->{external_id_or_eva} . ';' . $_->{name} . ';' . $_->{dbris} . ';' . $_->{efa} . ';' . $_->{hafas} . ';' . $_->{motis} } @{stash('recent_targets') // []} ) %>" data-backend="<%= $user->{backend_id} %>">
								<a class="btn waves-effect waves-light btn-flat request">Stationen in der Umgebung abfragen</a>
								<a class="btn waves-effect waves-light btn-flat request"><%= L('landingpage.stop-geosearch') %></a>
							</div>
							%= hidden_field backend_dbris => $user->{backend_dbris}
							<div class="input-field">
								%= text_field 'station', id => 'station', class => 'autocomplete contrast-color-text', autocomplete => 'off', required => undef
								<label for="station">Manuelle Eingabe</label>
								<label for="station"><%= L('landingpage.manual-stop-entry') %></label>
							</div>
						</div>
						<div class="card-action">
							<a href="/account/select_backend?redirect_to=/" class="btn btn-flat"><i class="material-icons left" aria-hidden="true"><%= $user->{backend_hafas} ? 'directions' : 'train' %></i><%= $user->{backend_name} // 'IRIS' %></a>
							<button class="btn right waves-effect waves-light btn-flat" type="submit" name="action" value="departures">
								<i class="material-icons left" aria-hidden="true">send</i>
								Abfahrten
								%= L('landingpage.departures')
							</button>
						</div>
					</div>
@@ -97,8 +97,8 @@
			</div>
		</div>
	% }
	<h2 style="margin-left: 0.75rem;">Letzte Fahrten</h2>
	%= include '_history_trains', date_format => '%d.%m.%Y', journeys => [journeys->get(uid => $user->{id}, limit => 5, with_datetime => 1)];
	<h2 style="margin-left: 0.75rem;"><%= L('landingpage.latest-trips') %></h2>
	%= include '_history_trains', date_format => L('landingpage.date-format'), journeys => [journeys->get(uid => $user->{id}, limit => 5, with_datetime => 1)];
% }
% else {
	<div class="row">