diff --git a/quasar.config.js b/quasar.config.js index 799a58e04..71b552561 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -102,7 +102,8 @@ module.exports = configure(function (ctx) { config: { brand: { primary: 'orange' - } + }, + dark: 'auto' }, lang: 'es', diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index e46f7ce55..c22e1c834 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -4,12 +4,13 @@ export default { es: 'Spanish', en: 'English', }, + language: 'Language', collapseMenu: 'Collapse left menu', backToDashboard: 'Return to dashboard', notifications: 'Notifications', userPanel: 'User panel', favoriteModules: 'Favorite modules', - theme: 'Theme', + darkMode: 'Dark mode', logOut: 'Log out', dataSaved: 'Data saved', add: 'Add', @@ -43,7 +44,8 @@ export default { submit: 'Log in', keepLogin: 'Keep me logged in', loginSuccess: 'You have successfully logged in', - loginError: 'Invalid username or password' + loginError: 'Invalid username or password', + fieldRequired: 'This field is required' }, dashboard: { pageTitles: { diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 5ebdb9853..affcfe0a6 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -4,12 +4,13 @@ export default { es: 'Español', en: 'Inglés', }, + language: 'Idioma', collapseMenu: 'Contraer menú lateral', backToDashboard: 'Volver al tablón', notifications: 'Notificaciones', userPanel: 'Panel de usuario', favoriteModules: 'Módulos favoritos', - theme: 'Tema', + darkMode: 'Modo oscuro', logOut: 'Cerrar sesión', dataSaved: 'Datos guardados', add: 'Añadir', @@ -44,6 +45,7 @@ export default { keepLogin: 'Mantener sesión iniciada', loginSuccess: 'Inicio de sesión correcto', loginError: 'Nombre de usuario o contraseña incorrectos', + fieldRequired: 'Este campo es obligatorio' }, dashboard: { pageTitles: { diff --git a/src/pages/Login/Login.vue b/src/pages/Login/Login.vue index 850d598b1..b1e36a922 100644 --- a/src/pages/Login/Login.vue +++ b/src/pages/Login/Login.vue @@ -1,6 +1,6 @@