fix: missing i18n

This commit is contained in:
Methapon2001 2024-08-27 21:02:43 +07:00
parent eaae60092a
commit 4fcd202832
5 changed files with 29 additions and 12 deletions

View file

@ -291,6 +291,15 @@ export default {
headQuarters: {
title: 'Headoffice',
},
businessType: 'Business Type',
businessTypeEN: 'Business Type (EN)',
jobPosition: 'Job Position',
jobPositionEN: 'Job Position (EN)',
jobDescription: 'Job Description',
payDay: 'Pay Day',
payRate: 'Pay Rate',
salesPerson: 'Sales Person',
},
table: {

View file

@ -292,6 +292,14 @@ export default {
headQuarters: {
title: 'สำนักงานใหญ่',
},
businessType: 'ประเภทธุรกิจ',
businessTypeEN: 'ประเภทธุรกิจ (ภาษาอังกฤษ)',
jobPosition: 'ตำแหน่งงาน',
jobPositionEN: 'ตำแหน่งงาน (ภาษาอังกฤษ)',
jobDescription: 'รายละเอียดงาน (ภาษาอังกฤษ)',
payDay: 'วันจ่ายเงินเดือน',
payRate: 'อัตราค่าจ้าง',
salesPerson: 'เจ้าหน้าที่ขาย',
},
table: {

View file

@ -163,12 +163,12 @@ const dialogEmployeeImageUpload = ref<InstanceType<typeof ImageUploadDialog>>();
const dialogCreateCustomerItem = [
{
icon: 'mdi:office-building',
text: 'customerLegalEntity',
text: 'customer.employerLegalEntity',
color: 'var(--purple-8)',
},
{
icon: 'heroicons:user-solid',
text: 'customerNaturalPerson',
text: 'customer.employerNaturalPerson',
color: 'var(--green-9)',
},
];

View file

@ -89,7 +89,7 @@ let jobPositionFilter = selectFilterOptionRefMod(
:readonly="readonly"
hide-bottom-space
class="col-12"
:label="$t('inputCustomerAddress')"
:label="$t('form.address')"
v-model="employmentOffice"
/>
@ -133,7 +133,7 @@ let jobPositionFilter = selectFilterOptionRefMod(
:readonly="readonly"
hide-bottom-space
class="col-md-6 col-12"
:label="$t('businessTypeEN')"
:label="$t('customer.form.businessTypeEN')"
v-model="bussinessTypeEN"
/>
@ -154,7 +154,7 @@ let jobPositionFilter = selectFilterOptionRefMod(
class="col-md-6 col-12"
:dense="dense"
:readonly="readonly"
:label="$t('jobPosition')"
:label="$t('customer.form.jobPosition')"
:options="jobPositionOptions"
:for="`${prefixId}-select-job-position`"
@filter="jobPositionFilter"
@ -177,7 +177,7 @@ let jobPositionFilter = selectFilterOptionRefMod(
:readonly="readonly"
hide-bottom-space
class="col-md-6 col-12"
:label="$t('jobPositionEN')"
:label="$t('customer.form.jobPositionEN')"
v-model="jobPositionEN"
/>
@ -190,14 +190,14 @@ let jobPositionFilter = selectFilterOptionRefMod(
:readonly="readonly"
hide-bottom-space
class="col-md-6 col-12"
:label="$t('jobDescription')"
:label="$t('customer.form.jobDescription')"
v-model="jobDescription"
/>
<DatePicker
:id="`${prefixId}-date-picker-pay-date`"
v-model="payDate"
:label="$t('payDay')"
:label="$t('customer.form.payDay')"
:readonly="readonly"
clearable
/>
@ -211,7 +211,7 @@ let jobPositionFilter = selectFilterOptionRefMod(
:readonly="readonly"
hide-bottom-space
class="col-md-3 col-6"
:label="$t('payRate')"
:label="$t('customer.form.payRate')"
v-model="wageRate"
/>
@ -224,7 +224,7 @@ let jobPositionFilter = selectFilterOptionRefMod(
:readonly="readonly"
hide-bottom-space
class="col-6"
:label="$t('salesPerson')"
:label="$t('customer.form.salesPerson')"
v-model="saleEmployee"
/>
</div>

View file

@ -32,7 +32,7 @@ const telephone = defineModel<string>('telephone');
:readonly="readonly"
hide-bottom-space
class="col-md-6 col-12"
:label="$t('formDialogInputEmail')"
:label="$t('form.email')"
v-model="mail"
/>
<q-input
@ -44,7 +44,7 @@ const telephone = defineModel<string>('telephone');
:readonly="readonly"
hide-bottom-space
class="col-md-6 col-12"
:label="$t('formDialogInputTelephone')"
:label="$t('form.telephone')"
v-model="telephone"
/>
</div>