完善手工开票页面文案国际化

This commit is contained in:
andy
2026-07-17 14:52:36 +07:00
parent 94484dbf14
commit 7dfaea7245
7 changed files with 121 additions and 55 deletions

View File

@@ -253,6 +253,7 @@ export default {
},
manualInvoice: {
title: 'Manual invoice',
createTitle: 'Create Invoice',
subtitle: 'Generate a Proforma Invoice PDF by entering fields manually without an order or task.',
sourceBadge: 'Manual generation',
independentHint: 'This V1 page is not linked to an order or task. The backend records generation and audit data.',
@@ -272,12 +273,16 @@ export default {
company: 'Company',
attention: 'Attention',
address: 'Address',
companyInputPlaceholder: 'Enter company',
attentionInputPlaceholder: 'Enter attention',
addressInputPlaceholder: 'Enter full billing address',
telephone: 'Tel',
email: 'Email',
groupName: 'Group name',
arrivalDate: 'Arrival date',
departureDate: 'Departure date',
roomRateNote: 'Room rate note',
roomRateNotePlaceholder: 'e.g. including BF',
extraBedRate: 'Extra bed rate',
description: 'Description',
roomType: 'Room type',
@@ -288,12 +293,13 @@ export default {
subtotal: 'Sub-total',
vat: 'VAT 7%',
total: 'Total',
addCharge: 'Add charge',
addCharge: 'Add row',
removeCharge: 'Remove',
removeChargeLineAria: 'Remove row {index}',
maxChargesReached: 'V1 supports up to 10 charge lines.',
previewDisclaimer: 'The frontend only previews amounts. Backend totals are authoritative.',
manualOverrideHint: 'Selecting company and attention fills contact details; every text field remains editable.',
generate: 'Generate PDF',
generate: 'Confirm and generate PDF',
generating: 'Generating',
openPdf: 'Open PDF',
downloadPdf: 'Download PDF',

View File

@@ -253,6 +253,7 @@ export default {
},
manualInvoice: {
title: 'ออกใบแจ้งหนี้เอง',
createTitle: 'สร้าง Invoice',
subtitle: 'กรอกข้อมูลเองเพื่อสร้าง Proforma Invoice PDF โดยไม่ต้องอ้างอิงออเดอร์หรืองาน',
sourceBadge: 'สร้างด้วยตนเอง',
independentHint: 'หน้า V1 นี้ไม่ผูกกับออเดอร์หรืองาน หลังบ้านจะบันทึกประวัติการสร้างและ audit',
@@ -272,12 +273,16 @@ export default {
company: 'Company',
attention: 'Attention',
address: 'Address',
companyInputPlaceholder: 'กรอกชื่อบริษัท',
attentionInputPlaceholder: 'กรอกชื่อผู้รับ',
addressInputPlaceholder: 'กรอกที่อยู่เรียกเก็บเงินแบบเต็ม',
telephone: 'Tel',
email: 'Email',
groupName: 'Group Name',
arrivalDate: 'Arrival Date',
departureDate: 'Departure Date',
roomRateNote: 'Room Rate Note',
roomRateNotePlaceholder: 'เช่น including BF',
extraBedRate: 'Extra Bed Rate',
description: 'Description',
roomType: 'Room Type',
@@ -288,12 +293,13 @@ export default {
subtotal: 'Sub-Total',
vat: 'VAT 7%',
total: 'Total',
addCharge: 'เพิ่มรายการ',
addCharge: 'เพิ่มแถว',
removeCharge: 'ลบ',
removeChargeLineAria: 'ลบแถวที่ {index}',
maxChargesReached: 'V1 รองรับได้สูงสุด 10 รายการค่าใช้จ่าย',
previewDisclaimer: 'ยอดนี้เป็นเพียงตัวอย่าง ยอดสุดท้ายให้ยึด totals จากหลังบ้าน',
manualOverrideHint: 'เลือก Company / Attention แล้วระบบจะกรอกข้อมูลให้ แต่ยังแก้ไขข้อความได้ทั้งหมด',
generate: 'สร้าง PDF',
generate: 'ยืนยันและสร้าง PDF',
generating: 'กำลังสร้าง',
openPdf: 'เปิด PDF',
downloadPdf: 'ดาวน์โหลด PDF',

View File

@@ -253,6 +253,7 @@ export default {
},
manualInvoice: {
title: '手工开票',
createTitle: '创建 Invoice',
subtitle: '无订单、无任务时,手工填写 Proforma Invoice 字段并生成 PDF。',
sourceBadge: '手工生成',
independentHint: '本页第一版不关联订单或任务,生成记录和审计由后端统一落库。',
@@ -272,12 +273,16 @@ export default {
company: '公司Company',
attention: '收件人Attention',
address: '地址Address',
companyInputPlaceholder: '输入公司名称',
attentionInputPlaceholder: '输入收件人',
addressInputPlaceholder: '输入客户完整账单地址',
telephone: 'Tel',
email: 'Email',
groupName: '团队名称Group Name',
arrivalDate: '到店日期Arrival Date',
departureDate: '离店日期Departure Date',
roomRateNote: '房价备注Room Rate Note',
roomRateNotePlaceholder: '例如 including BF',
extraBedRate: '加床价格Extra Bed Rate',
description: '费用描述Description',
roomType: '房型Room Type',
@@ -288,12 +293,13 @@ export default {
subtotal: 'Sub-Total',
vat: 'VAT 7%',
total: 'Total',
addCharge: '新增费用',
addCharge: '新增一行',
removeCharge: '删除',
removeChargeLineAria: '删除第 {index} 行',
maxChargesReached: '第一版最多支持 10 条费用明细。',
previewDisclaimer: '前端仅做金额预览,最终金额以后端返回 totals 为准。',
manualOverrideHint: '选择 Company / Attention 后会自动带出资料,带出的文本仍可手工覆盖。',
generate: '生成 PDF',
generate: '确认并生成 PDF',
generating: '生成中',
openPdf: '打开 PDF',
downloadPdf: '下载 PDF',