mirror of
https://github.com/derf/travelynx
synced 2024-11-13 00:07:09 +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>
|
<p>
|
||||||
Abfahrt
|
Abfahrt
|
||||||
% if ($dep_wait > 0) {
|
% 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>
|
um <b><%= $status->{real_departure}->strftime('%H:%M') %></b>
|
||||||
% if ($status->{real_departure}->epoch != $status->{sched_departure}->epoch) {
|
% if ($status->{real_departure}->epoch != $status->{sched_departure}->epoch) {
|
||||||
|
|
Loading…
Reference in a new issue