feat(i18n): localize submit button states

This commit is contained in:
2026-06-12 09:51:19 +02:00
parent 2fa6611719
commit 589b042e7c
31 changed files with 286 additions and 37 deletions
+6 -2
View File
@@ -1,12 +1,16 @@
import { getI18n } from "@/i18n/server"
import NewUserForm from "../_components/new.user.form"
export default function NewUserPage() {
export default async function NewUserPage() {
const { dictionary } = await getI18n()
return (
<div className="flex flex-col gap-4">
<div className="flex items-center justify-between gap-4">
<h1 className="text-2xl font-bold">New User</h1>
</div>
<NewUserForm />
<NewUserForm submitButtonCopy={dictionary.common.submitButton} />
</div>
)
}