refactor: add i18n

This commit is contained in:
puriphatt 2024-09-20 11:45:58 +07:00
parent b53ec8e91c
commit ac241a8e31
2 changed files with 50 additions and 2 deletions

View file

@ -48,7 +48,7 @@ export default {
selectAll: 'Select All',
additional: 'Additional',
editImage: 'Edit Image',
upload: 'Upload',
upload: 'Upload{msg}',
baseOnDevice: 'Base on Device',
clickToCreate: 'Click to create',
age: 'Age',
@ -68,6 +68,11 @@ export default {
document: 'Document',
uploadDate: 'Upload Date',
information: '{msg} Information',
itemNo: '{msg} No.',
example: 'Example',
view: 'View {msg}',
attachment: 'Attachment',
about: 'About',
},
menu: {
@ -553,6 +558,24 @@ export default {
},
},
quotation: {
title: 'Quotation',
customerName: 'Customer Name',
reporter: 'Reporter',
totalPrice: 'Total (Baht)',
receipt: 'Receipt/Tax Invoice',
branch: 'Branch that issues the quotation',
customer: 'Customer',
newCustomer: 'New Customer',
type: {
all: 'All',
fullAmountCash: 'Full Amount Cash',
installmentsCash: 'Installments Cash',
fullAmountBill: 'Full Amount Bill',
installmentsBill: 'Installments Bill',
},
},
dialog: {
title: {
incompleteDataEntry: 'Incomplete Data Entry',
@ -562,6 +585,7 @@ export default {
confirmLogout: 'Confirm Logout',
},
message: {
beingUse: '"{msg}" is being used.',
incompleteDataEntry: 'Incomplete data entry on {tap} page',
confirmChangeStatusOn: 'Do you want to open?',
confirmChangeStatusOff: 'Do you want to close?',

View file

@ -48,7 +48,7 @@ export default {
selectAll: 'เลือกทั้งหมด',
additional: 'เพิ่มเติม',
editImage: 'แก้ไขรูป',
upload: 'อัปโหลด',
upload: 'อัปโหลด{msg}',
baseOnDevice: 'สีตามอุปกรณ์',
clickToCreate: 'กดเพื่อสร้าง',
age: 'อายุ',
@ -68,6 +68,11 @@ export default {
document: 'ชื่อเอกสาร',
uploadDate: 'วันที่อัปโหลด',
information: 'ข้อมูล{msg}',
itemNo: 'เลขที่{msg}',
example: 'ตัวอย่าง',
view: 'ดู{msg}',
attachment: 'เอกสาร',
about: 'เกี่ยวกับ',
},
menu: {
@ -551,6 +556,24 @@ export default {
},
},
quotation: {
title: 'ใบเสนอราคา',
customerName: 'ชื่อลูกค้า',
reporter: 'ผู้ที่ทำรายงาน',
totalPrice: 'ยอดรวมสุทธิ(บาท)',
receipt: 'ใบเสร็จ/กำกับภาษี',
branch: 'สาขาที่ออกใบเสนอราคา',
customer: 'ลูกค้า',
newCustomer: 'ลูกค้าใหม่',
type: {
all: 'ทั้งหมด',
fullAmountCash: 'เงินสดเต็มจำนวน',
installmentsCash: 'เงินสดแบ่งจ่าย',
fullAmountBill: 'ใบเรียกเก็บเงินเต็มจำนวน',
installmentsBill: 'ใบเรียกเก็บเงินแบ่งจ่าย',
},
},
dialog: {
title: {
incompleteDataEntry: 'กรอกข้อมูลไม่ครบ',
@ -560,6 +583,7 @@ export default {
confirmLogout: 'ยืนยันการออกจากระบบ',
},
message: {
beingUse: '"{msg}" มีการใช้งานอยู่',
incompleteDataEntry: 'กรอกข้อมูลไม่ครบในหน้า {tap}',
confirmChangeStatusOn: 'คุณต้องการเปิดใช่หรือไม่',
confirmChangeStatusOff: 'คุณต้องการปิดใช่หรือไม่',