Fixed missing translations

This commit is contained in:
Godwin
2016-06-12 21:09:11 -07:00
parent f38e059080
commit a049108229
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -709,7 +709,7 @@ module ApplicationHelper
def interest_button(workshop)
interested = workshop.interested?(current_user) ? :remove_interest : :show_interest
id = "#{interested.to_s.gsub('_', '-')}-#{workshop.id}"
return (off_screen (_"forms.actions.aria.generic.#{interested.to_s}"), id) +
return (off_screen (_"forms.actions.aria.#{interested.to_s}"), id) +
(button_tag interested, :value => :toggle_interest, :class => (workshop.interested?(current_user) ? :delete : :add), aria: { labelledby: id })
end