quickphoto/quickphoto.js aktualisiert

"Description" instead of "Bildbeschreibung"
This commit is contained in:
loma-one 2026-03-07 09:13:45 +01:00 committed by Hypolite Petovan
commit 22026ed533

View file

@ -30,7 +30,7 @@
timestamp: Date.now()
}));
let userDesc = existingDesc.trim() || "Bildbeschreibung";
let userDesc = existingDesc.trim() || "Description";
return `[img]${fileName}|${userDesc}[/img]`;
});
};
@ -41,7 +41,7 @@
const data = localStorage.getItem(`qp_${fileName}`);
if (data) {
const parsed = JSON.parse(data);
const finalDesc = (desc === "Bildbeschreibung") ? "" : desc;
const finalDesc = (desc === "Description") ? "" : desc;
return `[url=${parsed.url}][img=${parsed.img}]${finalDesc}[/img][/url]`;
}
return match;