diff --git a/src/modules/resource/i18n/de.ts b/src/modules/resource/i18n/de.ts index 2ecf2c4e43ada5b846e56585bd90bb0d5a9da150..6f6a2177cb00d141593921e7f6f3af98796ed8eb 100644 --- a/src/modules/resource/i18n/de.ts +++ b/src/modules/resource/i18n/de.ts @@ -18,8 +18,7 @@ export default { size: "Ressourcengröße:", resourceTypePopover: "Für weitere Informationen zu Ressourcentypen siehe", - resourceTypePopoverUrl: - "https://docs.coscine.de/de/resources/types/", + resourceTypePopoverUrl: "https://docs.coscine.de/de/resources/types/", hintTextSSO: "Die von Ihnen erstellbaren Ressourcentypen werden durch Ihre Zugehörigkeit zu Organisation {organizationName} beeinflusst. Bedienen Sie das Dropdown-Menü, um die für Sie verfügbaren Optionen zu sehen.", hintTextORCiD: @@ -282,8 +281,7 @@ export default { }, archivePopover: "Setzt die Ressource auf read-only. Für weitere Informationen siehe ", - archivePopoverUrl: - "https://docs.coscine.de/de/resources/archiving/", + archivePopoverUrl: "https://docs.coscine.de/de/resources/archiving/", delete: { modal: { title: "Ressource wirklich entfernen?", @@ -446,8 +444,7 @@ export default { resourceLicenseLabel: "@:(form.resource.resourceLicense)@:(form.labelSymbol)", resourceLicensePopover: "Für weitere Informationen zu Lizenzen siehe ", - resourceLicensePopoverUrl: - "https://docs.coscine.de/de/resources/create/", + resourceLicensePopoverUrl: "https://docs.coscine.de/de/resources/create/", resourceLicenseSelect: "Bitte wählen Sie eine Lizenz aus", resourceLicenseHelp: "Dieses Feld besitzt eine Maximallänge von {maxLength} Zeichen.", @@ -456,8 +453,7 @@ export default { resourceReuseLabel: "@:(form.resource.resourceReuse)@:(form.labelSymbol)", resourceReusePopover: "Für weitere Informationen zu internen Regeln zur Nachnutzung siehe ", - resourceReusePopoverUrl: - "https://docs.coscine.de/de/resources/create/", + resourceReusePopoverUrl: "https://docs.coscine.de/de/resources/create/", resourceReuseHelp: "Dieses Feld besitzt eine Maximallänge von {maxLength} Zeichen.", }, diff --git a/src/modules/resource/i18n/en.ts b/src/modules/resource/i18n/en.ts index 516a89905b868d227d8446c0114922778cdaff5d..d4805c83d30f9d084ad9522ea616127da4184949 100644 --- a/src/modules/resource/i18n/en.ts +++ b/src/modules/resource/i18n/en.ts @@ -18,8 +18,7 @@ export default { resourceType: "Resource Type:", size: "Resource Size:", resourceTypePopover: "For more information on resource types see", - resourceTypePopoverUrl: - "https://docs.coscine.de/en/resources/types/", + resourceTypePopoverUrl: "https://docs.coscine.de/en/resources/types/", hintTextSSO: "The resource types you can create are impacted by your affiliation with {organizationName}. Check the dropdown menu to see the options available to you.", hintTextORCiD: @@ -277,8 +276,7 @@ export default { }, }, archivePopover: "Sets resource to read-only. For more information see ", - archivePopoverUrl: - "https://docs.coscine.de/en/resources/archiving/", + archivePopoverUrl: "https://docs.coscine.de/en/resources/archiving/", delete: { modal: { title: "Do you really want to delete this resource?", @@ -433,8 +431,7 @@ export default { resourceLicenseLabel: "@:(form.resource.resourceLicense)@:(form.labelSymbol)", resourceLicensePopover: "For more information on licenses see ", - resourceLicensePopoverUrl: - "https://docs.coscine.de/en/resources/create/", + resourceLicensePopoverUrl: "https://docs.coscine.de/en/resources/create/", resourceLicenseSelect: "Please select a License", resourceLicenseHelp: "This field can only contain up to {maxLength} characters.", @@ -443,8 +440,7 @@ export default { resourceReuseLabel: "@:(form.resource.resourceReuse)@:(form.labelSymbol)", resourceReusePopover: "For more information on internal rules for reuse see ", - resourceReusePopoverUrl: - "https://docs.coscine.de/en/resources/create/", + resourceReusePopoverUrl: "https://docs.coscine.de/en/resources/create/", resourceReuseHelp: "This field can only contain up to {maxLength} characters.", }, diff --git a/src/router/index.ts b/src/router/index.ts index e68e5753783a7dac974862629c6327b36cdb4b39..0802fb472e2f82d4bf0f5d976be82bda72789992 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -24,7 +24,7 @@ export const routes: RouteConfig[] = [ ]; const router = new VueRouter({ - base: "/coscine/apps/uiv2/", + base: import.meta.env.BASE_URL, mode: "history", routes, }); diff --git a/vite.config.js b/vite.config.js index ccc566ca9d2593b392b39234959b5f73f8619cea..e45ad2fbb79162c1f6a5b8429ea0b15a3656abdc 100644 --- a/vite.config.js +++ b/vite.config.js @@ -54,15 +54,10 @@ const config = defineConfig({ appType: "spa", server: { - hmr: { - path: './', - }, host: true, port: 9234, }, - base: './', - test: { globals: true, environment: 'jsdom',