feat: update UI text to Indonesian language across various components and pages
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user