From c41d1430f7fcadf90f26d6e9a4932ecfa5412d85 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Sat, 7 Sep 2024 19:34:22 -0300 Subject: [PATCH] Add menu translations --- src/i18n/ca-ES/index.js | 49 +++++++++++++++++------------ src/i18n/en-US/index.js | 48 +++++++++++++++++------------ src/i18n/es-ES/index.js | 48 +++++++++++++++++------------ src/i18n/fr-FR/index.js | 50 +++++++++++++++++------------- src/i18n/pt-PT/index.js | 50 +++++++++++++++++------------- src/layouts/MainLayout.vue | 8 +++-- src/router/index.js | 6 ++-- src/router/routes.js | 63 ++++++++++++++++++++++++++++++++++++++ 8 files changed, 213 insertions(+), 109 deletions(-) diff --git a/src/i18n/ca-ES/index.js b/src/i18n/ca-ES/index.js index 0bfbef03..a80aec1d 100644 --- a/src/i18n/ca-ES/index.js +++ b/src/i18n/ca-ES/index.js @@ -40,26 +40,35 @@ export default { ] }, of: 'de', - // Menu - home: 'Inici', - catalog: 'Catàleg', - pendingOrders: 'Comandes pendents', - confirmedOrders: 'Comandes confirmades', - invoices: 'Factures', - agencyPackages: 'Paquets per agència', - accountConfig: 'Configuració', - addressesList: 'Adreces', - addressDetails: 'Configuració', - checkout: 'Configurar encàrrec', - controlPanel: 'Panell de control', - adminConnections: 'Connexions', - adminItems: 'Articles', - adminVisits: 'Visites', - adminUsers: "Gestió d'usuaris", - adminPhotos: 'Imatges', - adminNews: 'Gestió de noticies', - adminNewsDetails: 'Afegir o editar notícia', - basket: 'Cistella de la compra', + + // Sections titles + Home: 'Inici', + Orders: 'Comandes', + Ticket: `Detall de l'encarrec`, + 'Pending orders': 'Comandes pendents', + 'Last orders': 'Comandes confirmades', + Invoices: 'Factures', + Basket: 'Cistella', + Catalog: 'Catàleg', + Administration: 'Administració', + 'Control panel': 'Panell de control', + Users: 'Usuaris', + Connections: 'Connexions', + Visits: 'Visites', + News: 'Notícies', + Photos: 'Imatges', + Images: 'Imatges', + Items: 'Articles', + Agencies: 'Agències', + Reports: 'Informes', + Configuration: 'Configuració', + Shelves: 'Prestatgeries', + Account: 'Compte', + Addresses: 'Adreces', + Confirm: 'Confirmar', + Checkout: `Configurar l'encarrec`, + 'Address details': 'Configuració', + 'Admin news details': `Afegir o editar notícia`, // orderLoadedIntoBasket: 'Comanda carregada a la cistella!', loadAnOrder: diff --git a/src/i18n/en-US/index.js b/src/i18n/en-US/index.js index b43e73de..25be1daf 100644 --- a/src/i18n/en-US/index.js +++ b/src/i18n/en-US/index.js @@ -53,26 +53,34 @@ export default { ] }, - // menu - home: 'Home', - catalog: 'Catalog', - pendingOrders: 'Pending orders', - confirmedOrders: 'Confirmed orders', - invoices: 'Invoices', - agencyPackages: 'Bundles by agency', - accountConfig: 'Configuration', - addressesList: 'Addresses', - addressDetails: 'Configuration', - checkout: 'Configure order', - controlPanel: 'Control panel', - adminConnections: 'Connections', - adminItems: 'Items', - adminVisits: 'Visits', - adminUsers: 'User management', - adminPhotos: 'Images', - adminNews: 'News management', - adminNewsDetails: 'Add or edit new', - basket: 'Shopping basket', + // Sections titles + Home: 'Home', + Orders: 'Orders', + Ticket: 'Detalle del pedido', + 'Pending orders': 'Pending orders', + 'Last orders': 'Confirmed orders', + Invoices: 'Invoices', + Basket: 'Basket', + Catalog: 'Catalog', + Administration: 'Administration', + 'Control panel': 'Control panel', + Users: 'Users', + Connections: 'Connections', + Visits: 'Visits', + News: 'News', + Photos: 'Images', + Images: 'Images', + Items: 'Items', + Agencies: 'Agencies', + Reports: 'Reports', + Configuration: 'Configuration', + Shelves: 'Shelves', + Account: 'Account', + Addresses: 'Addresses', + Confirm: 'Confirm', + Checkout: 'Configure order', + 'Address details': 'Configuration', + 'Admin news details': 'Add or edit new', // 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 693c5454..800434fb 100644 --- a/src/i18n/es-ES/index.js +++ b/src/i18n/es-ES/index.js @@ -59,26 +59,34 @@ export default { ] }, - // Menu - home: 'Inicio', - catalog: 'Catálogo', - pendingOrders: 'Pedidos pendientes', - confirmedOrders: 'Pedidos confirmados', - invoices: 'Facturas', - agencyPackages: 'Bultos por agencia', - accountConfig: 'Configuración', - addressesList: 'Direcciones', - addressDetails: 'Configuración', - checkout: 'Configurar pedido', - controlPanel: 'Panel de control', - adminConnections: 'Conexiones', - adminItems: 'Artículos', - adminVisits: 'Visitas', - adminUsers: 'Gestión de usuarios', - adminPhotos: 'Imágenes', - adminNews: 'Gestión de noticias', - adminNewsDetails: 'Añadir o editar noticia', - basket: 'Cesta de la compra', + // Sections titles + Home: 'Inicio', + Orders: 'Pedidos', + Ticket: 'Pedido', + 'Pending orders': 'Pedidos pendientes', + 'Last orders': 'Pedidos confirmados', + Invoices: 'Facturas', + Basket: 'Cesta', + Catalog: 'Catálogo', + Administration: 'Administración', + 'Control panel': 'Panel de control', + Users: 'Usuarios', + Connections: 'Conexiones', + Visits: 'Visitas', + News: 'Noticias', + Photos: 'Imágenes', + Images: 'Imágenes', + Items: 'Artículos', + Agencies: 'Agencias', + Reports: 'Informes', + Configuration: 'Configuración', + Shelves: 'Estanterías', + Account: 'Cuenta', + Addresses: 'Direcciones', + Confirm: 'Confirmar', + Checkout: 'Configurar pedido', + 'Address details': 'Configuración', + 'Admin news details': 'Añadir o editar noticia', // orderLoadedIntoBasket: '¡Pedido cargado en la cesta!', loadAnOrder: diff --git a/src/i18n/fr-FR/index.js b/src/i18n/fr-FR/index.js index 23c0a9f1..233087cf 100644 --- a/src/i18n/fr-FR/index.js +++ b/src/i18n/fr-FR/index.js @@ -40,27 +40,35 @@ export default { ] }, of: 'de', - // Menu - home: 'Accueil', - catalog: 'Catalogue', - pendingOrders: 'Commandes en attente', - confirmedOrders: 'Commandes confirmées', - invoices: 'Factures', - agencyPackages: 'Liste par agence', - accountConfig: 'Configuration', - addressesList: 'Adresses', - addressDetails: 'Configuration', - checkout: "Définissez l'ordre", - controlPanel: 'Panneau de configuration', - adminConnections: 'Connexions', - adminItems: 'Articles', - adminVisits: 'Visites', - adminUsers: 'Gestion des utilisateurs', - adminPhotos: 'Images', - adminNews: 'Gestion des nouvelles', - adminNewsDetails: 'Ajouter ou editer nouvelles', - emptyList: 'Vider la liste', - basket: 'Panier', + + // Sections titles + Home: 'Accueil', + Orders: 'Commandes', + Ticket: 'Détail de la commande', + 'Pending orders': 'Commandes en attente', + 'Last orders': 'Commandes confirmées', + Invoices: 'Factures', + Basket: 'Panier', + Catalog: 'Catalogue', + Administration: 'Administration', + 'Control panel': 'Panneau de configuration', + Users: 'Utilisateurs', + Connections: 'Connexions', + Visits: 'Visites', + News: 'Nouvelles', + Photos: 'Images', + Images: 'Images', + Items: 'Articles', + Agencies: 'Agences', + Reports: 'Rapports', + Configuration: 'Configuration', + Shelves: 'Étagères', + Account: 'Compte', + Addresses: 'Adresses', + Confirm: 'Confirmer', + Checkout: 'Configurer la commande', + 'Address details': 'Configuration', + 'Admin news details': 'Ajouter ou éditer une nouvelle', // 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 d792b885..83fc12b1 100644 --- a/src/i18n/pt-PT/index.js +++ b/src/i18n/pt-PT/index.js @@ -40,28 +40,34 @@ export default { ] }, of: 'de', - - // Menu - home: 'Principio', - catalog: 'Catálogo', - pendingOrders: 'Pedidos pendentes', - confirmedOrders: 'Pedidos confirmados', - invoices: 'Facturas', - agencyPackages: 'Bultos por agencia', - accountConfig: 'Configuração', - addressesList: 'Moradas', - addressDetails: 'Configuração', - checkout: 'Configurar encomenda', - controlPanel: 'Painel de controle', - adminConnections: 'Conexões', - adminItems: 'Artigos', - adminVisits: 'Visitas', - adminUsers: 'Gestão de usuários', - adminPhotos: 'Imagens', - adminNews: 'Gestão de notícias', - adminNewsDetails: 'Ajouter ou editer nouvelles', - emptyList: 'Lista vazia', - basket: 'Cesta da compra', + // Sections titles + Home: 'Início', + Orders: 'Pedidos', + Ticket: 'Detalhe do pedido', + 'Pending orders': 'Pedidos pendentes', + 'Last orders': 'Pedidos confirmados', + Invoices: 'Faturas', + Basket: 'Carrinho', + Catalog: 'Catálogo', + Administration: 'Administração', + 'Control panel': 'Painel de controle', + Users: 'Usuários', + Connections: 'Conexões', + Visits: 'Visitas', + News: 'Notícias', + Photos: 'Imagens', + Images: 'Imagens', + Items: 'Artigos', + Agencies: 'Agências', + Reports: 'Informes', + Configuration: 'Configuração', + Shelves: 'Estantes', + Account: 'Conta', + Addresses: 'Moradas', + Confirm: 'Confirme', + Checkout: 'Configurar encomenda', + 'Address details': 'Configuração', + 'Admin news details': 'Adicionar ou editar notícia', // orderLoadedIntoBasket: 'Pedido carregado na cesta!', loadAnOrder: 'Carregue um pedido pendente no carrinho ou inicie um novo', diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index 67a94b45..0d114df4 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -1,5 +1,6 @@