diff --git a/components/benefit_sponsors/app/models/benefit_sponsors/organizations/organization_forms/profile_form.rb b/components/benefit_sponsors/app/models/benefit_sponsors/organizations/organization_forms/profile_form.rb index 38d3acbe030..8e59bf9c855 100644 --- a/components/benefit_sponsors/app/models/benefit_sponsors/organizations/organization_forms/profile_form.rb +++ b/components/benefit_sponsors/app/models/benefit_sponsors/organizations/organization_forms/profile_form.rb @@ -4,6 +4,7 @@ class OrganizationForms::ProfileForm include Virtus.model include ActiveModel::Validations include Config::AcaHelper + include ::L10nHelper attribute :id, String attribute :market_kind, Symbol @@ -105,7 +106,7 @@ def validate_at_least_one_language_selected return true unless EnrollRegistry.feature_enabled?(:bs4_broker_flow) return if self&.language_options&.any? - errors.add(:base, l10n("broker_agencies.registrations.errors.language_options")) + errors.add(:base, l10n("broker_agencies.profiles.errors.language_options")) end end end diff --git a/db/seedfiles/translations/en/cca/broker_agencies.rb b/db/seedfiles/translations/en/cca/broker_agencies.rb index 32f70ec58cf..e0a62e17ea0 100644 --- a/db/seedfiles/translations/en/cca/broker_agencies.rb +++ b/db/seedfiles/translations/en/cca/broker_agencies.rb @@ -224,7 +224,7 @@ "en.write_here" => "Write here", "en.broker_agencies.profiles.select_plan" => "Select the plan you wish to quote for all enrollees.", "en.broker_agencies.profiles.npn_taken_error" => "NPN has already been claimed by another broker. Please contact Health Connector for Business Customer Service at 1-888-813-9220", - "en.broker_agencies.registrations.errors.language_options"=> "Languages cannot be blank", + "en.broker_agencies.profiles.errors.language_options"=> "Languages cannot be blank", "en.broker_agencies.profiles.detailed_roster_information" => "To create a quote for a new, prospective group, please upload an employee roster. To create a quote for an existing group, use the roster below and update it as needed to reflect the plan enrollees.", "en.broker_agencies.profiles.to_compare_plans" => "To compare plans before making your selection, use the checkboxes next to the plan names. You can select up to 3 plans to compare at one time. When comparing costs, note that the maximum monthly cost for employers is based on:", "en.broker_agencies.broker_invitation.person_name" => "Dear %{person_name},", diff --git a/db/seedfiles/translations/en/dc/broker_agencies.rb b/db/seedfiles/translations/en/dc/broker_agencies.rb index 968b89d02d7..8f8358d62ae 100644 --- a/db/seedfiles/translations/en/dc/broker_agencies.rb +++ b/db/seedfiles/translations/en/dc/broker_agencies.rb @@ -257,7 +257,7 @@ "en.broker_carrier_appointments_enabled_note" => "Note: All Carrier appointments for brokers may not be necessary for participation in %{site_long_name}.", "en.write_here" => "Write here", "en.broker_agencies.profiles.npn_taken_error" => "NPN has already been claimed by another broker. Please contact HBX-Customer Service - Call (855) 532-5465.", - "en.broker_agencies.registrations.errors.language_options"=> "Languages cannot be blank", + "en.broker_agencies.profiles.errors.language_options"=> "Languages cannot be blank", "en.broker_agencies.broker_invitation.thank_you_registering" => "Thank you for registering as a broker through %{site_short_name}.", "en.broker_agencies.broker_invitation.create_broker_acc" => "Please visit %{site_short_name} to create your broker account and manage your clients.", "en.broker_agencies.broker_application_confirm.thank_you" => "Thank you for submitting your broker application to %{site_short_name}. Please allow 7-10 business days for %{site_short_name} to review your application.", diff --git a/db/seedfiles/translations/en/me/broker_agencies.rb b/db/seedfiles/translations/en/me/broker_agencies.rb index e6715a8af69..ec493bd2f11 100644 --- a/db/seedfiles/translations/en/me/broker_agencies.rb +++ b/db/seedfiles/translations/en/me/broker_agencies.rb @@ -270,7 +270,7 @@ "en.broker_carrier_appointments_enabled_note" => "Note: Carrier appointments for broker are not necessary for participation in %{site_long_name}.", "en.write_here" => "Write here", "en.broker_agencies.profiles.npn_taken_error" => "", - "en.broker_agencies.registrations.errors.language_options"=> "Languages cannot be blank", + "en.broker_agencies.profiles.errors.language_options"=> "Languages cannot be blank", "en.broker_agencies.broker_invitation.thank_you_registering" => "Thank you for registering as a broker through %{site_short_name}.", "en.broker_agencies.broker_invitation.create_broker_acc" => "Please visit %{site_short_name} to create your broker account and manage your clients.", "en.broker_agencies.broker_application_confirm.thank_you" => "Thank you for submitting your broker application to %{site_short_name}. Please allow 7-10 business days for %{site_short_name} to review your application.",