feat(WEB-220): label translations

This commit is contained in:
Simon Emanuelsson
2024-05-22 10:27:16 +02:00
parent 125998efcf
commit de79c2dc80
80 changed files with 1104 additions and 460 deletions

View File

@@ -1,8 +1,11 @@
export default function NotFound() {
import { getIntl } from "@/i18n"
export default async function NotFound() {
const { formatMessage } = await getIntl()
return (
<main>
<h1>Not found</h1>
<p>Could not find requested resource</p>
<h1>{formatMessage({ id: "Not found" })}</h1>
<p>{formatMessage({ id: "Could not find requested resource" })}</p>
</main>
)
}