diff --git a/src/boot/i18n.js b/src/boot/i18n.js
index 4072b024..ebf58b3c 100644
--- a/src/boot/i18n.js
+++ b/src/boot/i18n.js
@@ -4,7 +4,7 @@ import messages from 'src/i18n';
const i18n = createI18n({
locale: navigator.language || navigator.userLanguage,
- fallbackLocale: 'en',
+ fallbackLocale: 'en-US',
globalInjection: true,
missingWarn: false,
fallbackWarn: false,
@@ -17,7 +17,6 @@ const i18n = createI18n({
export default boot(({ app }) => {
// Set i18n instance on app
app.use(i18n);
- window.i18n = i18n.global;
});
export { i18n };
diff --git a/src/i18n/es-ES/index.js b/src/i18n/es-ES/index.js
index 963399ca..a319895b 100644
--- a/src/i18n/es-ES/index.js
+++ b/src/i18n/es-ES/index.js
@@ -72,6 +72,15 @@ export default {
items: 'Artículos',
config: 'Configuración',
user: 'Usuario',
+ password: 'Contraseña',
+ remindMe: 'Recuérdame',
+ logInAsGuest: 'Entrar como invitado',
+ logIn: 'Iniciar sesión',
+ loginMail: 'info@verdnatura.es',
+ loginPhone: '+34 963 242 100',
+ haveForgottenPassword: '¿Has olvidado tu contraseña?',
+ notACustomerYet: '¿Todavía no eres cliente?',
+ signUp: 'Registrarme',
addresses: 'Direcciones',
addressEdit: 'Editar dirección',
dataSaved: 'Datos guardados',
diff --git a/src/pages/Account/AddressDetails.vue b/src/pages/Account/AddressDetails.vue
index 6a68eb78..c41b47e9 100644
--- a/src/pages/Account/AddressDetails.vue
+++ b/src/pages/Account/AddressDetails.vue
@@ -1,33 +1,169 @@
-
-
-
-
- //TODO: VISTA A DESARROLLAR!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
en-US:
back: Back
accept: Accept
+ addEditAddress: Add or edit address
+ name: Consignee
+ address: Address
+ city: City
+ postalCode: Zip code
+ country: Country
+ province: Province
+ addressChangedSuccessfully: Address changed successfully
es-ES:
back: Volver
accept: Aceptar
+ addEditAddress: Añadir o modificar dirección
+ name: Consignatario
+ address: Morada
+ city: Ciudad
+ postalCode: Código postal
+ country: País
+ province: Distrito
+ addressChangedSuccessfully: Dirección modificada correctamente
ca-ES:
back: Tornar
accept: Acceptar
+ addEditAddress: Afegir o modificar adreça
+ name: Consignatari
+ address: Direcció
+ city: Ciutat
+ postalCode: Codi postal
+ country: País
+ province: Província
+ addressChangedSuccessfully: Adreça modificada correctament
fr-FR:
back: Retour
accept: Accepter
+ addEditAddress: Ajouter ou modifier l'adresse
+ name: Destinataire
+ address: Numéro Rue
+ city: Ville
+ postalCode: Code postal
+ country: Pays
+ province: Province
+ addressChangedSuccessfully: Adresse modifié avec succès
pt-PT:
back: Voltar
accept: Aceitar
+ addEditAddress: Adicionar ou modificar morada
+ name: Consignatario
+ address: Morada
+ city: Concelho
+ postalCode: Código postal
+ country: País
+ province: Distrito
+ addressChangedSuccessfully: Morada modificada corretamente
diff --git a/src/pages/Account/AddressList.vue b/src/pages/Account/AddressList.vue
index 5d39dcda..3c56b2aa 100644
--- a/src/pages/Account/AddressList.vue
+++ b/src/pages/Account/AddressList.vue
@@ -128,7 +128,7 @@ onMounted(async () => {
-
+
{
diff --git a/src/pages/Login/Login.vue b/src/pages/Login/LoginView.vue
similarity index 77%
rename from src/pages/Login/Login.vue
rename to src/pages/Login/LoginView.vue
index 0582489b..13fd981e 100644
--- a/src/pages/Login/Login.vue
+++ b/src/pages/Login/LoginView.vue
@@ -1,3 +1,38 @@
+
+
@@ -121,44 +159,6 @@ a {
}
-
-
en-US:
user: User
diff --git a/src/router/routes.js b/src/router/routes.js
index 8710f861..daed2a79 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -6,7 +6,7 @@ const routes = [
{
name: 'Login',
path: '/login/:email?',
- component: () => import('pages/Login/Login.vue')
+ component: () => import('pages/Login/LoginView.vue')
},
{
name: 'rememberPassword',