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

View File

@ -183,10 +183,10 @@ export function ForgotPasswordForm() {
<h1
className="text-4xl font-bold text-black"
>
Forgot Password
Lupa Kata Sandi
</h1>
<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>
</div>
<Form {...form}>
@ -209,14 +209,14 @@ export function ForgotPasswordForm() {
type="submit"
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" />
</Button>
<a
href="/login"
className="text-xs text-blue-500 hover:underline font-bold w-fit"
>
Back to login
Kembali ke Sign In
</a>
</div>
</form>

View File

@ -219,9 +219,9 @@ export function ResetPasswordForm() {
<h1
className="text-4xl font-bold text-black"
>
Change Password
Ubah Kata Sandi
</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>
<Form {...form}>
<form
@ -232,17 +232,17 @@ export function ResetPasswordForm() {
<CustomFormField
control={form.control}
name="password"
label="Password"
label="Kata Sandi"
type="password"
placeholder="password"
placeholder="******"
error={form.formState.errors.password}
/>
<CustomFormField
control={form.control}
name="confirm_password"
label="Password Confirmation"
label="Konfirmasi Kata Sandi"
type="password"
placeholder="password confirmation"
placeholder="******"
error={form.formState.errors.confirm_password}
/>
</div>
@ -251,14 +251,14 @@ export function ResetPasswordForm() {
type="submit"
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" />
</Button>
<a
href="/login"
className="text-xs text-blue-500 hover:underline font-bold w-fit"
>
Back to login
Kembali ke Sign In
</a>
</div>
</form>