From 6f3236a29e6b9bf0321e525c809a273009244dd9 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Fri, 22 Apr 2022 16:15:56 +0200 Subject: [PATCH] =?UTF-8?q?=C3=9Cbersetzung=20erweitert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/de/srsoftware/widerhall/web/Rest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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