feat: update UI text to Indonesian language for dashboard and form components

This commit is contained in:
Ardeman 2025-03-25 01:25:51 +08:00
parent 35c02d1643
commit 57e23adf3c
5 changed files with 6 additions and 6 deletions

View File

@ -41,7 +41,7 @@ export const ContentsPage = () => {
},
},
{
title: 'Tanggal Live',
title: 'Mulai Tayang',
data: 'live_at',
},
{

View File

@ -42,7 +42,7 @@ export const UsersPage = () => {
title: 'Pengguna',
},
{
title: 'Phone',
title: 'No. Telepon',
data: 'phone',
},
{

View File

@ -55,7 +55,7 @@ export const ChartDonut = () => {
return (
<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 style={{ height: 'auto', width: '100%' }}>
<Doughnut

View File

@ -66,7 +66,7 @@ export const ChartPie = () => {
return (
<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
height={225}
width={450}

View File

@ -56,7 +56,7 @@ export const contentSchema = z.object({
}),
is_premium: z.boolean().optional(),
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
id="live_at"
label="Tanggal Live"
label="Tanggal Mulai Tayang"
placeholder="Pilih Tanggal"
name="live_at"
type="date"