summaryrefslogtreecommitdiff
path: root/templates/_map_infobox.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-03-27 18:43:31 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-03-27 18:43:31 +0100
commit6c552af10823c69dc740fea696622d543e297a1e (patch)
tree33c90615ae8351ee3f986e471dcd7ab668891dd9 /templates/_map_infobox.html.ep
parent1d9f62e14a7da11fa51e04854efbc6d5fd72a6ac (diff)
Remove I18N for now. It's incompatible with caching proxy setups.
Diffstat (limited to 'templates/_map_infobox.html.ep')
-rw-r--r--templates/_map_infobox.html.ep34
1 files changed, 17 insertions, 17 deletions
diff --git a/templates/_map_infobox.html.ep b/templates/_map_infobox.html.ep
index 4f9a644..7372802 100644
--- a/templates/_map_infobox.html.ep
+++ b/templates/_map_infobox.html.ep
@@ -4,40 +4,40 @@ data-req="<%= stash('ajax_req') =~ s{#}{%23}gr %>"
data-route="<%= stash('ajax_route') %>"
data-poly="<%= stash('ajax_polyline') %>"
>
- %= l 'Fahrt'
+ Fahrt
% if (stash('train_no')) {
<strong><%= stash('train_no') %></strong>
% }
- <%= l 'von' %> <strong><%= stash('origin')->{name} %></strong>
- <%= l 'nach' %> <strong><%= stash('destination')->{name} %></strong>
+ von <strong><%= stash('origin')->{name} %></strong>
+ nach <strong><%= stash('destination')->{name} %></strong>
</div>
% if (my $next = stash('next_stop')) {
<div class="nextstop">
% if ($next->{type} eq 'present' and $next->{station}{dep} and $next->{station}{arr}) {
- <%= l 'Aufenthalt in' %> <strong><%= $next->{station}->loc->name %></strong>
+ Aufenthalt in <strong><%= $next->{station}->loc->name %></strong>
% if ($next->{station}{platform}) {
- <%= l 'an Gleis' %> <strong><%= $next->{station}{platform} %></strong>
+ an Gleis <strong><%= $next->{station}{platform} %></strong>
% }
- <%= l 'bis' %> <strong><%= $next->{station}{dep}->strftime('%H:%M') %></strong>
+ bis <strong><%= $next->{station}{dep}->strftime('%H:%M') %></strong>
% if ($next->{station}{dep_delay}) {
%= sprintf('(%+d)', $next->{station}{dep_delay})
% }
% }
% elsif ($next->{type} eq 'present' and $next->{station}{dep}) {
- <%= l 'Abfahrt in' %> <strong><%= $next->{station}->loc->name %></strong>
+ Abfahrt in <strong><%= $next->{station}->loc->name %></strong>
% if ($next->{station}{platform}) {
- <%= l 'von Gleis' %> <strong><%= $next->{station}{platform} %></strong>
+ von Gleis <strong><%= $next->{station}{platform} %></strong>
% }
- <%= l 'um' %> <strong><%= $next->{station}{dep}->strftime('%H:%M') %></strong>
+ um <strong><%= $next->{station}{dep}->strftime('%H:%M') %></strong>
% if ($next->{station}{dep_delay}) {
%= sprintf('(%+d)', $next->{station}{dep_delay})
% }
% }
% elsif ($next->{type} eq 'present' and $next->{station}{arr}) {
- %= l 'Endstation erreicht um'
+ Endstation erreicht um
<strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong>
% if ($next->{station}{platform}) {
- <%= l 'auf Gleis' %> <strong><%= $next->{station}{platform} %></strong>
+ auf Gleis <strong><%= $next->{station}{platform} %></strong>
% }
% if ($next->{station}{arr_delay}) {
%= sprintf('(%+d)', $next->{station}{arr_delay})
@@ -47,25 +47,25 @@ data-poly="<%= stash('ajax_polyline') %>"
Zug steht in
<strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong>
% if ($next->{station}{platform}) {
- <%= l 'auf Gleis' %> <strong><%= $next->{station}{platform} %></strong>
+ auf Gleis <strong><%= $next->{station}{platform} %></strong>
% }
% }
% elsif ($next->{type} eq 'next' and $next->{station}{arr}) {
- %= l 'Nächster Halt:'
+ Nächster Halt:
<strong><%= $next->{station}->loc->name %></strong>
- <%= l 'um' %> <strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong>
+ um <strong><%= $next->{station}{arr}->strftime('%H:%M') %></strong>
% if ($next->{station}{arr_delay}) {
%= sprintf('(%+d)', $next->{station}{arr_delay})
% }
% if ($next->{station}{platform}) {
- <%= l 'auf Gleis' %> <strong><%= $next->{station}{platform} %></strong>
+ auf Gleis <strong><%= $next->{station}{platform} %></strong>
% }
% }
% elsif ($next->{type} eq 'next') {
- %= l 'Nächster Halt:'
+ Nächster Halt:
<strong><%= $next->{station}->loc->name %></strong>
% if ($next->{station}{platform}) {
- <%= l 'auf Gleis' %> <strong><%= $next->{station}{platform} %></strong>
+ auf Gleis <strong><%= $next->{station}{platform} %></strong>
% }
% }
</div>