From 7831a69aa902a0c51b3c1ce8ae27aeeb9cf9ef12 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 26 Apr 2024 11:03:40 +0200 Subject: [PATCH] fix: i18n and icon class --- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + src/pages/Customer/Card/CustomerCreditContracts.vue | 2 +- src/pages/InvoiceOut/InvoiceOutList.vue | 4 +--- src/pages/Route/RouteTickets.vue | 8 ++------ 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 3ac3d18a0..2f4caedf8 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -31,6 +31,7 @@ globals: confirm: Confirm assign: Assign back: Back + downloadPdf: Download PDF yes: 'Yes' no: 'No' noChanges: No changes to save diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 4ecbcdbc0..6e688a602 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -58,6 +58,7 @@ globals: amount: Importe packages: Bultos download: Descargar + downloadPdf: Descargar PDF selectRows: 'Seleccionar las { numberRows } filas(s)' allRows: 'Todo { numberRows } filas(s)' markAll: Marcar todo diff --git a/src/pages/Customer/Card/CustomerCreditContracts.vue b/src/pages/Customer/Card/CustomerCreditContracts.vue index 1729ac076..568adcf0b 100644 --- a/src/pages/Customer/Card/CustomerCreditContracts.vue +++ b/src/pages/Customer/Card/CustomerCreditContracts.vue @@ -105,7 +105,7 @@ const updateData = () => { color="primary" name="lock" size="md" - style="font-variation-settings: 'FILL' 1" + class="fill-icon" > {{ t('Close contract') }} diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index c77502af5..a969c2c4b 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -139,7 +139,7 @@ const openCreateInvoiceModal = () => { icon="cloud_download" :disable="selectedCards.size === 0" > - {{ t('downloadPdf') }} + {{ t('globals.downloadPdf') }} diff --git a/src/pages/Route/RouteTickets.vue b/src/pages/Route/RouteTickets.vue index c1ca5507e..88a435d6e 100644 --- a/src/pages/Route/RouteTickets.vue +++ b/src/pages/Route/RouteTickets.vue @@ -274,7 +274,7 @@ const openSmsDialog = async () => { @@ -295,7 +295,7 @@ const openSmsDialog = async () => { @@ -425,10 +425,6 @@ const openSmsDialog = async () => { .table-actions { gap: 12px; } - -.filled-icon { - font-variation-settings: 'FILL' 1; -} es: