From 7503ee032d0bf85fcdefd8adc97920a96676da4b Mon Sep 17 00:00:00 2001 From: Jenny Heath Date: Mon, 2 Dec 2024 11:57:16 -0800 Subject: [PATCH 01/12] Update landing page copy --- .../state_file/landing_page_controller.rb | 1 + app/views/state_file/landing_page/edit.html.erb | 16 ++++++++++++---- config/locales/en.yml | 16 ++++------------ config/locales/es.yml | 12 ++---------- 4 files changed, 19 insertions(+), 26 deletions(-) diff --git a/app/controllers/state_file/landing_page_controller.rb b/app/controllers/state_file/landing_page_controller.rb index 38e91f8ed2..294640d6bd 100644 --- a/app/controllers/state_file/landing_page_controller.rb +++ b/app/controllers/state_file/landing_page_controller.rb @@ -16,6 +16,7 @@ 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 888a3f492b..41067d8948 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(".#{@state_code}.built_with_html") %> + <%= t(".built_with_html", state_name: @built_with_name) %>

<% end %> @@ -64,9 +64,17 @@ <% end %> <% else %> -
- <% # i18n-tasks-use t('state_file.landing_page.edit.help_text_html') # hint for the i18n linter that, yes, we are using this key (sometimes) %> - <%= t(".#{@state_code}.help_text_html", default: :'.help_text_html', filing_year: current_tax_year) %> +
+

+ +

+
+ <% # i18n-tasks-use t('state_file.landing_page.edit.help_text_html') # hint for the i18n linter that, yes, we are using this key (sometimes) %> + <%= t(".#{@state_code}.help_text_html", default: :'.help_text_html', filing_year: current_tax_year) %> +
<%= form_with model: @form, url: { action: :update }, local: true, method: :put, builder: VitaMinFormBuilder do |f| %> <%= f.submit t("general.get_started"), class: "button button--primary button--wide", id: "firstCta" %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 82ddb68ce9..11bc4bb046 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2126,62 +2126,54 @@ en: already_filed_html: Already filed your state taxes with us? You can download a copy of your state return until December 31, 2024. already_started_html: Already started filing your state return? Sign in. az: - built_with_html: "FileYourStateTaxes is built in partnership with the state of Arizona to integrate with the IRS Direct File tool and takes about 10 to 15 minutes to complete once your federal return is accepted. Get started by setting up your account." closed_html: | FileYourStateTaxes is built in partnership with the state of Arizona to integrate with the IRS Direct File tool.

We're closed for the tax season. Unfortunately you can no longer file your state return with us this year. supported_by: Supported by the state of Arizona title: File your Arizona state taxes for free + built_with_html: "FileYourStateTaxes takes about 10 to 15 minutes to complete. Get started by setting up your account. \n

\nThis service is built in partnership with the state of %{state_name} to integrate with IRS Direct File.\n" continue: To continue filing your %{state_name} State return, please sign in below download_your_record: Download Your Record help_text_html: | - What you’ll need: -
+ help_text_title: What will I need to complete my state tax return? id: - built_with_html: "FileYourStateTaxes is built in partnership with the state of Idaho to integrate with the IRS Direct File tool and takes about 10 to 15 minutes to complete once your federal return is accepted. Get started by setting up your account." closed_html: | FileYourStateTaxes is built in partnership with the state of Idaho to integrate with the IRS Direct File tool.

We're closed for the tax season. Unfortunately you can no longer file your state return with us this year. supported_by: Supported by the state of Idaho title: File your Idaho state taxes for free md: - built_with_html: "FileYourStateTaxes is built in partnership with Maryland to integrate with the IRS Direct File tool and takes about 10 to 15 minutes to complete once your federal return is accepted. Get started by setting up your account." closed_html: | FileYourStateTaxes is built in partnership with Maryland to integrate with the IRS Direct File tool.

We're closed for the tax season. Unfortunately you can no longer file your state return with us this year. supported_by: Supported by the state of Maryland title: File your state taxes for free nc: - built_with_html: "FileYourStateTaxes is built in partnership with the state of North Carolina to integrate with the IRS Direct File tool and takes about 10 to 15 minutes to complete once your federal return is accepted. Get started by setting up your account." closed_html: | FileYourStateTaxes is built in partnership with the state of North Carolina to integrate with the IRS Direct File tool.

We're closed for the tax season. Unfortunately you can no longer file your state return with us this year. supported_by: Supported by the state of North Carolina title: File your North Carolina state taxes for free nj: - built_with_html: "FileYourStateTaxes is built in partnership with the New Jersey Office of Innovation to integrate with the IRS Direct File tool. It takes about 10 to 15 minutes to complete once your federal return is accepted. Get started by setting up your account." closed_html: "FileYourStateTaxes is built in partnership with the New Jersey Office of Innovation to integrate with the IRS Direct File tool.

