components/ui_helpers/lib/ui_helpers/workflow_helper.rb
# TODO: All these Settings calls will have to be refactored for platformization
All these Settings calls will have to be refactored for platformization
All these Settings calls will have to be refactored for platformization
def translation_placeholder_text(text)
      text.gsub! '<board_of_elections_address-placeholder>', Settings.contact_center.board_of_elections_address
      text.gsub! '<board_of_elections_email-placeholder>', Settings.contact_center.board_of_elections_email
      text.gsub! '<board_of_elections_entity-placeholder>', Settings.contact_center.board_of_elections_entity
      text.gsub! '<board_of_elections_phone_number-placeholder>', Settings.contact_center.board_of_elections_phone_number
      text.gsub! '<contact-center-phone_number-placeholder>', Settings.contact_center.phone_number
      text.gsub! '<medicaid-question-translation-placeholder>', state_abbreviation_text(l10n("faa.medicaid_question"))
      text.gsub! '<short-name-placeholder>', Settings.site.short_name
      text.gsub! '<state-abbreviation-placeholder>', aca_state_abbreviation
      text.gsub! '<reviewed-information>', l10n('insured.review_information')
      text.gsub! '<submit-your-application>', l10n('faa.submit_your_application')
      text.gsub! '<last-step-1>', l10n('faa.last_step_1')
      text.gsub! '<last-step-2>', l10n('faa.last_step_2')
      text.gsub! '<i-understand-eligibility>', l10n('faa.i_understand_eligibility')
      text.gsub! '<renewal-process-1>', l10n('faa.renewal_process_1')
      text.gsub! '<renewal-process-2>', l10n('faa.renewal_process_2')
      text.gsub! '<send-notice-1>', l10n('faa.send_notice_1')
      text.gsub! '<send-notice-2>', l10n('faa.send_notice_2')
      text.gsub! '<send-notice-3>', l10n('faa.send_notice_3')
      text.gsub! '<i-agree>', l10n('faa.i_agree')
      text.gsub! '<i-understand-eligibility-changes>', l10n('faa.i_understand_eligibility_changes')
      text.gsub! '<report-changes-1>', l10n('faa.report_changes_1')
      text.gsub! '<report-changes-2>', l10n('faa.report_changes_2')
      text.gsub! '<signature-line-below-1>', l10n('faa.signature_line_below_1')
      text.gsub! '<signature-line-below-2>', l10n('faa.signature_line_below_2')
      text.gsub! '<i-understand-evaluation-1>', l10n('faa.i_understand_evaluation_1')
      text.gsub! '<i-understand-evaluation-2>', l10n('faa.i_understand_evaluation_2')
      text.gsub! '<i-understand-evaluation-3>', l10n('faa.i_understand_evaluation_3')
      text.gsub! '<anyone-found-eligible-1>', l10n('faa.anyone_found_eligible_1')
      text.gsub! '<anyone-found-eligible-2>', l10n('faa.anyone_found_eligible_2')
      text.gsub! '<anyone-found-eligible-3>', l10n('faa.anyone_found_eligible_3')
      text.gsub! '<parent-living-outside-of-home-1>', l10n('faa.parent_living_outside_of_home_1')
      text.gsub! '<parent-living-outside-of-home-2>', l10n('faa.parent_living_outside_of_home_2')
      text.gsub! '<parent-living-outside-of-home-3>', l10n('faa.parent_living_outside_of_home_3')
      text
    end
def translation_placeholder_text ( text ) text . gsub! '<board_of_elections_address-placeholder>' , Settings . contact_center . board_of_elections_address text . gsub! '<board_of_elections_email-placeholder>' , Settings . contact_center . board_of_elections_email text . gsub! '<board_of_elections_entity-placeholder>' , Settings . contact_center . board_of_elections_entity text . gsub! '<board_of_elections_phone_number-placeholder>' , Settings . contact_center . board_of_elections_phone_number text . gsub! '<contact-center-phone_number-placeholder>' , Settings . contact_center . phone_number text . gsub! '<medicaid-question-translation-placeholder>' , state_abbreviation_text ( l10n ( "faa.medicaid_question" ) ) text . gsub! '<short-name-placeholder>' , Settings . site . short_name text . gsub! '<state-abbreviation-placeholder>' , aca_state_abbreviation text . gsub! '<reviewed-information>' , l10n ( 'insured.review_information' ) text . gsub! '<submit-your-application>' , l10n ( 'faa.submit_your_application' ) text . gsub! '<last-step-1>' , l10n ( 'faa.last_step_1' ) text . gsub! '<last-step-2>' , l10n ( 'faa.last_step_2' ) text . gsub! '<i-understand-eligibility>' , l10n ( 'faa.i_understand_eligibility' ) text . gsub! '<renewal-process-1>' , l10n ( 'faa.renewal_process_1' ) text . gsub! '<renewal-process-2>' , l10n ( 'faa.renewal_process_2' ) text . gsub! '<send-notice-1>' , l10n ( 'faa.send_notice_1' ) text . gsub! '<send-notice-2>' , l10n ( 'faa.send_notice_2' ) text . gsub! '<send-notice-3>' , l10n ( 'faa.send_notice_3' ) text . gsub! '<i-agree>' , l10n ( 'faa.i_agree' ) text . gsub! '<i-understand-eligibility-changes>' , l10n ( 'faa.i_understand_eligibility_changes' ) text . gsub! '<report-changes-1>' , l10n ( 'faa.report_changes_1' ) text . gsub! '<report-changes-2>' , l10n ( 'faa.report_changes_2' ) text . gsub! '<signature-line-below-1>' , l10n ( 'faa.signature_line_below_1' ) text . gsub! '<signature-line-below-2>' , l10n ( 'faa.signature_line_below_2' ) text . gsub! '<i-understand-evaluation-1>' , l10n ( 'faa.i_understand_evaluation_1' ) text . gsub! '<i-understand-evaluation-2>' , l10n ( 'faa.i_understand_evaluation_2' ) text . gsub! '<i-understand-evaluation-3>' , l10n ( 'faa.i_understand_evaluation_3' ) text . gsub! '<anyone-found-eligible-1>' , l10n ( 'faa.anyone_found_eligible_1' ) text . gsub! '<anyone-found-eligible-2>' , l10n ( 'faa.anyone_found_eligible_2' ) text . gsub! '<anyone-found-eligible-3>' , l10n ( 'faa.anyone_found_eligible_3' ) text . gsub! '<parent-living-outside-of-home-1>' , l10n ( 'faa.parent_living_outside_of_home_1' ) text . gsub! '<parent-living-outside-of-home-2>' , l10n ( 'faa.parent_living_outside_of_home_2' ) text . gsub! '<parent-living-outside-of-home-3>' , l10n ( 'faa.parent_living_outside_of_home_3' ) text end
TODO: All these Settings calls will have to be refactored for platformization
TODO : All these Settings calls will have to be refactored for platformization
# Submit Your Application page
text