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/_map_infobox.html.ep | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'templates/_map_infobox.html.ep') 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')) { <%= stash('train_no') %> % } - <%= l 'von' %> <%= stash('origin')->{name} %> - <%= l 'nach' %> <%= stash('destination')->{name} %> + von <%= stash('origin')->{name} %> + nach <%= stash('destination')->{name} %> % if (my $next = stash('next_stop')) {
% if ($next->{type} eq 'present' and $next->{station}{dep} and $next->{station}{arr}) { - <%= l 'Aufenthalt in' %> <%= $next->{station}->loc->name %> + Aufenthalt in <%= $next->{station}->loc->name %> % if ($next->{station}{platform}) { - <%= l 'an Gleis' %> <%= $next->{station}{platform} %> + an Gleis <%= $next->{station}{platform} %> % } - <%= l 'bis' %> <%= $next->{station}{dep}->strftime('%H:%M') %> + bis <%= $next->{station}{dep}->strftime('%H:%M') %> % if ($next->{station}{dep_delay}) { %= sprintf('(%+d)', $next->{station}{dep_delay}) % } % } % elsif ($next->{type} eq 'present' and $next->{station}{dep}) { - <%= l 'Abfahrt in' %> <%= $next->{station}->loc->name %> + Abfahrt in <%= $next->{station}->loc->name %> % if ($next->{station}{platform}) { - <%= l 'von Gleis' %> <%= $next->{station}{platform} %> + von Gleis <%= $next->{station}{platform} %> % } - <%= l 'um' %> <%= $next->{station}{dep}->strftime('%H:%M') %> + um <%= $next->{station}{dep}->strftime('%H:%M') %> % 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 <%= $next->{station}{arr}->strftime('%H:%M') %> % if ($next->{station}{platform}) { - <%= l 'auf Gleis' %> <%= $next->{station}{platform} %> + auf Gleis <%= $next->{station}{platform} %> % } % if ($next->{station}{arr_delay}) { %= sprintf('(%+d)', $next->{station}{arr_delay}) @@ -47,25 +47,25 @@ data-poly="<%= stash('ajax_polyline') %>" Zug steht in <%= $next->{station}{arr}->strftime('%H:%M') %> % if ($next->{station}{platform}) { - <%= l 'auf Gleis' %> <%= $next->{station}{platform} %> + auf Gleis <%= $next->{station}{platform} %> % } % } % elsif ($next->{type} eq 'next' and $next->{station}{arr}) { - %= l 'Nächster Halt:' + Nächster Halt: <%= $next->{station}->loc->name %> - <%= l 'um' %> <%= $next->{station}{arr}->strftime('%H:%M') %> + um <%= $next->{station}{arr}->strftime('%H:%M') %> % if ($next->{station}{arr_delay}) { %= sprintf('(%+d)', $next->{station}{arr_delay}) % } % if ($next->{station}{platform}) { - <%= l 'auf Gleis' %> <%= $next->{station}{platform} %> + auf Gleis <%= $next->{station}{platform} %> % } % } % elsif ($next->{type} eq 'next') { - %= l 'Nächster Halt:' + Nächster Halt: <%= $next->{station}->loc->name %> % if ($next->{station}{platform}) { - <%= l 'auf Gleis' %> <%= $next->{station}{platform} %> + auf Gleis <%= $next->{station}{platform} %> % } % }
-- cgit v1.2.3