insert copyright headers for images
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user