mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-12 17:52:13 +02:00
Translation support has been added.
This commit is contained in:
parent
5938e18e2e
commit
5a7f52f748
@ -53,9 +53,10 @@ function setupFileInput(chooser) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Handle form validation if the input is left empty
|
// Handle form validation if the input is left empty
|
||||||
fileInput.addEventListener("invalid", (e)=>{
|
fileInput.addEventListener("invalid", (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
alert('Please select a PDF file before submitting.')
|
alert(pdfPrompt);
|
||||||
|
console.log(escapeHtml(translations.selectPDF));
|
||||||
});
|
});
|
||||||
|
|
||||||
const dragenterListener = function () {
|
const dragenterListener = function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user