From f672a94d8dabdc3fad4046e3781ac0517e9cf08b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurij=20Podgor=C5=A1ek?= Date: Mon, 1 Apr 2024 19:59:09 +0200 Subject: [PATCH] Fix language switcher --- nuxt/app.vue | 15 ++++++--- nuxt/components/Pojem.vue | 6 ++++ nuxt/composables/api.js | 31 +++++++++++------- nuxt/lang/en-US.json | 4 --- nuxt/lang/en.json | 5 ++- nuxt/lang/{si.json => sl.json} | 0 nuxt/nuxt.config.js | 8 ++--- nuxt/pages/index.vue | 12 +++++-- nuxt/pages/manifest/dodaj.vue | 2 +- nuxt/pages/manifest/index.vue | 4 +-- .../images/{jezik_si.png => jezik_sl.png} | Bin nuxt/stores/nastavitve.js | 6 ++-- nuxt/stores/pojmi.js | 4 +-- nuxt/stores/strani.js | 4 +-- web/sites/default/default.services.yml | 6 ++-- 15 files changed, 67 insertions(+), 40 deletions(-) delete mode 100644 nuxt/lang/en-US.json rename nuxt/lang/{si.json => sl.json} (100%) rename nuxt/public/images/{jezik_si.png => jezik_sl.png} (100%) diff --git a/nuxt/app.vue b/nuxt/app.vue index 8e52080..a289121 100644 --- a/nuxt/app.vue +++ b/nuxt/app.vue @@ -1,12 +1,19 @@ diff --git a/nuxt/pages/manifest/index.vue b/nuxt/pages/manifest/index.vue index bdcc82f..b2b342a 100644 --- a/nuxt/pages/manifest/index.vue +++ b/nuxt/pages/manifest/index.vue @@ -17,9 +17,9 @@ onMounted(() => {