From 766b2ee034b0cf047e24d85ae47cba6905df77dd Mon Sep 17 00:00:00 2001
From: Daniel Friesel
+Beim Bearbeiten der Anfrage ist ein Fehler aufgetreten.
----------[Debug start]----------
@@ -20,7 +20,7 @@ Stash:
%= dumper $snapshot
----------[Debug end]----------
-Return to main page
+Zurück zur Hauptseite
%= $error
diff --git a/templates/main.html.ep b/templates/main.html.ep
index fd2db1e..ed37eaf 100644
--- a/templates/main.html.ep
+++ b/templates/main.html.ep
@@ -14,7 +14,7 @@
% if ($errstr) {
-Received an error from the backend service:
+Backend-Fehler:
%= $errstr
@@ -29,7 +29,7 @@ height="<%= $height * 5 %>" width="<%= $width * 5 %>">
% }
% elsif ($frontend eq 'infoscreen') {
-<%= $stop %>.html?<%= $params %>&template=infoscreen">Infoscreen for
+<%= $stop %>.html?<%= $params %>&template=infoscreen">Infoscreen für
<%= $city %> <%= $stop %>
Preview:
@@ -39,59 +39,55 @@ height="<%= $height * 5 %>" width="<%= $width * 5 %>">
% elsif ($frontend eq 'json') {
-<%= $stop %>.json?<%= $params %>">JSON data for
+<%= $stop %>.json?<%= $params %>">JSON-Daten für
<%= $city %> <%= $stop %>
-Data is cached for 1 minute. JSON format:
+Die Daten werden für 5 Minuten zwischengespeichert. Format:
-- error: err string if an error occured, otherwise null
-- preformatted: strings used by the PNG / HTML frontend
+- error: Fehlermeldung im Fehlerfall, sonst null
+- preformatted: Die vom PNG/HTML-Frontend verwendeten Angaben
- raw:
% if (param('backend') and param('backend') =~ m{ ^db | ^hafas }x) {
-serialized
+Serialisierte
-Travel::Status::DE::HAFAS-objects, see the
+Travel::Status::DE::HAFAS-Objekte, siehe die Dokumentation zu
::Result
-documentation
% }
% elsif (param('backend') and param('backend') eq 'aseag') {
-serialized
+Serialisierte
-Travel::Status::DE::URA-objects, see the
+Travel::Status::DE::URA-Objekte, siehe die Dokumentation zu
::Result
-documentation
% }
% else {
-serialized
+Serialisierte
-Travel::Status::DE::EFA-objects, see the
+Travel::Status::DE::EFA-Objekte, siehe die Dokumentation zu
::Result
-and
+und
::Line
-documentation
% }
-- version: Program version (string, not numeric)
+- version: Aktuelle vrr-infoscreen-Version (String, keine Zahl)
-NOTE: The JSON interface is not guaranteed to be stable. The data layout may
-change any time.
+Bitte beachten: Das Datenformat des JSON-Interface kann sich jederzeit ohne
+Ankündigung ändern.
% }
% } # ($stop)
% else {
-VRR-Infoscreen shows the next departures at a public transit stop, just like
-the Lumino LED displays used in some places. It also supports an app /
-infoscreen-like frontend and JSON export.
+Diese Seite ist ein inoffizielles Frontend für die Abfahrtsmonitore
+einiger europäischer Nahverkehrsunternehmen. Sie kannn wahlweise die oft an
+Haltestellen montierten LED-Displays nachahmen oder einen Handy- und
+Infoscreen-tauglichen Abfahrtsmonitor anzeigen.
-It works best for the VRR (Verkehrsverbund Rhein-Ruhr), but also supports many
-other german transit networks. All data is provided without warranty of any
-kind.
+Alle Angaben ohne Gewähr.
% }
@@ -100,14 +96,14 @@ kind.
% if (my $error = stash 'error') {
- Error: <%= $error %>
+ Fehler: <%= $error %>
% }
%= form_for _redirect => begin
- City (required for EFA backend, optional otherwise)
+ Stadt (Pflichtfeld für EFA-Backends, sonst optional)
% if (stash('place_candidates') and @{ stash('place_candidates') } ) {
% my @candidates = map { [ $_, $_ ] } @{ stash('place_candidates') };
@@ -119,7 +115,7 @@ kind.
- Stop
+ Haltestelle
% if (stash('name_candidates') and @{ stash('name_candidates') } ) {
% my @candidates = map { [ $_, $_ ] } @{ stash('name_candidates') };
@@ -131,7 +127,7 @@ kind.
- %= submit_button 'Display'
+ %= submit_button 'Anzeigen'
optional:
@@ -139,10 +135,10 @@ kind.
Frontend
% if ($self->browser->mobile) {
- %= select_field frontend => [['App / Infoscreen' => 'infoscreen'], ['LED board (PNG)' => 'png'], ['LED board (HTML)' => 'html'], ['JSON' => 'json']]
+ %= select_field frontend => [['App / Infoscreen' => 'infoscreen'], ['LED-Tafel (PNG)' => 'png'], ['LED-Tafel (HTML)' => 'html'], ['JSON' => 'json']]
% }
% else {
- %= select_field frontend => [['LED board (PNG)' => 'png'], ['LED board (HTML)' => 'html'], ['App / Infoscreen' => 'infoscreen'], ['JSON' => 'json']]
+ %= select_field frontend => [['LED-Tafel (PNG)' => 'png'], ['LED-Tafel (HTML)' => 'html'], ['App / Infoscreen' => 'infoscreen'], ['JSON' => 'json']]
% }
@@ -159,27 +155,27 @@ kind.
-¹ separate values with commas, e.g. NE,U,10 +¹ Es können mehrere durch Kommata getrennte Werte angegeben werden, z.B. NE,U,10