\nWe're closed for the tax season. Unfortunately you can no longer file your state return with us this year. \n" help_text_html: | - What you’ll need: -
supported_by: Supported by the New Jersey Office of Innovation title: File your New Jersey taxes for free not_you: Not %{user_name}? ny: - built_with_html: "FileYourStateTaxes is built in partnership with New York State to integrate with the IRS Direct File tool and takes about 10 to 15 minutes to complete once your federal return is accepted. Get started by setting up your account." closed_html: | FileYourStateTaxes is built in partnership with New York State to integrate with the IRS Direct File tool.

We're closed for the tax season. Unfortunately you can no longer file your state return with us this year. diff --git a/config/locales/es.yml b/config/locales/es.yml index 1a508ada33..3a91104280 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -2090,17 +2090,15 @@ es: already_filed_html: "¿Ya presentó tus impuestos estatales con nosotros? Puede descargar una copia de su declaración estatal hasta el 31 de diciembre de 2024." already_started_html: ¿Ya comenzaste a presentar tu declaración estatal? Inicia sesión. az: - built_with_html: "FileYourStateTaxes ha sido creado en colaboración con el estado de Arizona para integrarse con la herramienta Direct File del IRS y solo toma de 10 a 15 minutos completarlo una vez que tu declaración federal sea aceptada. Comienza configurando tu cuenta." closed_html: | FileYourStateTaxes se creó en asociación con el estado de Arizona para integrarse con la herramienta Direct File del IRS.

Estamos cerrados por la temporada de impuestos. Desafortunadamente no puede presentar su declaración estatal con nosotros este año. supported_by: Respaldada por el estado de Arizona title: Presenta tus impuestos estatales de Arizona sin costo + built_with_html: "FileYourStateTaxes ha sido creado en colaboración con el estado de %{state_name} para integrarse con la herramienta Direct File del IRS y solo toma de 10 a 15 minutos completarlo una vez que tu declaración federal sea aceptada. Comienza configurando tu cuenta.\n" continue: Para continuar presentando su declaración estatal de %{state_name}, inicie sesión a continuación download_your_record: Descargue tu registro help_text_html: | - Lo que necesitarás para comenzar -
+ help_text_title: "¿Qué necesitaré para completar mi declaración de impuestos estatales?" id: - built_with_html: "FileYourStateTaxes ha sido creado en colaboración con el estado de Idaho para integrarse con la herramienta Direct File del IRS y solo toma de 10 a 15 minutos completarlo una vez que tu declaración federal sea aceptada. Comienza configurando tu cuenta." closed_html: | FileYourStateTaxes se creó en asociación con el estado de Idaho para integrarse con la herramienta Direct File del IRS.

Estamos cerrados por la temporada de impuestos. Desafortunadamente no puede presentar su declaración estatal con nosotros este año. supported_by: Respaldada por el estado de Idaho title: Presenta tus impuestos estatales de Idaho sin costo md: - built_with_html: "FileYourStateTaxes ha sido creado en colaboración con Maryland para integrarse con la herramienta Direct File del IRS y solo toma de 10 a 15 minutos completarlo una vez que tu declaración federal sea aceptada. Comienza configurando tu cuenta." closed_html: | FileYourStateTaxes se creó en asociación con Maryland para integrarse con la herramienta Direct File del IRS.

Estamos cerrados por la temporada de impuestos. Desafortunadamente no puede presentar su declaración estatal con nosotros este año. supported_by: Respaldada por Maryland title: Presenta tus impuestos Maryland sin costo nc: - built_with_html: "FileYourStateTaxes ha sido creado en colaboración con el estado de North Carolina para integrarse con la herramienta Direct File del IRS y solo toma de 10 a 15 minutos completarlo una vez que tu declaración federal sea aceptada. Comienza configurando tu cuenta." closed_html: | FileYourStateTaxes se creó en asociación con el estado de North Carolina para integrarse con la herramienta Direct File del IRS.

Estamos cerrados por la temporada de impuestos. Desafortunadamente no puede presentar su declaración estatal con nosotros este año. supported_by: Respaldada por el estado de North Carolina title: Presenta tus impuestos estatales de North Carolina sin costo nj: - built_with_html: "FileYourStateTaxes ha sido creado en colaboración con el New Jersey Office of Innovation para integrarse con la herramienta Direct File del IRS y solo toma de 10 a 15 minutos completarlo una vez que tu declaración federal sea aceptada. Comienza configurando tu cuenta." closed_html: | FileYourStateTaxes se creó en asociación con el New Jersey Office of Innovation para integrarse con la herramienta Direct File del IRS.

Estamos cerrados por la temporada de impuestos. Desafortunadamente no puede presentar su declaración estatal con nosotros este año. help_text_html: | - Lo que necesitarás para comenzar -
\ No newline at end of file diff --git a/app/views/state_file/questions/eligible/_az_unsupported.html.erb b/app/views/state_file/questions/eligible/_az_unsupported.html.erb index 2222c27c93..bfd947b52f 100644 --- a/app/views/state_file/questions/eligible/_az_unsupported.html.erb +++ b/app/views/state_file/questions/eligible/_az_unsupported.html.erb @@ -19,8 +19,6 @@ <%=t('.other_credits_heading') %>