Fixed missing translations

This commit is contained in:
Godwin 2016-06-12 20:53:22 -07:00
parent f45a8ea434
commit 4148760773
2 changed files with 4 additions and 3 deletions

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 (_"form.actions.aria.#{interested.to_s}"), id) +
return (off_screen (_"form.actions.aria.generic.#{interested.to_s}"), id) +
(button_tag interested, :value => :toggle_interest, :class => (workshop.interested?(current_user) ? :delete : :add), aria: { labelledby: id })
end

View File

@ -5616,10 +5616,11 @@ en:
next: Next
continue: Continue
facebook_sign_in: Facebook Sign In
aria:
aria:
generic:
remove_interest: Click if you are no longer interested in this workshop
show_interest: Click if you are interested in this workshop
'add': 'Add new'
add: Add new
page_titles:
'403':
Access_Denied: Access Denied