helpers i18n
This commit is contained in:
parent
3f82138d84
commit
a501fac76f
7 changed files with 41 additions and 21 deletions
|
|
@ -10,7 +10,7 @@ module TasksHelper
|
|||
def highlighted_required_users(task)
|
||||
unless task.enough_users_assigned?
|
||||
content_tag :span, task.still_required_users, class: 'badge badge-important',
|
||||
title: "Es fehlen #{task.still_required_users} Mitstreiterinnen!"
|
||||
title: I18n.t('helpers.tasks.required_users', :count => task.still_required_users)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue