diff --git a/src/main/java/de/srsoftware/widerhall/web/Rest.java b/src/main/java/de/srsoftware/widerhall/web/Rest.java index 5506d8a..225e817 100644 --- a/src/main/java/de/srsoftware/widerhall/web/Rest.java +++ b/src/main/java/de/srsoftware/widerhall/web/Rest.java @@ -91,7 +91,7 @@ public class Rest extends HttpServlet { } catch (SQLException e) { LOG.warn("Was not able to load listmember for {}/{}",list.email(),user.email(),e); } - if (!allowed) return Map.of(ERROR,"You are not allowed to remove this list!"); + if (!allowed) return Map.of(ERROR,"Es ist dir nicht gestattet, diese Liste zu löschen!"); try { list.hide(true).enable(false).openForGuests(false).openForSubscribers(false); for (ListMember member : list.members()) { // drop all list members except for owner @@ -100,7 +100,7 @@ public class Rest extends HttpServlet { } catch (SQLException e) { LOG.debug("Disabling and hiding of {} failed",list.email(),e); } - return Map.of(SUCCESS,t("List {} disabled, closed for subscribers and hidden. Members have been removed.",list.email())); + return Map.of(SUCCESS,t("Liste {} deaktiviert, Abonnement gesperrt, Liste de-publiziert. Mitglieder wurden entfernt.",list.email())); } @Override