Browse Source

Merge branch 'main' into lang_de

lang_de
Stephan Richter 2 years ago
parent
commit
37bce804fc
  1. 2
      pom.xml
  2. 4
      src/main/java/de/srsoftware/widerhall/data/MailingList.java

2
pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.0.10</version>
<version>0.0.11</version>
<build>
<plugins>
<plugin>

4
src/main/java/de/srsoftware/widerhall/data/MailingList.java

@ -356,7 +356,7 @@ public class MailingList { @@ -356,7 +356,7 @@ public class MailingList {
try {
sendConfirmationRequest(user, member.token());
} catch (UnsupportedEncodingException e) {
throw new MessagingException("Failed to send email to "+user.email(),e);
throw new MessagingException(t("Failed to send email to {}",user.email()),e);
}
}
@ -369,7 +369,7 @@ public class MailingList { @@ -369,7 +369,7 @@ public class MailingList {
*/
public void test(User user) throws MessagingException, UnsupportedEncodingException {
var subject = t("{}: test mail",name());
var text = t("If you received this mail, the SMTP settings of your mailing list are correct.");
var text = "If you received this mail, the SMTP settings of your mailing list are correct.";
smtp.login().send(email(),name(),user.email(),subject,text);
}
}

Loading…
Cancel
Save