This commit is contained in:
rizky 2024-08-15 01:31:22 -07:00
parent 518e323c63
commit 2b38732e06
4 changed files with 5 additions and 3 deletions

View File

@ -38,7 +38,7 @@ export const formInit = (fm: FMLocal, props: FMProps) => {
>
<div className="c-flex c-text-green-700 c-items-center success-title c-font-semibold">
<Check className="c-h-6 c-w-6 c-mr-1 " />
Record Saved
{translate("Record Saved")}
</div>
<div
className={cx(
@ -79,7 +79,7 @@ export const formInit = (fm: FMLocal, props: FMProps) => {
}}
>
<ChevronLeft size={18} />{" "}
<div className="c-px-1">Back To List</div>
<div className="c-px-1">{translate("Back To List")}</div>
</Button>
)}

View File

@ -5,4 +5,5 @@ export const langEn = {
"Record Saved": "Record Saved",
"Search": "Search",
"Add Another": "Add Another",
"Back To List": "Back To List"
};

View File

@ -7,4 +7,5 @@ export const langId: Record<LangKeyword, string> = {
"Record Saved": "Data Tersimpan",
Search: "Cari",
"Add Another": "Tambah Baru",
"Back To List": "Kembali ke List",
};

View File

@ -15,4 +15,4 @@ export const lang = {
base: null as null | Record<LangKeyword, string>,
};
export const translate = lang.t;
export const translate = lang.t.bind(lang);