-
-
-
- {{ $t("config.metadata.help") }}
-
-
-
-
-
-
-
+
+
+
+
+ {{ $t("config.metadata.help") }}
+
-
-
-
-
-
+
+
+
+
+
-
-
-
- {{ corpusId }}
-
-
-
-
+
+
+
+
+
-
-
- {{ $t("config.configuration.help") }}
-
+
+
+
+ {{ corpusId }}
+
+
+
+
-
+
+
+ {{ $t("config.configuration.help") }}
+
-
-
- {{ $t("config.format.note.pdf") }}
-
+
-
- <
- >
-
+
+
+ {{ $t("config.format.note.pdf") }}
+
-
+
+ <
+ >
+
-
-
+
-
+
+
+
+
-
-
+
+
+
-
-
+
+
diff --git a/src/i18n/locale.composable.ts b/src/i18n/locale.composable.ts
index f3e2ae6..93a2e96 100644
--- a/src/i18n/locale.composable.ts
+++ b/src/i18n/locale.composable.ts
@@ -1,20 +1,15 @@
-import { computed, inject, watch } from "vue";
+import { computed, watch } from "vue";
import { useI18n } from "vue-i18n";
import { filesize } from "filesize";
import { useStorage } from "@vueuse/core";
-import { configSymbol } from "@formkit/vue";
import type { ByLang, SvEn, SweEng } from "@/util.types";
const storedLocale = useStorage("locale", "");
export default function useLocale() {
const { locale, messages } = useI18n();
- const formkitConfig = inject(configSymbol);
const exportLocale = () => {
- if (formkitConfig) {
- formkitConfig.locale = locale.value;
- }
document.querySelector("html")?.setAttribute("lang", locale.value);
};
diff --git a/src/main.ts b/src/main.ts
index 5af31c1..a420218 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -4,8 +4,6 @@ import { createPinia } from "pinia";
import router from "@/router/router";
import App from "@/App.vue";
import i18n from "@/i18n/i18n";
-import { formkit, formkitConfig } from "@/formkit";
-import highlight from "@/highlight";
import { FontAwesomeIcon } from "@/fontawesome";
import "@/index.css";
@@ -15,8 +13,6 @@ const app = createApp(App) //
.use(router)
.use(pinia)
.use(i18n)
- .use(formkit, formkitConfig)
- .use(highlight)
.component("icon", FontAwesomeIcon);
// Use the Matomo plugin only if configured in env.
diff --git a/src/metadata/CreateMetadata.vue b/src/metadata/CreateMetadata.vue
index dbb48b1..f2f4983 100644
--- a/src/metadata/CreateMetadata.vue
+++ b/src/metadata/CreateMetadata.vue
@@ -1,5 +1,6 @@