fix switch menu
This commit is contained in:
parent
5e9bd17606
commit
fec94f9683
4 changed files with 11 additions and 5 deletions
|
@ -5,6 +5,6 @@
|
|||
- orders.each do |order|
|
||||
%li( class='#{ order == current_order ? "active" : ""}'
|
||||
data-toggle='tooltip'
|
||||
data-placement='left'
|
||||
title='#{t('.remaining', remaining: time_ago_in_words(order.ends))}')
|
||||
= link_to_ordering(order, 'data-confirm_switch_order' => true){ order.ends ? order.name : order.name }
|
||||
data-placement='bottom'
|
||||
title='#{ order.ends ? t('.remaining', remaining: time_ago_in_words(order.ends)) : "" }')
|
||||
= link_to_ordering(order, 'data-confirm_switch_order' => true)
|
||||
|
|
|
@ -1099,8 +1099,10 @@ de:
|
|||
sum: Summe
|
||||
title: Dein Bestellergebnis für %{order}
|
||||
switch_order:
|
||||
remaining: "noch %{remaining}"
|
||||
remaining: "%{remaining} bis Bestellschluss"
|
||||
title: Laufende Bestellungen
|
||||
order_details:
|
||||
details: Details anzeigen
|
||||
update:
|
||||
error_general: Die Bestellung konnte nicht aktualisiert werden, da ein Fehler auftrat.
|
||||
error_stale: In der Zwischenzeit hat jemand anderes auch bestellt, daher konnte die Bestellung nicht aktualisiert werden.
|
||||
|
|
|
@ -1103,6 +1103,8 @@ en:
|
|||
switch_order:
|
||||
remaining: "%{remaining} until order closes"
|
||||
title: Current orders
|
||||
order_details:
|
||||
details: Show Details
|
||||
update:
|
||||
error_general: The order couldn’t be updated due to a bug.
|
||||
error_stale: Someone else has ordered in the meantime, couldn't update the order.
|
||||
|
|
|
@ -1071,8 +1071,10 @@ nl:
|
|||
sum: Som
|
||||
title: Jouw bestelling voor %{order}
|
||||
switch_order:
|
||||
remaining: "nog %{remaining}"
|
||||
remaining: "%{remaining} tot bestelling sluit"
|
||||
title: Lopende bestellingen
|
||||
order_details:
|
||||
details: Bekijk details
|
||||
update:
|
||||
error_general: Er is een probleem opgetreden, de bestelling kon niet bijgewerkt worden.
|
||||
error_stale: In de tussentijd heeft iemand anders ook bestelt, daarom kon je bestelling niet opgeslagen worden. Sorry!
|
||||
|
|
Loading…
Reference in a new issue