Skip to content

Commit

Permalink
fix lp-327 : name ending hint text
Browse files Browse the repository at this point in the history
  • Loading branch information
lduranteau committed Jan 7, 2025
1 parent 5d81ea0 commit b297e4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion locales/cy/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"sensitiveWordHint" : "WELSH - If the name includes <a href='https://www.gov.uk/government/publications/incorporation-and-names/annex-a-sensitive-words-and-expressions-or-words-that-could-imply-a-connection-with-government' target='_blank'>sensitive words or expressions that require approval (opens in a new tab)</a>, you must get permission before you register.",
"existingTrademarkHint" : "WELSH - You should also use the <a href='https://www.gov.uk/search-for-trademark' target='_blank'>trade mark search (opens in a new tab)</a> to check if your name matches an existing trade mark. If it does, consider choosing a different name. Companies House will not carry out this check for you.",
"nameEnding" : "WELSH - Which limited partnership name ending would you prefer to go on the public record?",
"nameEndingHint" : "WELSH - There's no difference between the name endings Limited Partnership, LP and L.P. except how they look. Partneriaeth Cyfyngedig, PC, and P.C. can only be used if the partnership's principal place of business is in Wales.",
"nameEndingHint" : "WELSH - There's no difference between the name endings Limited Partnership, LP and L.P. except how they look.",
"nameEndingWelshHint" : "WELSH - There's no difference between the name endings Limited Partnership, LP and L.P. except how they look. Partneriaeth Cyfyngedig, PC, and P.C. can only be used if the partnership's principal place of business is in Wales.",

"privateFund" : {
"title" : "WELSH - Private fund limited partnership name",
Expand Down
3 changes: 2 additions & 1 deletion locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"sensitiveWordHint" : "If the name includes <a href='https://www.gov.uk/government/publications/incorporation-and-names/annex-a-sensitive-words-and-expressions-or-words-that-could-imply-a-connection-with-government' target='_blank'>sensitive words or expressions that require approval (opens in a new tab)</a>, you must get permission before you register.",
"existingTrademarkHint" : "You should also use the <a href='https://www.gov.uk/search-for-trademark' target='_blank'>trade mark search (opens in a new tab)</a> to check if your name matches an existing trade mark. If it does, consider choosing a different name. Companies House will not carry out this check for you.",
"nameEnding" : "Which limited partnership name ending would you prefer to go on the public record?",
"nameEndingHint" : "There's no difference between the name endings Limited Partnership, LP and L.P. except how they look. Partneriaeth Cyfyngedig, PC, and P.C. can only be used if the partnership's principal place of business is in Wales.",
"nameEndingHint" : "There's no difference between the name endings Limited Partnership, LP and L.P. except how they look.",
"nameEndingWelshHint" : "There's no difference between the name endings Limited Partnership, LP and L.P. except how they look. Partneriaeth Cyfyngedig, PC, and P.C. can only be used if the partnership's principal place of business is in Wales.",

"privateFund" : {
"title" : "Private fund limited partnership name",
Expand Down
6 changes: 5 additions & 1 deletion src/views/pages/name/options-with-or-without-welsh.njk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
]
%}

{% set hint = i18n.namePage.nameEndingHint %}

{% if partnershipType == "LP" or partnershipType == "PFLP" %}
{% set nameEndingOptionsList = (nameEndingOptionsList.push(
{
Expand Down Expand Up @@ -60,6 +62,8 @@
}
}
), nameEndingOptionsList) %}

{% set hint = i18n.namePage.nameEndingWelshHint %}
{% endif %}

{{ govukRadios({
Expand All @@ -75,7 +79,7 @@
}
},
hint: {
text: i18n.namePage.nameEndingHint
text: hint
},
items: nameEndingOptionsList
}) }}

0 comments on commit b297e4e

Please sign in to comment.