diff --git a/pom.xml b/pom.xml index 1927cec..ac54f28 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.0.19 + 0.0.20 diff --git a/src/main/java/de/srsoftware/widerhall/web/Rest.java b/src/main/java/de/srsoftware/widerhall/web/Rest.java index 241616c..4769fe2 100644 --- a/src/main/java/de/srsoftware/widerhall/web/Rest.java +++ b/src/main/java/de/srsoftware/widerhall/web/Rest.java @@ -208,10 +208,10 @@ public class Rest extends HttpServlet { if (!list.mayBeAlteredBy(user)) Map.of(ERROR,t("You are not allowed to edit '{}'",list.email())); try { list.hide(hide); - return Map.of(SUCCESS,t("Mailing list '{}' was {}!",list.email(),hide ? "hidden" : "made public")); + return Map.of(SUCCESS,t("Mailing-Liste '{}' wurde {}!",list.email(),hide ? "versteckt" : "veröffentlicht")); } catch (SQLException e) { - LOG.error("Failed to (un)hide mailing list: ",e); - return Map.of(ERROR,t("Failed to update list '{}'",list.email())); + LOG.error("Veröffentlichen/Verstekcen der Mailing-Liste fehlgeschlagen: ",e); + return Map.of(ERROR,t("Aktualisieren der Liste '{}' fehlgeschlagen",list.email())); } }