@ -143,6 +162,7 @@ class ApplicationController < LinguaFrancaApplicationController
# show the error page
# show the error page
error_500exception
error_500exception
raiseexception
end
end
defgenerate_confirmation(user,url,expiry=nil)
defgenerate_confirmation(user,url,expiry=nil)
@ -276,7 +296,7 @@ class ApplicationController < LinguaFrancaApplicationController
# send and email if this is production
# send and email if this is production
UserMailer.error_report(
UserMailer.error_report(
"A missing translation found in #{Rails.env}",
"A missing translation found in #{Rails.env}",
"A translation for #{key} in #{locale.to_s} was found. The text that was rendered to the user was\"#{str||'nil'}\".",
"<p>A translation for <code>#{key}</code> in <code>#{locale.to_s}</code> was found. The text that was rendered to the user was:</p><blockquote>#{str||'nil'}</blockquote>",
=_'register.email.registration_confirmed.thank_you',"Hi #{@data[:user][:username]}, thank you for completing your registration. We'll see you at Bike!Bike!"
=_'register.email.registration_confirmed.please_pay',"If you have not already done so, we ask that you pay the registration donation as soon as you can. At your convenience please visit the link below."
= @confirmation_url
=_'register.email.registration_confirmed.info',"We'll have housing, loaner bikes, and food arranged for your arrival. If you have any other questions or concerns, please email bikebike2014columbus@gmail.com."
=_'register.email.registration_confirmed.contact',"For urgent/emergency matters, you can reach our Outreach Coordinator, Reda, at 503-984-9191 or Jason at 614-364-3636."
=_'email.confirmation.paragraph.please_confirm','Hello! To gain access to registration and other features of Bike!Bike!, please confirm your email address by clicking on following link:'
=_'email.general.paragraph.thank_you', "Thank you #{@user.firstname},", :vars => {:name => @user.firstname}
- if @conference.registration_status.to_sym == :pre
=_'email.general.paragraph.pre_registered', "You have successfully pre-registered for #{@conference.title}. We will let you know when registration is fully open and if there is any important news about the conference that you should know about. We encourage you to create or volunteer to facilitate workshops soon. You can do that, or change your registration details at any time by clicking on the pre-register link again.", :vars => {:conference_title => @conference.title}
%p=_'email.workshop.paragraph.request_message',"Below is a message from #{@requester.firstname}:", :vars => {:workshop_title => @workshop.title, :user_name => @requester.firstname}
%p=_'email.workshop.paragraph.request_message',"Below is a message from #{@requester.firstname}:", :vars => {:workshop_title => @workshop.title, :user_name => @requester.name}
=_'email.workshop.paragraph.request_message',"Below is a message from #{@requester.firstname}:", :vars => {:workshop_title => @workshop.title, :user_name => @requester.firstname}
=' ------------------------- '
=@message
=' ------------------------- '
=_'email.workshop.paragraph.request_instructions',"You can approve or deny this request on your workshop page: "
=_'email.workshop.paragraph.request_approved',"Your request to become a facilitator of #{@workshop.title} has been approved and you may now edit the workshop.", :vars => {:workshop_title => @workshop.title}
=_'email.workshop.paragraph.request_denied',"Your request to become a facilitator of #{@workshop.title} has been denied. If you think this was in error, you may contact the current facilitators by making another request to facilitate.", :vars => {:workshop_title => @workshop.title}
%h2=_'articles.workshops.headings.Delete_Workshop',"Are you sure you want to delete the workshop: <em>#{@workshop.title}</em>?", :vars => {:title => "<em>#{@workshop.title}</em>".html_safe}
%h2=_'articles.workshops.headings.Delete_Workshop',"Are you sure you want to delete the workshop: <em>#{@workshop.title}</em>?", :vars => {:title => "<em>#{@workshop.title}</em>".html_safe}
confirm_remove:Are you sure you would like to remove %{user_name} as a facilitator of this workshop?
confirm_remove_self:Are you sure you would like to remove yourself as a facilitator of this workshop?
confirm_transfer_ownership:By transferring ownership, you will lose administrative capabilities such as deletion and approving new facilitators. Are you sure you want to transfer ownership to %{user_name}?
articles:
articles:
policy:
policy:
headings:
headings:
@ -5512,6 +5521,7 @@ en:
theme:Which of the themes below best match your workshop? This will help
theme:Which of the themes below best match your workshop? This will help
hosts to avoid scheduling conflicts. Select other if none of the options
hosts to avoid scheduling conflicts. Select other if none of the options
match in any way.
match in any way.
Delete_Workshop:Deleting a workshop cannot be undone, are you sure that you want to proceed?
new_workshop:'Workshops in the past have tended to fit into a few broad categories:
new_workshop:'Workshops in the past have tended to fit into a few broad categories:
structural/organizational (how to start a shop, how to register a non-profit,
structural/organizational (how to start a shop, how to register a non-profit,
consensus decision making, etc,) mechanical (how to weld two tandems to
consensus decision making, etc,) mechanical (how to weld two tandems to
@ -5744,6 +5754,7 @@ en:
paragraph:
paragraph:
workshop_translated:'%{user_name} has modified the %{language} translation for %{workshop_title}.'
workshop_translated:'%{user_name} has modified the %{language} translation for %{workshop_title}.'
workshop_original_content_changed:'%{user_name} has modified the original content for %{workshop_title}. Translations may need to be updated.'
workshop_original_content_changed:'%{user_name} has modified the original content for %{workshop_title}. Translations may need to be updated.'
workshop:
paragraph:
paragraph:
request_approved:You have been added as a facilitator of %{workshop_title}.
request_approved:You have been added as a facilitator of %{workshop_title}.
request_denied:Your request to become a facilitator of %{workshop_title}
request_denied:Your request to become a facilitator of %{workshop_title}