diff --git a/app/controllers/state_file/landing_page_controller.rb b/app/controllers/state_file/landing_page_controller.rb index 294640d6bd..38e91f8ed2 100644 --- a/app/controllers/state_file/landing_page_controller.rb +++ b/app/controllers/state_file/landing_page_controller.rb @@ -16,7 +16,6 @@ def edit end @state_code = params[:us_state] @state_name = StateFile::StateInformationService.state_name(@state_code) - @built_with_name = @state_code == "nj" ? "New Jersey Office of Innovation" : @state_name end def update diff --git a/app/views/state_file/landing_page/edit.html.erb b/app/views/state_file/landing_page/edit.html.erb index a024b75a0b..587e946e51 100644 --- a/app/views/state_file/landing_page/edit.html.erb +++ b/app/views/state_file/landing_page/edit.html.erb @@ -38,7 +38,7 @@ <% else %> <% unless @user_name.present? %>

- <%= t(".built_with_html", state_name: @built_with_name) %> + <%= t(".#{@state_code}.built_with_html", default: t(".built_with_html", state_name: @state_name) ) %>

<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index cac59f7457..5c6c48e49a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2229,10 +2229,14 @@ en: supported_by: Supported by the state of North Carolina title: File your North Carolina state taxes for free nj: + built_with_html: | + FileYourStateTaxes takes about 10 to 15 minutes to complete. Get started by setting up your account. +

+ This service is built in partnership with the New Jersey Office of Innovation to integrate with IRS Direct File. closed_html: "FileYourStateTaxes is built in partnership with the New Jersey Office of Innovation to integrate with IRS Direct File.

\nWe're closed for the tax season. Unfortunately you can no longer file your state return with us this year. \n" help_text_html: |