Fixed ocale not found translations and copy on email confirmation page
This commit is contained in:
@@ -194,7 +194,7 @@ class ApplicationController < LinguaFrancaApplicationController
|
||||
end
|
||||
|
||||
def locale_not_available!(locale = nil)
|
||||
# set_default_locale
|
||||
set_default_locale
|
||||
params[:_original_action] = params[:action]
|
||||
params[:action] = 'error-locale-not-available'
|
||||
@page_title = 'page_titles.404.Locale_Not_Available'
|
||||
|
||||
@@ -531,7 +531,6 @@ class ConferencesController < ApplicationController
|
||||
|
||||
@is_host = @this_conference.host? current_user
|
||||
else
|
||||
@page_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
|
||||
@register_template = :confirm_email
|
||||
end
|
||||
|
||||
@@ -880,8 +879,8 @@ class ConferencesController < ApplicationController
|
||||
@entire_page = true
|
||||
get_scheule_data
|
||||
end
|
||||
when :done
|
||||
@amount = ((@registration.registration_fees_paid || 0) * 100).to_i.to_s.gsub(/^(.*)(\d\d)$/, '\1.\2')
|
||||
when :confirm_email
|
||||
@page_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user