Wrap intl in span identifying translation

This commit is contained in:
Jamie Curnow
2025-10-02 23:06:51 +10:00
parent fcb08d3003
commit 227e818040
68 changed files with 1076 additions and 510 deletions

View File

@@ -1,5 +1,5 @@
import { useHealth } from "src/hooks";
import { intl } from "src/locale";
import { T } from "src/locale";
export function SiteFooter() {
const health = useHealth();
@@ -25,7 +25,7 @@ export function SiteFooter() {
className="link-secondary"
rel="noopener"
>
{intl.formatMessage({ id: "footer.github-fork" })}
<T id="footer.github-fork" />
</a>
</li>
</ul>