Browse Source

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

master
Benni Bärmann 1 year ago
parent
commit
f992d4cc00
  1. 4
      TODO
  2. 17
      evapp/templates/evapp/department_mail.txt
  3. 1
      evapp/tests.py

4
TODO

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

17
evapp/templates/evapp/department_mail.txt

@ -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.

1
evapp/tests.py

@ -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)

Loading…
Cancel
Save