overhaul gpx creation and usage
Sonarqube Scanner / Prepare environment (push) Successful in 8s
Sonarqube Scanner / Build and test (push) Failing after 22s
Sonarqube Scanner / SonarQube analysis (push) Skipped
Sonarqube Scanner / Deploy to Server (push) Successful in 6s

This commit is contained in:
Florian Zumpe
2026-10-03 12:40:26 +02:00
parent 1cb3977269
commit 171ea88d55
29 changed files with 969 additions and 344 deletions
+8 -3
View File
@@ -5,8 +5,8 @@ globalThis.Wegwichtel = globalThis.Wegwichtel || {};
const DROPDOWN_ANIMATION_MS = 180;
const pageTitles = Object.freeze({
get privacy() { return ns.I18n.t("info.privacy"); },
get imprint() { return ns.I18n.t("info.imprint"); },
privacy: 'Datenschutzerklärung',
imprint: 'Impressum',
get technology() { return ns.I18n.t("info.storage"); }
});
function menuEntries() { return [
@@ -438,7 +438,12 @@ globalThis.Wegwichtel = globalThis.Wegwichtel || {};
}
function updateDialogTitle(pageName) {
if (elements?.title) elements.title.textContent = pageTitles[pageName] ?? ns.I18n.t("info.title");
if (!elements?.title) return;
const isLegalPage = pageName === 'privacy' || pageName === 'imprint';
if (isLegalPage) delete elements.title.dataset.i18n;
else elements.title.dataset.i18n = 'info.storage';
setAttribute(elements.title, 'lang', isLegalPage ? 'de' : ns.I18n.language);
elements.title.textContent = pageTitles[pageName] ?? ns.I18n.t("info.title");
}
function focusSafely(element) {