quickphoto/quickphoto.js aktualisiert
"Description" instead of "Bildbeschreibung"
This commit is contained in:
parent
29e8c2875c
commit
22026ed533
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue