chol
/
eva
forked from tohe/eva
1
0
Fork 0

mail translation added. test for dataloop translation added (failing)

This commit is contained in:
Benni Bärmann 2022-02-07 12:35:37 +01:00
parent c72b6bd025
commit f992d4cc00
3 changed files with 19 additions and 3 deletions

4
TODO
View File

@ -11,6 +11,4 @@ minor stuff:
translations:
- step /Schritt
- Schließungen (vermutlich wegen ß problem)
- dataloop translation missing

View File

@ -1,3 +1,5 @@
(english below)
Hallo!
Es gibt einen Neuzugang bei Wikimedia! Hier ( https://wiki.wikimedia.de/wiki/Onboarding ) kannst Du nachsehen,
@ -9,3 +11,18 @@ die Du dafür brauchst:
Wenn Du Fragen hast, melde Dich bei {{contact}}.
Grüße, Deine E.V.A.
-------------------------
Hi!
There is a new employee at Wikimedia! Here ( https://wiki.wikimedia.de/wiki/Onboarding ) you can see, which
steps are now necessary for your department.
All Data you need for this:
{% include 'evapp/dataloop.txt' %}
If you have any questions please write to {{contact}}.
Regards, Your E.V.A.

View File

@ -99,6 +99,7 @@ class LoginTestCase(TestCase):
# print(mail.outbox[0].body)
self.assertGreater(len(mail.outbox), 2)
self.assertIn("Vorname", mail.outbox[0].body)
self.assertIn("Firstname", mail.outbox[0].body)
for i in (0,1,3):
self.assertIn("Handy", mail.outbox[i].body)
self.assertIn("Ara Seva", mail.outbox[0].subject)