From 6c552af10823c69dc740fea696622d543e297a1e Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 27 Mar 2024 18:43:31 +0100 Subject: Remove I18N for now. It's incompatible with caching proxy setups. --- templates/layouts/app.html.ep | 57 ++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 28 deletions(-) (limited to 'templates/layouts') diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index ab4dffa..94e0930 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -102,8 +102,8 @@ % } % elsif (stash('stationlist')) { -
<%= l 'Mehrdeutige Eingabe' %>. -<%= l 'Bitte eine Station aus der Liste auswählen' %>
+
Mehrdeutige Eingabe. +Bitte eine Station aus der Liste auswählen
% } @@ -119,35 +119,35 @@ %= form_for _redirect => begin
-
<%= l 'Zug / Station' %>
+
Zug / Station
% if (stash('stationlist')) { %= select_field input => stash('stationlist') % } % elsif (stash('input')) { - %= text_field 'input', class => 'station', placeholder => l 'Zug, Stationsname oder Ril100-Kürzel', id => 'stationinput' + %= text_field 'input', class => 'station', placeholder => 'Zug, Stationsname oder Ril100-Kürzel', id => 'stationinput' % } % else { - %= text_field 'input', class => 'station', placeholder => l 'Zug, Stationsname oder Ril100-Kürzel', id => 'stationinput', autofocus => 'autofocus' + %= text_field 'input', class => 'station', placeholder => 'Zug, Stationsname oder Ril100-Kürzel', id => 'stationinput', autofocus => 'autofocus' % }
- %= submit_button l('Abfahrtstafel') + %= submit_button 'Abfahrtstafel'
% if (stash('input')) { % }
-
<%= l 'Weitere Einstellungen' %>
+
Weitere Einstellungen
%= check_box 'rt' => 1, id => 'id_show_realtime'
@@ -155,7 +155,7 @@
%= check_box 'hidelowdelay' => 1, id => 'id_hidelowdelay'
@@ -163,7 +163,7 @@
%= check_box 'detailed' => 1, id => 'id_detailed'
@@ -171,7 +171,7 @@
%= check_box 'no_related' => 1, id => 'id_no_related'
@@ -179,7 +179,7 @@
%= check_box 'past' => 1, id => 'past'
@@ -187,21 +187,21 @@
%= check_box 'hide_opts' => 1, id => 'id_hide_opts'
- %= l 'Nur Züge über' + Nur Züge über
- %= text_field 'via', placeholder => l('Bahnhof 1, Bhf2, ... (oder regulärer Ausdruck)'), class => 'station' + %= text_field 'via', placeholder => 'Bahnhof 1, Bhf2, ... (oder regulärer Ausdruck)', class => 'station'
- %= l 'Gleise' + Gleise
%= text_field 'platforms', placeholder => '1, 2, 5, ...' @@ -209,10 +209,10 @@
- %= l 'Ankunfts- oder Abfahrtszeit anzeigen?' + Ankunfts- oder Abfahrtszeit anzeigen?
- %= select_field admode => [[l('Abfahrt bevorzugen') => 'deparr'], [l('Nur Abfahrt') => 'dep'], [l('Nur Ankunft') => 'arr']] + %= select_field admode => [['Abfahrt bevorzugen' => 'deparr'], ['Nur Abfahrt' => 'dep'], ['Nur Ankunft' => 'arr']]
@@ -224,7 +224,7 @@
- %= submit_button l('Anzeigen') + %= submit_button 'Anzeigen'
@@ -236,7 +236,7 @@
API