add translations for mailer

v1-0-stable
Christian Merten 9 years ago
parent 67a010f7cf
commit 4f3e2ae6ed

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-19 16:11+0100\n"
"POT-Creation-Date: 2017-01-14 15:55+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,51 +18,79 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: admin.py:20
#: admin.py:32
msgid "Message sent"
msgstr "Nachricht gesendet"
#: admin.py:28
#: admin.py:40
msgid "Send message"
msgstr "Nachricht verschicken"
#: admin.py:45 admin.py:53
msgid "Failed to send message"
msgstr "Fehler beim senden der Email"
#: admin.py:47 admin.py:55
msgid "Successfully sent message"
msgstr "Email wurde erfolgreich verschickt"
#: apps.py:7
msgid "mailer"
msgstr "Verteiler"
#: models.py:9
#: models.py:34
msgid "from email"
msgstr "Von Email"
#: models.py:10
#: models.py:35
msgid "subject"
msgstr "Betreff"
#: models.py:11
#: models.py:36
msgid "content"
msgstr "Inhalt"
#: models.py:12
#: models.py:38
msgid "to group"
msgstr "An Gruppe"
#: models.py:13
#: models.py:39
msgid "sent"
msgstr "Gesendet"
#: models.py:29
#: models.py:46
msgid "recipients"
msgstr "Empfänger"
#: models.py:74
msgid "message"
msgstr "Nachricht"
#: models.py:30
#: models.py:75
msgid "messages"
msgstr "Nachrichten"
#: models.py:32
#: models.py:77
msgid "Can submit mails"
msgstr "Kann Mails verschicken"
#: templates/admin/change_form.html:11
#: models.py:86
msgid "file"
msgstr "Datei"
#: models.py:92
msgid "Empty"
msgstr "Leer"
#: models.py:95
msgid "attachment"
msgstr "Anhang"
#: models.py:96
msgid "attachments"
msgstr "Anhänge"
#: templates/mailer/change_form.html:11
msgid "Save and send mail"
msgstr "Speichern und Email senden"
@ -89,6 +117,14 @@ msgstr "Senden"
msgid "Cancel"
msgstr "Abbruch"
#: templates/mailer/confirmation_sent.html:3
msgid "Sent confirmation mail to"
msgstr "Bestätigungsmail gesendet an"
#: templates/mailer/confirmation_sent.html:3
msgid "Follow the link in your mail to confirm your unsubscription."
msgstr ""
#: templates/mailer/index.html:2
msgid "This is the mailer app!"
msgstr "Das ist die Mailer App!"
@ -113,9 +149,71 @@ msgstr "Erhaltende Gruppe"
msgid "Send mail"
msgstr "Email senden"
#: views.py:33
#: templates/mailer/subscribe.html:5
msgid "Here you can register yourself to the newsletter"
msgstr "Hier kannst du dich für den Newsletter anmelden."
#: templates/mailer/subscribe.html:16
msgid "Prename"
msgstr "Vorname"
#: templates/mailer/subscribe.html:21
msgid "Lastname"
msgstr "Nachname"
#: templates/mailer/subscribe.html:26 views.py:60
msgid "Birthdate"
msgstr "Geburtsdatum"
#: templates/mailer/subscribe.html:37 templates/mailer/unsubscribe.html:14
msgid "Email address"
msgstr "Email-Adresse"
#: templates/mailer/subscribe.html:42
msgid "Register"
msgstr "Registrieren"
#: templates/mailer/subscribed.html:3
msgid "Subscribed successfully"
msgstr "Erfolgreich angemeldet"
#: templates/mailer/unsubscribe.html:3
msgid "Here you can unsubscribe from the newsletter"
msgstr "Hier kannst du dich vom Newsletter abmelden"
#: templates/mailer/unsubscribe.html:19
msgid "Unsubscribe"
msgstr "Vom Newsletter abmelden"
#: templates/mailer/unsubscribed.html:4
msgid "Successfully unsubscribed from the newsletter for "
msgstr "Newsletter erfolgreich abbestellt für "
#: views.py:35
msgid "Can't verify this link. Try again!"
msgstr "Ungültiger Link. Bitte nochmal versuchen!"
#: views.py:47
msgid "Please fill in every field"
msgstr "Bitte jedes Feld ausfüllen!"
#: views.py:49
msgid "Confirmation of unsubscription"
msgstr "Abmeldebestätigung"
#: views.py:50
msgid ""
"Click the link to unsubscribe to the newsletter of the JDAV\n"
"{}"
msgstr "Klicke auf den Link um dich von Newsletter des JDAV Ludwigsburg abzumelden"
#: views.py:83
msgid "Please fill in every field!"
msgstr "Bitte jedes Feld ausfüllen!"
#: views.py:90
msgid "Member already exists"
msgstr "Mitglied schon vorhanden"
#~ msgid "History"
#~ msgstr "Geschichte"

@ -1,3 +1,7 @@
{% load i18n %}
<head>
<title>{% trans "Unsubscribe" %}</title>
</head>
<p>{% trans "Sent confirmation mail to" %} <b>{{ email }}</b>. {% trans "Follow the link in your mail to confirm your unsubscription." %}</p>

@ -1,5 +1,11 @@
{% load i18n %}
<head>
<title>
{% trans "Unsubscribe" %}
</title>
</head>
<p><b>{% trans "Here you can unsubscribe from the newsletter" %}</b></p>
{% if error_message %}

@ -1,5 +1,9 @@
{% load i18n %}
<head>
<title>{% trans Unsubscribe %}</title>
</head>
<p>
{% trans "Successfully unsubscribed from the newsletter for " %}<b>{{ email }}</b>
</p>

@ -46,9 +46,10 @@ def unsubscribe(request):
except (KeyError, Member.DoesNotExist):
return render_unsubscribe(request, _("Please fill in every field"))
else:
send_mail(_("Confirmation of unsubscription"),
_("Click the link to unsubscribe to the newsletter of"
" the JDAV\n{}".format(get_unsubscribe_link(member))),
send_mail("Abmeldebestätigung",
"Klicke auf den Link, um dich vom Newsletter des JDAV "
"Ludwigsburg "
"abzumelden\n{}".format(get_unsubscribe_link(member)),
mail_root, email)
return render_confirmation_sent(request, email)

Loading…
Cancel
Save