Skip to content

Commit

Permalink
Move AB text into locale files
Browse files Browse the repository at this point in the history
- move the text and link for the ready reckoner page AB test into the locale files
- forgot to do this as part of a previous PR: #3931
  • Loading branch information
andysellick committed Jan 23, 2024
1 parent c18c771 commit dff205e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/transaction/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<% if hmrc_temporary_ab_test_variant_b? %>
<%= render "govuk_publishing_components/components/govspeak", {} do %>
<p><%= t('ab_testing.ready_reckoner_video_description') %></p>
<p><a href="https://www.youtube.com/watch?v=xHn31myAkio">How do I budget for my Self Assessment tax bill?</a></p>
<p><a href="<%= t('ab_testing.ready_reckoner_video_link_href') %>"><%= t('ab_testing.ready_reckoner_video_link_text') %></a></p>
<% end %>
<% end %>
</p>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/cy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ cy:
version: fersiwn
visit_govuk_html: Ewch i <a href="/" class="govuk-link">hafan GOV.UK</a> i weld gwasanaethau a gwybodaeth y llywodraeth.
ready_reckoner_video_description:
ready_reckoner_video_link_href:
ready_reckoner_video_link_text:
account:
cookies_and_feedback:
cookie_consent:
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ en:
version: version
visit_govuk_html: Visit the <a href="/" class="govuk-link">GOV.UK homepage</a> to find government services and information.
ready_reckoner_video_description: Watch this video to find out how a budget payment plan can help you pay your tax bill on time.
ready_reckoner_video_link_href: https://www.youtube.com/watch?v=xHn31myAkio
ready_reckoner_video_link_text: How do I budget for my Self Assessment tax bill?
account:
cookies_and_feedback:
cookie_consent:
Expand Down

0 comments on commit dff205e

Please sign in to comment.