diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-10-31 14:37:33 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-10-31 14:37:33 +0100 |
commit | b31c75334c0054ddae213defdb3f38280ced3aef (patch) | |
tree | f8b2f90b98c0bc81e61afb8d138f00266ddf4b6d /lib/DBInfoscreen/Controller/Wagenreihung.pm | |
parent | a4dabd1b6b13592e9ca07a5bbcbeff2c01e9de18 (diff) |
i18n for map and wagon order
Diffstat (limited to 'lib/DBInfoscreen/Controller/Wagenreihung.pm')
-rw-r--r-- | lib/DBInfoscreen/Controller/Wagenreihung.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/DBInfoscreen/Controller/Wagenreihung.pm b/lib/DBInfoscreen/Controller/Wagenreihung.pm index 5d48705..3287d85 100644 --- a/lib/DBInfoscreen/Controller/Wagenreihung.pm +++ b/lib/DBInfoscreen/Controller/Wagenreihung.pm @@ -333,15 +333,15 @@ sub wagen { ); } - my $title = "Wagen $wagon_id"; + my $title = $self->l('Wagen ') . $wagon_id; if ( $wref->{tt} and $wref->{tn} ) { $title = sprintf( '%s %s', $wref->{tt}, $wref->{tn} ); if ($wagon_no) { - $title .= " Wagen $wagon_no"; + $title .= ' ' . $self->l('Wagen ') . $wagon_no; } else { - $title .= " Wagen $wagon_id"; + $title .= ' ' . $self->l('Wagen ') . $wagon_id; } } |