Skip to content

Commit dae28a8

Browse files
committed
Update helper translations to be conventional structure
1 parent d7a2cd7 commit dae28a8

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

app/views/forms/copy/confirm.html.erb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
<% end %>
99
<%= f.govuk_text_field :name,
1010
value: "Copy of #{@copy_input.name}",
11-
label: { tag: 'h1', size: 'l', text: t("helpers.label.copy") },
12-
hint: { text: t("helpers.hint.copy") }
11+
label: { tag: 'h1', size: 'l' }
1312
%>
1413
<%= f.hidden_field :tag %>
1514
<%= f.govuk_submit t("save_and_continue") %>

config/locales/en.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,8 @@ en:
774774
name: You do not need to include a title or any middle names.
775775
account_organisation_input:
776776
organisation_id: Currently, GOV.UK Forms is only available for central government organisations that publish content on the GOV.UK website.
777-
copy: The form name will be shown at the top of each page of the form. Use a name that describes what the form will help people to do. For example ‘Apply for a juggling licence’.
777+
forms_copy_input:
778+
name: The form name will be shown at the top of each page of the form. Use a name that describes what the form will help people to do. For example ‘Apply for a juggling licence’.
778779
page:
779780
answer_type: The answer will be checked to make sure it’s in the selected format.
780781
guidance:
@@ -838,7 +839,8 @@ en:
838839
account_terms_of_use_input:
839840
agreed_options:
840841
'1': I agree to these terms
841-
copy: What is the name of your form?
842+
forms_copy_input:
843+
name: What is the name of your form?
842844
forms_make_changes_live:
843845
confirm: Are you sure you want to make your draft live?
844846
forms_make_live_input:

0 commit comments

Comments
 (0)