- fix Header and Drawer Right

- fix Drawer Menu Left
- add icon on the Header
- fix lang if is different language: set to English.
This commit is contained in:
Paolo Arena
2019-03-14 21:09:41 +01:00
parent 41642853d1
commit 527da316da
25 changed files with 319 additions and 303 deletions

View File

@@ -14,28 +14,10 @@ export default ({ app, store, Vue }) => {
// console.log(`LANG NAVIGATOR ${mylang}`)
}
if (mylang === '')
mylang = process.env.LANG_DEFAULT;
mylang = tools.checkLangPassed(mylang)
if (mylang.toLowerCase() === 'es-es')
mylang = 'es'
// console.log('MYLANG2=', mylang)
// console.log('process.env.LANG_DEFAULT=', process.env.LANG_DEFAULT)
Vue.config.lang = mylang
// import(`quasar/lang/${mylang}`).then(lang => {
// console.log(' ... LANGDEFAULT=', lang)
// this.$q.i18n.set(lang.default)
// import(`src/statics/i18n`).then(function () {
// })
// })
// console.log("PLUGINS INIT....");
// console.log("LANG_DEFAULT: ")
// console.log(process.env.LANG_DEFAULT)
// Set i18n instance on app
app.i18n = new VueI18n({
fallbackLocale: mylang,