improve task i18n (affects foodcoops#137)

This commit is contained in:
wvengen 2013-12-10 17:58:32 +01:00
parent b05c75aef3
commit e42e27957d
5 changed files with 18 additions and 21 deletions

View file

@ -13,4 +13,8 @@ module TasksHelper
title: I18n.t('helpers.tasks.required_users', :count => task.still_required_users)
end
end
def task_title(task)
I18n.t('helpers.tasks.task_title', name: task.name, duration: task.duration)
end
end