Skip to content

Commit

Permalink
added new text to overview page to update rates message
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-solo committed Dec 24, 2024
1 parent cc2b4e5 commit f52a1a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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>
<p
className="summary-link mt-8"
dangerouslySetInnerHTML={{ __html: tsln.resultDefinition }}
Expand Down

0 comments on commit f52a1a9

Please sign in to comment.