Fix singular-plural mismatch attribute on Houdini::Intl

This commit is contained in:
Eric Schultz 2020-10-26 15:52:33 -05:00 committed by Eric Schultz
parent 8fb92ef1ca
commit d277c7ab3e
3 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,7 @@ module Houdini
mattr_accessor :source_tokens, default: {}
mattr_accessor :show_state_fields, default: true
mattr_accessor :show_state_field, default: true
mattr_accessor :nonprofits_must_be_vetted, default: false
mattr_accessor :terms_and_privacy, default: {}

View file

@ -44,7 +44,7 @@ module Houdini
config.houdini.source_tokens.event_donation_source.max_uses = 20
config.houdini.source_tokens.event_donation_source.expiration_after_event = 20.days
config.houdini.show_state_fields = true
config.houdini.show_state_field = true
config.houdini.intl = ActiveSupport::OrderedOptions.new
config.houdini.intl.language = :en
@ -101,7 +101,7 @@ in the provided locales: #{Houdini.intl.available_locales.join(', ')}") if Houdi
Houdini.maps = app.config.houdini.maps
Houdini.nonprofits_must_be_vetted = app.config.houdini.nonprofits_must_be_vetted
Houdini.show_state_fields = app.config.houdini.show_state_fields
Houdini.show_state_field = app.config.houdini.show_state_field
Houdini.default_bp = app.config.houdini.default_bp.id
Houdini.event_publisher.subscribe_all(app.config.houdini.listeners)

View file

@ -42,7 +42,7 @@
config.houdini.source_tokens.event_donation_source.max_uses = 20
config.houdini.source_tokens.event_donation_source.expiration_after_event = 20.days
config.houdini.show_state_fields = true
config.houdini.show_state_field = true
config.houdini.intl = ActiveSupport::OrderedOptions.new
config.houdini.intl.language = :en