feat: update UI text to Indonesian language across various components and pages

This commit is contained in:
Ardeman
2025-03-25 01:20:20 +08:00
parent 1f2f15d204
commit 35c02d1643
14 changed files with 53 additions and 54 deletions
+4 -4
View File
@@ -30,7 +30,7 @@ export const MENU: TMenu[] = [
icon: ChartBarSquareIcon,
},
{
title: 'User',
title: 'Pengguna',
url: '/lg-admin/users',
icon: UsersIcon,
},
@@ -40,12 +40,12 @@ export const MENU: TMenu[] = [
icon: NewspaperIcon,
},
{
title: 'Banner Iklan',
title: 'Spanduk Iklan',
url: '/lg-admin/advertisements',
icon: MegaphoneIcon,
},
{
title: 'Subscription',
title: 'Pelanggan',
url: '/lg-admin/subscriptions',
icon: PresentationChartLineIcon,
},
@@ -65,7 +65,7 @@ export const MENU: TMenu[] = [
icon: TagIcon,
},
{
title: 'Subscribe Plan',
title: 'Paket Berlangganan',
url: '/lg-admin/subscribe-plan',
icon: DocumentCurrencyDollarIcon,
},
+1 -1
View File
@@ -22,7 +22,7 @@ export const Sidebar = () => {
key={`${group}-${title}`}
className={twMerge(
path === url ? 'bg-[#707FDD]/10 font-bold' : '',
'group/menu flex h-[42px] w-[200px] items-center gap-x-3 rounded-md px-5 transition hover:bg-[#707FDD]/10 active:bg-[#707FDD]/20',
'group/menu flex h-[42px] w-[240px] items-center gap-x-3 rounded-md px-5 transition hover:bg-[#707FDD]/10 active:bg-[#707FDD]/20',
)}
>
<Icon
+3 -3
View File
@@ -28,7 +28,7 @@ export const registerSchema = z
.optional()
.nullable()
.refine((data) => !!data, {
message: 'Please select a Subscribe Plan',
message: 'Silakan pilih paket berlangganan',
}),
})
.refine((field) => field.password === field.rePassword, {
@@ -121,8 +121,8 @@ export const DialogRegister = () => {
<Combobox
id="subscribe_plan"
name="subscribe_plan"
label="Subscribe Plan"
placeholder="Pilih Subscribe Plan"
label="Paket Berlangganan"
placeholder="Pilih Paket Berlangganan"
options={subscribePlan}
/>
+4 -4
View File
@@ -21,7 +21,7 @@ export const subscribeSchema = z.object({
.optional()
.nullable()
.refine((data) => !!data, {
message: 'Please select a subscription',
message: 'Silakan pilih paket berlangganan',
}),
})
@@ -62,7 +62,7 @@ export const DialogSubscribePlan = () => {
setIsSubscribeOpen(false)
}
}}
description="Selamat Datang, silakan Pilih Subscribe Plan Anda untuk melanjutkan!"
description="Selamat Datang, silakan Pilih Paket Berlangganan Anda untuk melanjutkan!"
>
<div className="flex flex-col items-center justify-center">
<RemixFormProvider {...formMethods}>
@@ -75,8 +75,8 @@ export const DialogSubscribePlan = () => {
<Combobox
id="subscribe_plan"
name="subscribe_plan"
label="Subscribe Plan"
placeholder="Pilih Subscribe Plan"
label="Paket Berlangganan"
placeholder="Pilih Paket Berlangganan"
options={subscribePlan}
/>