diff --git a/Jenkinsfile b/Jenkinsfile index c4e87be4a..437332c4e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,8 +31,7 @@ pipeline { NODE_ENV = "" } steps { - nodejs('node-v14') { - sh 'npm install -g @quasar/cli' + nodejs('node-v18') { sh 'npm install --no-audit --prefer-offline' } } @@ -48,7 +47,7 @@ pipeline { parallel { stage('Frontend') { steps { - nodejs('node-v14') { + nodejs('node-v18') { sh 'npm run test:unit:ci' } } @@ -64,7 +63,7 @@ pipeline { CREDENTIALS = credentials('docker-registry') } steps { - nodejs('node-v14') { + nodejs('node-v18') { sh 'quasar build' } dockerBuild() diff --git a/src/App.vue b/src/App.vue index 2ef0843bd..4f1394559 100644 --- a/src/App.vue +++ b/src/App.vue @@ -30,12 +30,12 @@ quasar.iconMapFn = (iconName) => { const name = iconName.substring(3); return { - cls: `icon-${name}`, + cls: `icon-${name} notranslate`, }; } return { - cls: 'material-symbols-outlined', + cls: 'material-symbols-outlined notranslate', content: iconName, }; }; diff --git a/src/boot/i18n.js b/src/boot/i18n.js index e1492d3bb..b23b6d5fd 100644 --- a/src/boot/i18n.js +++ b/src/boot/i18n.js @@ -3,11 +3,12 @@ import { createI18n } from 'vue-i18n'; import messages from 'src/i18n'; const i18n = createI18n({ - locale: 'en', + locale: navigator.language || navigator.userLanguage, fallbackLocale: 'en', globalInjection: true, messages, missingWarn: false, + fallbackWarn: false, legacy: false, }); diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index cb1283eb5..9174e4d3a 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -1,43 +1,49 @@