insert copyright headers for images
Sonarqube Scanner / Prepare environment (push) Successful in 7s
Sonarqube Scanner / Build and test (push) Successful in 30s
Sonarqube Scanner / SonarQube analysis (push) Successful in 1m6s
Sonarqube Scanner / Deploy to Server (push) Successful in 6s

This commit is contained in:
Florian Zumpe
2026-10-04 10:14:40 +02:00
parent 3a682f2b30
commit d3311cce06
18 changed files with 382 additions and 12 deletions
+3 -1
View File
@@ -7,11 +7,13 @@ globalThis.Wegwichtel = globalThis.Wegwichtel || {};
const pageTitles = Object.freeze({
privacy: 'Datenschutzerklärung',
imprint: 'Impressum',
terms: 'Nutzungsvereinbarung',
get technology() { return ns.I18n.t("info.storage"); }
});
function menuEntries() { return [
['privacy', ns.I18n.t("info.privacy")],
['imprint', ns.I18n.t("info.imprint")],
['terms', ns.I18n.t("info.terms")],
['technology', ns.I18n.t("info.storage")]
]; }
const selectors = Object.freeze({
@@ -439,7 +441,7 @@ globalThis.Wegwichtel = globalThis.Wegwichtel || {};
function updateDialogTitle(pageName) {
if (!elements?.title) return;
const isLegalPage = pageName === 'privacy' || pageName === 'imprint';
const isLegalPage = pageName !== 'technology';
if (isLegalPage) delete elements.title.dataset.i18n;
else elements.title.dataset.i18n = 'info.storage';
setAttribute(elements.title, 'lang', isLegalPage ? 'de' : ns.I18n.language);