mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-26 10:46:10 +01:00
fix #1165. forgot one i18n change in due_date
This commit is contained in:
parent
7d5ca16044
commit
99f1b9b6df
4 changed files with 10 additions and 5 deletions
|
|
@ -52,8 +52,10 @@ module ApplicationHelper
|
|||
end
|
||||
else
|
||||
# overdue or due very soon! sound the alarm!
|
||||
if days < 0
|
||||
t('todos.next_actions_due_date.overdue_by', :days => pluralize(days * -1, 'day'))
|
||||
if days == -1
|
||||
t('todos.next_actions_due_date.overdue_by', :days => days * -1)
|
||||
elsif days < -1
|
||||
t('todos.next_actions_due_date.overdue_by_plural', :days => days * -1)
|
||||
else
|
||||
# more than a week away - relax
|
||||
t('models.preference.due_in', :days => days)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue