Fixed deployment and added Spanish translations

This commit is contained in:
Godwin 2016-05-21 13:57:09 -07:00
parent 29235633a6
commit 1bf6faf54b
4 changed files with 7 additions and 12 deletions

View File

@ -1,6 +1,4 @@
class ConferenceRegistrationFormField < ActiveRecord::Base
belongs_to :conference
belongs_to :registration_form_field
acts_as_list
end
class ConferenceRegistrationFormField < ActiveRecord::Base
belongs_to :conference
belongs_to :registration_form_field
end

View File

@ -14,7 +14,7 @@
- if locale.to_s != I18n.locale.to_s # don't show the current locale
%li
- locale_translation = _("languages.#{locale}", locale: locale)
%a{href: url_for(params.merge(url_params(locale)))}
%a{href: url_for_locale(locale)}
=_'translate.content.change_locale', "Read in #{locale_translation}", vars: {language: locale_translation}, locale: locale
.copy
=_'links.footer.help_text.contributors', 'Who contributed to building this website' do |title|

View File

@ -203,19 +203,16 @@ Rails.application.config.sorcery.configure do |config|
# use an external encryption class.
# Default: `nil`
#
user.custom_encryption_provider = Sorcery::CryptoProviders::DrupalPassword
# encryption algorithm name. See 'encryption_algorithm=' for available options.
# Default: `:bcrypt`
#
user.encryption_algorithm = :custom#:sha512
# make this configuration inheritable for subclasses. Useful for ActiveRecord's STI.
# Default: `false`
#
user.subclasses_inherit_config = true
# -- remember_me --

View File

@ -1010,8 +1010,8 @@ es:
Please_Confirm_Email: Página no encontrada
'404':
Page_Not_Found: Crear un taller
Policy: 'Policy'
About: 'About'
Policy: 'Política'
About: 'Acerca de'
actions:
workshops:
create: Crear