Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADO-302632: added new text to overview page to update rates message #1130

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion i18n/web/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const en: WebTranslations = {
startBenefitsEstimator: 'Start benefits estimator',
estimatorTimeEstimate: 'It will take about 5 to 10 minutes to complete.',
whatBenefitsIncluded: 'Benefits included in the estimator',
inflationInfo: `This estimator uses October to December 2024 benefit rates. Future benefit amounts may be higher due to inflation.`,
inflationInfo: `This estimator uses January to March 2025 benefit rates. Future benefit amounts may be higher due to inflation.`,
notIncludeCPP:
'This estimator does not include the Canada Pension Plan retirement pension.',
learnMoreAboutCpp: `<a className="underline text-default-text" href="${apiEn.links.cpp.url}" target="_blank">Learn more about the Canada Pension Plan</a>`,
Expand Down
2 changes: 1 addition & 1 deletion i18n/web/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const fr: WebTranslations = {
estimatorTimeEstimate:
'Il vous faudra environ 5 à 10 minutes pour obtenir une estimation.',
whatBenefitsIncluded: "Prestations incluses dans l'estimateur",
inflationInfo: `Cet estimateur utilise les taux des prestations d’octobre à décembre 2024. Les montants des prestations futures pourraient être plus élevés en raison de l’inflation.`,
inflationInfo: `Cet estimateur utilise les taux des prestations de janvier à mars&nbsp;2025. Les montants des prestations futures pourraient être plus élevés en raison de l’inflation.`,
notIncludeCPP: `Cet estimateur n'inclut pas la pension de retraite du Régime de pensions du Canada.`,
learnMoreAboutCpp: `<a className="underline text-default-text" href="${apiFr.links.cpp.url}" target="_blank">En savoir plus sur le Régime de pensions du Canada</a>`,
aboutResultText: 'À propos des résultats',
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const Home: NextPage<{ adobeAnalyticsUrl: string }> = ({
<h2 className="text-xs sm:h2 mt-8">{tsln.aboutResultText}</h2>

<div className="w-full mt-4">
<p>{tsln.inflationInfo}</p>
<p dangerouslySetInnerHTML={{ __html: tsln.inflationInfo }}></p>
Copy link
Contributor

@MarcoGoC MarcoGoC Dec 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because of the   ? you could have used the ansi code 0160, it was already there

<p
className="summary-link mt-8"
dangerouslySetInnerHTML={{ __html: tsln.resultDefinition }}
Expand Down
Loading