feat: update UI text to Indonesian language for dashboard and form components
This commit is contained in:
parent
35c02d1643
commit
57e23adf3c
@ -41,7 +41,7 @@ export const ContentsPage = () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Tanggal Live',
|
title: 'Mulai Tayang',
|
||||||
data: 'live_at',
|
data: 'live_at',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -42,7 +42,7 @@ export const UsersPage = () => {
|
|||||||
title: 'Pengguna',
|
title: 'Pengguna',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Phone',
|
title: 'No. Telepon',
|
||||||
data: 'phone',
|
data: 'phone',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -55,7 +55,7 @@ export const ChartDonut = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="rounded-xl bg-white p-6 shadow-sm">
|
<div className="rounded-xl bg-white p-6 shadow-sm">
|
||||||
<h2 className="mb-4 text-[20px]">Subscription Selesai</h2>
|
<h2 className="mb-4 text-[20px]">Langganan Selesai</h2>
|
||||||
<div className="flex items-center justify-between">
|
<div className="flex items-center justify-between">
|
||||||
<div style={{ height: 'auto', width: '100%' }}>
|
<div style={{ height: 'auto', width: '100%' }}>
|
||||||
<Doughnut
|
<Doughnut
|
||||||
|
|||||||
@ -66,7 +66,7 @@ export const ChartPie = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-[300px] w-full items-center justify-center rounded-xl bg-white p-5 text-center shadow-sm">
|
<div className="h-[300px] w-full items-center justify-center rounded-xl bg-white p-5 text-center shadow-sm">
|
||||||
<h2 className="text-xl font-bold">Top 5 Artikel</h2>
|
<h2 className="text-xl font-bold">5 Artikel Teratas</h2>
|
||||||
<Pie
|
<Pie
|
||||||
height={225}
|
height={225}
|
||||||
width={450}
|
width={450}
|
||||||
|
|||||||
@ -56,7 +56,7 @@ export const contentSchema = z.object({
|
|||||||
}),
|
}),
|
||||||
is_premium: z.boolean().optional(),
|
is_premium: z.boolean().optional(),
|
||||||
live_at: z.string().min(1, {
|
live_at: z.string().min(1, {
|
||||||
message: 'Tanggal live is required',
|
message: 'Tanggal mulai tayang is required',
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ export const FormContentsPage = (properties: TProperties) => {
|
|||||||
/>
|
/>
|
||||||
<Input
|
<Input
|
||||||
id="live_at"
|
id="live_at"
|
||||||
label="Tanggal Live"
|
label="Tanggal Mulai Tayang"
|
||||||
placeholder="Pilih Tanggal"
|
placeholder="Pilih Tanggal"
|
||||||
name="live_at"
|
name="live_at"
|
||||||
type="date"
|
type="date"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user