improve task i18n (affects foodcoops#137)
This commit is contained in:
parent
b05c75aef3
commit
e42e27957d
5 changed files with 18 additions and 21 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue