summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller/Stationboard.pm
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 /lib/DBInfoscreen/Controller/Stationboard.pm
parent1d9f62e14a7da11fa51e04854efbc6d5fd72a6ac (diff)
Remove I18N for now. It's incompatible with caching proxy setups.
Diffstat (limited to 'lib/DBInfoscreen/Controller/Stationboard.pm')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 757790d..cff1ff8 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -833,9 +833,9 @@ sub render_train {
my %opt = ( train => $result );
- if ( $self->languages =~ m{^en} ) {
- $opt{language} = 'en';
- }
+ #if ( $self->languages =~ m{^en} ) {
+ # $opt{language} = 'en';
+ #}
$self->hafas->get_route_p(%opt)->then(
sub {
@@ -1117,9 +1117,9 @@ sub train_details {
$opt{service} = $hafas;
}
- if ( $self->languages =~ m{^en} ) {
- $opt{language} = 'en';
- }
+ #if ( $self->languages =~ m{^en} ) {
+ # $opt{language} = 'en';
+ #}
if ( my $date = $self->param('date') ) {
if ( $date