fix #1165. forgot one i18n change in due_date

This commit is contained in:
Reinier Balt 2011-05-03 12:30:33 +02:00
parent 7d5ca16044
commit 99f1b9b6df
4 changed files with 10 additions and 5 deletions

View file

@ -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)

View file

@ -400,7 +400,8 @@ de:
show_today: Heute anzeigen
no_actions_found_title: Keine Aktionen gefunden
next_actions_due_date:
overdue_by: "\xC3\x9Cberf\xC3\xA4llig mit %{days}"
overdue_by: "\xC3\x9Cberf\xC3\xA4llig mit %{days} Tag"
overdue_by_plural: "\xC3\x9Cberf\xC3\xA4llig mit %{days} Tagen"
due_today: "Heute f\xC3\xA4llig"
due_in_x_days: "F\xC3\xA4llig in %{days} Tagen"
due_tomorrow: "F\xC3\xA4llig morgen"

View file

@ -549,7 +549,8 @@ en:
due_today: Due Today
due_tomorrow: Due Tomorrow
due_in_x_days: "Due in %{days} days"
overdue_by: "Overdue by %{days}"
overdue_by: "Overdue by %{days} day"
overdue_by_plural: "Overdue by %{days} days"
next_actions_title_additions:
due_today: "due today"
due_within_a_week: "due within a week"

View file

@ -389,7 +389,8 @@ nl:
show_today: Toon vandaag
no_actions_found_title: Geen acties gevonden
next_actions_due_date:
overdue_by: Over deadline met %{days}
overdue_by: Over deadline met %{days} dag
overdue_by_plural: Over deadline met %{days} dagen
due_today: Deadline vandaag
due_in_x_days: Deadline over %{days} dagen
due_tomorrow: Deadline morgen