feat: translate 'Action' to 'Tindakan' and update validation messages

This commit is contained in:
Ardeman
2025-03-25 09:37:03 +08:00
parent 57e23adf3c
commit dce745f53d
15 changed files with 46 additions and 46 deletions
+4 -4
View File
@@ -18,10 +18,10 @@ import { useAdminContext } from '~/contexts/admin'
import type { loader } from '~/routes/_admin.lg-admin'
export const profileSchema = z.object({
name: z.string().min(1, 'Name is required'),
email: z.string().email('Email is invalid'),
name: z.string().min(1, 'Wajib diisi'),
email: z.string().email('Email tidak valid'),
profile_picture: z.string().url({
message: 'Gambar profil must be valid',
message: 'URL tidak valid',
}),
})
@@ -115,7 +115,7 @@ export const DialogProfile = () => {
type="submit"
className="w-full rounded-md py-2"
>
Save
Simpan
</Button>
</fetcher.Form>
</RemixFormProvider>