mirror of
https://github.com/derf/travelynx
synced 2024-11-10 06:54:17 +00:00
landingpage: Fix plural for "0 minutes"
This commit is contained in:
parent
e168d9cd39
commit
5af134ef1e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
<p>
|
||||
Abfahrt
|
||||
% if ($dep_wait > 0) {
|
||||
in <%= int(($status->{real_departure}->epoch - $now->epoch)/60) %> Minute<%= $dep_wait >= 2 ? 'n' : '' %>
|
||||
in <%= int(($status->{real_departure}->epoch - $now->epoch)/60) %> Minute<%= $dep_wait == 1 ? '' : 'n' %>
|
||||
% }
|
||||
um <b><%= $status->{real_departure}->strftime('%H:%M') %></b>
|
||||
% if ($status->{real_departure}->epoch != $status->{sched_departure}->epoch) {
|
||||
|
|
Loading…
Reference in a new issue