Skip to content

Commit

Permalink
Change button text "Add New" in List.js from STATIC to DYNAMIC using …
Browse files Browse the repository at this point in the history
…translation shared.buttons.add and improve Indonesian translation
  • Loading branch information
faturachmanyusup committed Jun 28, 2021
1 parent 6754cb1 commit 36a9b13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/components/builder/lists/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const List = ({
</div>

<Button outline icon={MdAdd} onClick={handleAdd} className="mt-8 ml-auto">
Add New
{t('shared.buttons.add')}
</Button>
</div>
);
Expand Down
18 changes: 9 additions & 9 deletions src/i18n/locales/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"min": "Harap masukan setidaknya {{number}} karakter.",
"dateRange": "Tanggal Berakhir harus melebih Tanggal Mulai.",
"email": "Harus alamat email yang valid.",
"required": "Kolom ini wajib.",
"required": "Kolom ini wajib diisi.",
"url": "Harus URL yang valid."
}
},
Expand All @@ -47,7 +47,7 @@
"title": "Halaman Utama",
"createResume": "Buat Resume",
"editResume": "Ubah Resume",
"lastUpdated": "Terakhir Diubah {{timestamp}}",
"lastUpdated": "Terakhir diubah {{timestamp}}",
"toasts": {
"deleted": "{{name}} telah berhasil dihapus"
},
Expand All @@ -72,19 +72,19 @@
"work": "Pengalaman Kerja",
"education": "Pendidikan",
"project": "Proyek",
"projects": "Semua Proyek",
"projects": "Proyek",
"award": "Penghargaan",
"awards": "Semua Penghargaan",
"awards": "Penghargaan",
"certification": "Sertifikat",
"certifications": "Semua Sertifikat",
"certifications": "Sertifikat",
"skill": "Keahlian",
"skills": "Semua Keahlian",
"skills": "Keahlian",
"hobby": "Hobi",
"hobbies": "Semua Hobi",
"hobbies": "Hobi",
"language": "Bahasa",
"languages": "Semua Bahasa",
"languages": "Bahasa",
"reference": "Referensi",
"references": "Semua Referensi",
"references": "Referensi",
"templates": "Template",
"layout": "Layout",
"colors": "Warna",
Expand Down

0 comments on commit 36a9b13

Please sign in to comment.