From 58e88f605c8f4138c835c13c671eec195e65b1bd Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 18 Oct 2024 08:04:52 +0200 Subject: [PATCH] refactor: refs #7132 delete duplicate translations' keys --- .../InvoiceIn/Card/InvoiceInDescriptor.vue | 6 +- src/pages/InvoiceIn/Card/InvoiceInSummary.vue | 10 +-- src/pages/InvoiceIn/InvoiceInCreate.vue | 2 +- src/pages/InvoiceIn/InvoiceInList.vue | 4 +- src/pages/InvoiceIn/locale/en.yml | 7 -- src/pages/InvoiceIn/locale/es.yml | 6 -- src/pages/InvoiceOut/locale/es.yml | 21 +++--- src/pages/Item/Card/CreateIntrastatForm.vue | 2 +- src/pages/Item/Card/ItemDiary.vue | 2 +- src/pages/Item/Card/ItemLastEntries.vue | 8 +-- src/pages/Item/Card/ItemTags.vue | 2 +- src/pages/Item/locale/en.yml | 7 -- src/pages/Item/locale/es.yml | 7 -- src/pages/ItemType/locale/es.yml | 5 -- src/pages/Monitor/MonitorOrders.vue | 4 +- src/pages/Monitor/Ticket/MonitorTickets.vue | 6 +- src/pages/Monitor/locale/en.yml | 5 -- src/pages/Monitor/locale/es.yml | 5 -- .../Card/BasicData/TicketBasicDataForm.vue | 18 ++--- src/pages/Ticket/Card/ExpeditionNewTicket.vue | 2 +- src/pages/Ticket/Card/TicketComponents.vue | 24 +++---- src/pages/Ticket/Card/TicketCreateRequest.vue | 9 +-- .../Ticket/Card/TicketCreateServiceType.vue | 2 +- .../Ticket/Card/TicketCreateTracking.vue | 4 +- src/pages/Ticket/Card/TicketExpedition.vue | 6 +- src/pages/Ticket/Card/TicketNotes.vue | 2 +- src/pages/Ticket/Card/TicketPackage.vue | 2 +- .../Ticket/Card/TicketPurchaseRequest.vue | 21 +++--- src/pages/Ticket/Card/TicketSale.vue | 16 ++--- src/pages/Ticket/Card/TicketSaleTracking.vue | 20 +++--- src/pages/Ticket/Card/TicketService.vue | 6 +- src/pages/Ticket/Card/TicketTracking.vue | 6 +- src/pages/Ticket/Card/TicketTransfer.vue | 14 ++-- src/pages/Ticket/Card/TicketVolume.vue | 6 +- src/pages/Ticket/TicketAdvance.vue | 2 +- src/pages/Ticket/TicketFuture.vue | 24 +++---- src/pages/Ticket/TicketWeekly.vue | 6 +- src/pages/Ticket/locale/en.yml | 65 ------------------- src/pages/Ticket/locale/es.yml | 64 ------------------ src/pages/Zone/Card/ZoneCreateWarehouse.vue | 2 +- src/pages/Zone/Card/ZoneDescriptor.vue | 10 +-- .../Zone/Card/ZoneEventExclusionForm.vue | 4 +- .../Zone/Card/ZoneEventInclusionForm.vue | 16 ++--- src/pages/Zone/Card/ZoneEventsPanel.vue | 14 ++-- src/pages/Zone/Card/ZoneLocations.vue | 2 +- src/pages/Zone/Card/ZoneSummary.vue | 14 ++-- src/pages/Zone/Card/ZoneWarehouses.vue | 6 +- src/pages/Zone/ZoneClosingTable.vue | 12 ++-- src/pages/Zone/ZoneCreate.vue | 14 ++-- src/pages/Zone/ZoneDeliveryPanel.vue | 4 +- src/pages/Zone/ZoneFilterPanel.vue | 6 +- src/pages/Zone/ZoneList.vue | 4 +- src/pages/Zone/ZoneUpcoming.vue | 4 +- src/pages/Zone/locale/en.yml | 50 ++------------ src/pages/Zone/locale/es.yml | 53 ++------------- 55 files changed, 189 insertions(+), 454 deletions(-) diff --git a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue index 9bc4856a8..92f3fffca 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInDescriptor.vue @@ -355,10 +355,10 @@ const createInvoiceInCorrection = async () => { { :required="true" /> diff --git a/src/pages/Item/Card/ItemDiary.vue b/src/pages/Item/Card/ItemDiary.vue index 68633caa2..a59bfa367 100644 --- a/src/pages/Item/Card/ItemDiary.vue +++ b/src/pages/Item/Card/ItemDiary.vue @@ -62,7 +62,7 @@ const columns = computed(() => [ format: (val) => dashIfEmpty(val), }, { - label: t('itemDiary.reference'), + label: t('itemBasicData.reference'), field: 'reference', name: 'reference', align: 'left', diff --git a/src/pages/Item/Card/ItemLastEntries.vue b/src/pages/Item/Card/ItemLastEntries.vue index b211790ca..5c0251ea8 100644 --- a/src/pages/Item/Card/ItemLastEntries.vue +++ b/src/pages/Item/Card/ItemLastEntries.vue @@ -59,7 +59,7 @@ const columns = computed(() => [ align: 'center', }, { - label: t('lastEntries.warehouse'), + label: t('itemDiary.warehouse'), name: 'warehouse', field: 'warehouse', align: 'left', @@ -94,7 +94,7 @@ const columns = computed(() => [ format: (val) => dashIfEmpty(val), }, { - label: t('lastEntries.packing'), + label: t('shelvings.packing'), name: 'packing', align: 'center', }, @@ -104,7 +104,7 @@ const columns = computed(() => [ align: 'center', }, { - label: t('lastEntries.stems'), + label: t('itemBasicData.stems'), name: 'stems', field: 'stems', align: 'center', @@ -188,7 +188,7 @@ onUnmounted(() => (stateStore.rightDrawer = false)); onFormModelInit()); hide-selected map-options :required="true" - :rules="validate('basicData.warehouse')" + :rules="validate('ticketList.warehouse')" /> @@ -394,7 +394,7 @@ onMounted(() => onFormModelInit()); onFormModelInit()); hide-selected map-options :required="true" - :rules="validate('basicData.company')" + :rules="validate('ticketList.company')" /> onFormModelInit()); :rules="validate('basicData.agency')" /> onFormModelInit()); map-options :required="true" @focus="zonesFetchRef.fetch()" - :rules="validate('basicData.zone')" + :rules="validate('ticketList.zone')" >