mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 21:50:12 +01:00
feat: image support
also translated some strings back into english
This commit is contained in:
@@ -22,7 +22,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
window.location.href = "/modify.html?event=" + id;
|
||||
break;
|
||||
case "remove-btn":
|
||||
const confirmed = confirm("Na pewno chcesz usunąć to wydarzenie?"); // Potwierdzenie usunięcia
|
||||
const confirmed = confirm("Are you sure?"); // Potwierdzenie usunięcia
|
||||
if (!confirmed)
|
||||
return;
|
||||
try {
|
||||
@@ -37,11 +37,11 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
card.remove();
|
||||
}
|
||||
else {
|
||||
alert("Błąd podczas usuwania wydarzenia.");
|
||||
alert("Couldn't delete that event.");
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
alert("Błąd połączenia z serwerem.");
|
||||
alert("Server connection failure.");
|
||||
console.error(err);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user