poprawki tłumaczeń

This commit is contained in:
2024-03-04 21:10:43 +01:00
parent 41b1ab398c
commit 20826d905d
3 changed files with 22 additions and 17 deletions
+2 -16
View File
@@ -2,26 +2,12 @@ import { createApp, Directive, ref } from 'vue';
import App from './App.vue';
import router from './router';
import enLang from './locales/en.json';
import plLang from './locales/pl.json';
import i18n from './i18n';
import { createI18n } from 'vue-i18n';
import { createPinia } from 'pinia';
import useCustomSW from './mixins/useCustomSW';
const i18n = createI18n({
locale: 'pl',
legacy: false,
warnHtmlMessage: false,
fallbackLocale: 'pl',
messages: {
en: enLang,
pl: plLang
},
enableLegacy: false
});
// SW
// Service worker
useCustomSW();
const clickOutsideDirective: Directive = {