fix: change to indonesian languange

This commit is contained in:
Sukma Gladys 2024-11-21 13:43:17 +07:00
parent 7a678a8e12
commit ff933dfd61
3 changed files with 16 additions and 16 deletions

View File

@ -107,7 +107,7 @@ export default function AppHeader({ toggle, toggleLeftSidebar }: Props) {
} }
}} }}
> >
Permohonan Assessment Permohonan Asesmen
</Link> </Link>
<Link <Link
to="/assessmentResult" to="/assessmentResult"
@ -118,7 +118,7 @@ export default function AppHeader({ toggle, toggleLeftSidebar }: Props) {
!showAssessmentResultLinks, // warna default !showAssessmentResultLinks, // warna default
})} })}
> >
Hasil Assessment Hasil Asesmen
</Link> </Link>
</> </>
)} )}
@ -139,7 +139,7 @@ export default function AppHeader({ toggle, toggleLeftSidebar }: Props) {
} }
}} }}
> >
Permohonan Assessment Permohonan Asesmen
</Link> </Link>
<Link <Link
to="/assessment" to="/assessment"
@ -148,7 +148,7 @@ export default function AppHeader({ toggle, toggleLeftSidebar }: Props) {
"text-gray-700": !showAssessmentLinks, // warna default "text-gray-700": !showAssessmentLinks, // warna default
})} })}
> >
Assessment Asesmen
</Link> </Link>
</> </>
)} )}

View File

@ -183,10 +183,10 @@ export function ForgotPasswordForm() {
<h1 <h1
className="text-4xl font-bold text-black" className="text-4xl font-bold text-black"
> >
Forgot Password Lupa Kata Sandi
</h1> </h1>
<p className="text-sm text-muted-foreground"> <p className="text-sm text-muted-foreground">
No worries, we'll send you reset instructions Masukkan alamat email Anda untuk menerima instruksi reset kata sandi.
</p> </p>
</div> </div>
<Form {...form}> <Form {...form}>
@ -209,14 +209,14 @@ export function ForgotPasswordForm() {
type="submit" type="submit"
className="flex items-center justify-between shadow-xl w-full text-white bg-[--primary-color]" className="flex items-center justify-between shadow-xl w-full text-white bg-[--primary-color]"
> >
<span className="flex">Request Reset</span> <span className="flex">Kirim Permintaan</span>
<TbArrowNarrowRight className="h-5 w-5" /> <TbArrowNarrowRight className="h-5 w-5" />
</Button> </Button>
<a <a
href="/login" href="/login"
className="text-xs text-blue-500 hover:underline font-bold w-fit" className="text-xs text-blue-500 hover:underline font-bold w-fit"
> >
Back to login Kembali ke Sign In
</a> </a>
</div> </div>
</form> </form>

View File

@ -219,9 +219,9 @@ export function ResetPasswordForm() {
<h1 <h1
className="text-4xl font-bold text-black" className="text-4xl font-bold text-black"
> >
Change Password Ubah Kata Sandi
</h1> </h1>
<p className="text-sm text-muted-foreground">Enter your new password</p> <p className="text-sm text-muted-foreground">Masukkan kata sandi baru.</p>
</div> </div>
<Form {...form}> <Form {...form}>
<form <form
@ -232,17 +232,17 @@ export function ResetPasswordForm() {
<CustomFormField <CustomFormField
control={form.control} control={form.control}
name="password" name="password"
label="Password" label="Kata Sandi"
type="password" type="password"
placeholder="password" placeholder="******"
error={form.formState.errors.password} error={form.formState.errors.password}
/> />
<CustomFormField <CustomFormField
control={form.control} control={form.control}
name="confirm_password" name="confirm_password"
label="Password Confirmation" label="Konfirmasi Kata Sandi"
type="password" type="password"
placeholder="password confirmation" placeholder="******"
error={form.formState.errors.confirm_password} error={form.formState.errors.confirm_password}
/> />
</div> </div>
@ -251,14 +251,14 @@ export function ResetPasswordForm() {
type="submit" type="submit"
className="flex items-center justify-between shadow-xl w-full text-white bg-[--primary-color]" className="flex items-center justify-between shadow-xl w-full text-white bg-[--primary-color]"
> >
<span className="flex">Submit</span> <span className="flex">Kirim</span>
<TbArrowNarrowRight className="h-5 w-5" /> <TbArrowNarrowRight className="h-5 w-5" />
</Button> </Button>
<a <a
href="/login" href="/login"
className="text-xs text-blue-500 hover:underline font-bold w-fit" className="text-xs text-blue-500 hover:underline font-bold w-fit"
> >
Back to login Kembali ke Sign In
</a> </a>
</div> </div>
</form> </form>