fix(i18n): translate ErrorPage report intro (#1284)
The 'Please include the following information in your report:' string was hardcoded in the component. The matching key 'errorPage.reportInstructions' already exists in en/ui.json — wire it up so translators actually see it. Closes #1274
This commit is contained in:
@@ -21,7 +21,7 @@ export function ErrorPage({ error }: { error: Error }) {
|
|||||||
</Heading>
|
</Heading>
|
||||||
<P>{t("errorPage.description1")}</P>
|
<P>{t("errorPage.description1")}</P>
|
||||||
<P>{t("errorPage.description2")}</P>
|
<P>{t("errorPage.description2")}</P>
|
||||||
<P>Please include the following information in your report:</P>
|
<P>{t("errorPage.reportInstructions")}</P>
|
||||||
<ul className="list-disc list-inside text-sm">
|
<ul className="list-disc list-inside text-sm">
|
||||||
<li>{t("errorPage.reportSteps.step1")}</li>
|
<li>{t("errorPage.reportSteps.step1")}</li>
|
||||||
<li>{t("errorPage.reportSteps.step2")}</li>
|
<li>{t("errorPage.reportSteps.step2")}</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user