an Übersetzung gearbeitet

This commit is contained in:
2022-04-19 10:47:24 +02:00
parent c74e66ed3c
commit 0f83ce7e82
2 changed files with 10 additions and 10 deletions

View File

@@ -135,7 +135,7 @@ public class MailingList {
var member = ListMember.load(this,user);
return member.hasState(ListMember.STATE_OWNER|ListMember.STATE_SUBSCRIBER); // owners may subscribe their own mailing lists
} catch (SQLException e) {
LOG.warn("Was not able to load ListMember: ",e);
LOG.warn("Konnte ListeMember nicht laden: ",e);
return false;
}
}
@@ -192,7 +192,7 @@ public class MailingList {
.compile().exec();
if (rs.next()) ml = MailingList.from(rs);
} catch (SQLException e) {
LOG.debug("Failed to load MailingList: ",e);
LOG.debug("Konnte MailingList nicht laden: ",e);
}
return ml;
}
@@ -229,7 +229,7 @@ public class MailingList {
while (rs.next()) list.add(MailingList.from(rs));
rs.close();
} catch (SQLException e) {
LOG.warn("Listing mailing lists failed: ", e);
LOG.warn("Auflisten der Mailinglisten fehlgeschlagen: ", e);
}
return list;
}
@@ -283,10 +283,10 @@ public class MailingList {
* @throws UnsupportedEncodingException
*/
private void sendConfirmationRequest(User user, String token) throws MessagingException, UnsupportedEncodingException {
var subject = t("Please confirm your list subscription");
var subject = t("Bitte bestätigen Sie ihr Listen-Abonnement");
var config = Configuration.instance();
var url = new StringBuilder(config.baseUrl()).append("/confirm?token=").append(token);
var text = t("Please go to {} in order to complete your list subscription!",url);
var text = t("Botte gehen Sie zu {} um das Abonnieren der Liste abzuschließen!",url);
smtp.login().send(email(),name(),user.email(),subject,text);
}
@@ -335,7 +335,7 @@ public class MailingList {
rs.close();
return result;
} catch (SQLException e) {
LOG.warn("Failed to read subscribable mailinglists for {}",user,e);
LOG.warn("Lesen der für {} abbonnierbaren Mailinglisten fehlgeschlagen.",user,e);
return Set.of();
}
}