diff --git a/components/form/content/audio-detail-form.tsx b/components/form/content/audio-detail-form.tsx index ebf74b2c..d78d7262 100644 --- a/components/form/content/audio-detail-form.tsx +++ b/components/form/content/audio-detail-form.tsx @@ -57,6 +57,7 @@ import { error } from "@/lib/swal"; import dynamic from "next/dynamic"; import WavesurferPlayer from "@wavesurfer/react"; import WaveSurfer from "wavesurfer.js"; +import { useTranslations } from "next-intl"; const imageSchema = z.object({ title: z.string().min(1, { message: "Judul diperlukan" }), @@ -135,6 +136,7 @@ export default function FormAudioDetail() { const [detailThumb, setDetailThumb] = useState([]); const [thumbsSwiper, setThumbsSwiper] = useState(null); + const t = useTranslations("Form"); const [selectedTarget, setSelectedTarget] = useState(""); const [files, setFiles] = useState([]); const [rejectedFiles, setRejectedFiles] = useState([]); @@ -452,11 +454,11 @@ export default function FormAudioDetail() {
-

Form Konten Audio

+

{t("form-audio")}

{/* Input Title */}
- +
-
- +
+ { @@ -758,7 +760,7 @@ export default function FormAudio() {
- +
- +
- +
- +