From e52c16b28e68ca88c14e5b2a592c32cdcd7299be Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Thu, 18 Apr 2024 15:28:46 +0700 Subject: [PATCH] feat: update i18n --- src/i18n/en-US/index.ts | 7 +++++-- src/i18n/en-US/status.ts | 5 +++++ src/i18n/th-th/index.ts | 3 +++ src/i18n/th-th/status.ts | 5 +++++ 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 src/i18n/en-US/status.ts create mode 100644 src/i18n/th-th/status.ts diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index fa75d1fd..f20a58a1 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -5,6 +5,7 @@ import address from './address'; import branch from './branch'; import user from './user'; import formDialog from './form-dialog'; +import status from './status'; export default { ok: 'Confirm', @@ -27,8 +28,10 @@ export default { switchOffLabel: 'Close', language: 'Language', languageName: 'English', - select: 'select', - all: 'all', + select: 'Select', + all: 'All', + displayField: 'Display Fields', + ...status, ...main, ...address, ...branch, diff --git a/src/i18n/en-US/status.ts b/src/i18n/en-US/status.ts new file mode 100644 index 00000000..fe6f57e2 --- /dev/null +++ b/src/i18n/en-US/status.ts @@ -0,0 +1,5 @@ +export default { + statusCREATED: 'Active', + statusACTIVE: 'Active', + statusINACTIVE: 'Inactive', +}; diff --git a/src/i18n/th-th/index.ts b/src/i18n/th-th/index.ts index cc68ba96..295f84c9 100644 --- a/src/i18n/th-th/index.ts +++ b/src/i18n/th-th/index.ts @@ -5,6 +5,7 @@ import address from './address'; import branch from './branch'; import user from './user'; import formDialog from './form-dialog'; +import status from './status'; export default { ok: 'ยืนยัน', @@ -29,6 +30,8 @@ export default { all: 'ทั้งหมด', switchOnLabel: 'เปิด', switchOffLabel: 'ปิด', + displayField: 'ข้อมูลที่แสดง', + ...status, ...main, ...address, ...branch, diff --git a/src/i18n/th-th/status.ts b/src/i18n/th-th/status.ts new file mode 100644 index 00000000..9c737811 --- /dev/null +++ b/src/i18n/th-th/status.ts @@ -0,0 +1,5 @@ +export default { + statusCREATED: 'ดำเนินการอยู่', + statusACTIVE: 'ดำเนินการอยู่', + statusINACTIVE: 'ปิดดำเนินการ', +};