From ec9dad579ba316b2db46a9ea3377836be290f157 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 23 Oct 2014 23:38:03 +0200 Subject: translate page to german, as the Deutsche Bahn delay messages are german anyways --- templates/layouts/default.html.ep | 60 ++++++++++++++++++++++++++------------- templates/multi.html.ep | 8 ------ templates/single.html.ep | 5 ---- 3 files changed, 40 insertions(+), 33 deletions(-) (limited to 'templates') diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 8600b8f..9fd301b 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -18,7 +18,7 @@ % if (my $error = stash 'error') { -
Received an error from the backend service:
+
Backend-Fehler:
 %= $error
@@ -28,6 +28,24 @@
 
 %= content
 
+% if (stash 'show_intro') {
+

+ Diese Seite ist ein Frontend zum + Abfahrtsmonitor + der Deutschen Bahn. Sie ersetzt ihn nicht, kann dafür aber gut die in den + Bahnhofshallen bzw. an den Gleisen verbauten Anzeigen nachahmen. +

+

+ Als Backend werden sowohl das RIS ("Reisenden-Informationssystem", d.h. der + Bahn-Abfahrtsmonitor) als auch das IRIS ("Innerbetriebliches + Reisenden-Informationssystem") unterstützt. Im Normalfall enthält das + IRIS mehr und detailliertere Angaben, aktuell wird ein Großteil davon + aber noch nicht unterstützt. Umleitungen und ausfallende Halte werden + aktuell ebenfalls nicht angezeigt. +

+% } + + % if (not $hide_opts) {
@@ -35,7 +53,7 @@ %= form_for _redirect => begin
-
Station name
+
Bahnhof / Haltestelle
% if (stash('stationlist')) { %= select_field station => stash('stationlist') @@ -47,10 +65,10 @@
- optional: + Optionale Einstellungen:
- only display routes via + Einschränken auf Unterwegshalte:
%= text_field 'via' @@ -58,7 +76,7 @@
- on platforms + Nur folgende Gleise anzeigen:
%= text_field 'platforms' @@ -66,7 +84,7 @@
- hide delay < 5 minutes + Nur Verspätungen über 5 Minuten anzeigen
%= check_box 'hidelowdelay' => 1 @@ -74,15 +92,15 @@
- display type + Layout
- %= select_field mode => [['combined' => 'multi'], ['platform' => 'single'], ['non-DB' => 'clean']] + %= select_field mode => [['Bahnhofstafel' => 'multi'], ['Gleis' => 'single'], ['Öffi' => 'clean']]
- backend + Backend
%= select_field backend => [['RIS' => 'ris'], ['IRIS' => 'iris']] @@ -90,7 +108,7 @@
- hide input fields + Formular verstecken
%= check_box 'hide_opts' => 1 @@ -102,30 +120,32 @@
-notes: +Anmerkungen:
    -
  • Umlauts do not work reliably. Try either ä → ae or ä → a
  • +
  • Umlaute funktionieren nicht mit allen Backend/Layout-Kombinationen. +Wenn etwas nicht funktioniert: +Umschreibungen der Art ä → ae oder ä → a benutzen.
-examples: +Beispiele:
diff --git a/templates/multi.html.ep b/templates/multi.html.ep index 26f3433..3a96381 100644 --- a/templates/multi.html.ep +++ b/templates/multi.html.ep @@ -46,11 +46,3 @@
% } -% else { - -

-DB-Fakedisplay displays the next departures at a DB station, just like the big -LC display in the station itself. -

- -% } diff --git a/templates/single.html.ep b/templates/single.html.ep index 7376eb4..9c60f20 100644 --- a/templates/single.html.ep +++ b/templates/single.html.ep @@ -46,9 +46,4 @@ Bitte Ansage beachten
-

-DB-Fakedisplay displays the next departures at a DB station, just like the big -LC display in the station itself. -

- % } -- cgit v1.2.3