From 358ef363bd70ef514678022a41d78537a50fb43b Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Thu, 22 Aug 2024 17:43:46 +0700 Subject: [PATCH] refactor: add i18n --- src/i18n/en-US/index.ts | 17 +++++++++++++++++ src/i18n/th-th/index.ts | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index 14a40ca7..6b254d39 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -227,4 +227,21 @@ export default { backend: { sameBranchCodeExists: 'This Head Office Abbreviation is already in use.', }, + + dialog: { + title: { + incompleteDataEntry: 'Incomplete Data Entry', + }, + message: { + incompleteDataEntry: 'Incomplete data entry on {tap} page', + }, + action: { + ok: 'OK', + save: 'Save', + saveAndClose: 'Save and Close', + close: 'Close', + delete: 'Delete', + cancel: 'Cancel', + }, + }, }; diff --git a/src/i18n/th-th/index.ts b/src/i18n/th-th/index.ts index 7e929da9..e19e207e 100644 --- a/src/i18n/th-th/index.ts +++ b/src/i18n/th-th/index.ts @@ -225,4 +225,20 @@ export default { backend: { sameBranchCodeExists: 'ตัวย่อสำนักงานใหญ่นี้ถูกใช้แล้ว', }, + dialog: { + title: { + incompleteDataEntry: 'กรอกข้อมูลไม่ครบ', + }, + message: { + incompleteDataEntry: 'กรอกข้อมูลไม่ครบในหน้า {tap}', + }, + action: { + ok: 'ยืนยัน', + save: 'บันทึก', + saveAndClose: 'บันทึกและปิดหน้าต่าง', + close: 'ปิดหน้าต่าง', + delete: 'ลบ', + cancel: 'ยกเลิก', + }, + }, };