From 2bff9304e8c445dcf859a09841abf26b962ce80e Mon Sep 17 00:00:00 2001 From: wbuezas Date: Fri, 6 Sep 2024 11:31:07 -0300 Subject: [PATCH] Add title view translation --- src/i18n/ca-ES/index.js | 1 + src/i18n/en-US/index.js | 1 + src/i18n/es-ES/index.js | 1 + src/i18n/fr-FR/index.js | 1 + src/i18n/pt-PT/index.js | 1 + src/pages/Ecomerce/BasketView.vue | 1 - src/pages/Ecomerce/InvoicesView.vue | 1 - 7 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/i18n/ca-ES/index.js b/src/i18n/ca-ES/index.js index 191007a2..0bfbef03 100644 --- a/src/i18n/ca-ES/index.js +++ b/src/i18n/ca-ES/index.js @@ -59,6 +59,7 @@ export default { adminPhotos: 'Imatges', adminNews: 'Gestió de noticies', adminNewsDetails: 'Afegir o editar notícia', + basket: 'Cistella de la compra', // orderLoadedIntoBasket: 'Comanda carregada a la cistella!', loadAnOrder: diff --git a/src/i18n/en-US/index.js b/src/i18n/en-US/index.js index 4760be93..b43e73de 100644 --- a/src/i18n/en-US/index.js +++ b/src/i18n/en-US/index.js @@ -72,6 +72,7 @@ export default { adminPhotos: 'Images', adminNews: 'News management', adminNewsDetails: 'Add or edit new', + basket: 'Shopping basket', // orderLoadedIntoBasket: 'Order loaded into basket!', loadAnOrder: 'Please load a pending order to the cart or start a new one', diff --git a/src/i18n/es-ES/index.js b/src/i18n/es-ES/index.js index 383b7ea7..693c5454 100644 --- a/src/i18n/es-ES/index.js +++ b/src/i18n/es-ES/index.js @@ -78,6 +78,7 @@ export default { adminPhotos: 'Imágenes', adminNews: 'Gestión de noticias', adminNewsDetails: 'Añadir o editar noticia', + basket: 'Cesta de la compra', // orderLoadedIntoBasket: '¡Pedido cargado en la cesta!', loadAnOrder: diff --git a/src/i18n/fr-FR/index.js b/src/i18n/fr-FR/index.js index 27de9359..23c0a9f1 100644 --- a/src/i18n/fr-FR/index.js +++ b/src/i18n/fr-FR/index.js @@ -60,6 +60,7 @@ export default { adminNews: 'Gestion des nouvelles', adminNewsDetails: 'Ajouter ou editer nouvelles', emptyList: 'Vider la liste', + basket: 'Panier', // orderLoadedIntoBasket: 'Commande chargée dans le panier!', loadAnOrder: diff --git a/src/i18n/pt-PT/index.js b/src/i18n/pt-PT/index.js index 6a3bf5a8..d792b885 100644 --- a/src/i18n/pt-PT/index.js +++ b/src/i18n/pt-PT/index.js @@ -61,6 +61,7 @@ export default { adminNews: 'Gestão de notícias', adminNewsDetails: 'Ajouter ou editer nouvelles', emptyList: 'Lista vazia', + basket: 'Cesta da compra', // orderLoadedIntoBasket: 'Pedido carregado na cesta!', loadAnOrder: 'Carregue um pedido pendente no carrinho ou inicie um novo', diff --git a/src/pages/Ecomerce/BasketView.vue b/src/pages/Ecomerce/BasketView.vue index 3835e6ab..7d996ee0 100644 --- a/src/pages/Ecomerce/BasketView.vue +++ b/src/pages/Ecomerce/BasketView.vue @@ -67,7 +67,6 @@ const getItems = async () => { WHERE orderFk = #id`, { id: orderId.value } ); - console.log('data', data); const formattedData = data.map(i => { const { amount: quantity, ...item } = i; diff --git a/src/pages/Ecomerce/InvoicesView.vue b/src/pages/Ecomerce/InvoicesView.vue index e9032603..cea29636 100644 --- a/src/pages/Ecomerce/InvoicesView.vue +++ b/src/pages/Ecomerce/InvoicesView.vue @@ -63,7 +63,6 @@ const fetchInvoices = async () => { LIMIT 100`, params ); - console.log(invoices.value); }; onMounted(async () => {