stages/email: update tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
4731ccfafe
commit
1ce2a1b846
|
@ -62,9 +62,7 @@ class TestEmailStage(FlowTestCase):
|
|||
self.assertEqual(response.status_code, 200)
|
||||
self.assertEqual(len(mail.outbox), 1)
|
||||
self.assertEqual(mail.outbox[0].subject, "authentik")
|
||||
self.assertNotIn(
|
||||
"You recently requested to change your password", mail.outbox[0].alternatives[0][0]
|
||||
)
|
||||
self.assertNotIn("Password Reset", mail.outbox[0].alternatives[0][0])
|
||||
|
||||
def test_without_user(self):
|
||||
"""Test without pending user"""
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-01-19 11:06+0000\n"
|
||||
"POT-Creation-Date: 2023-01-23 09:41+0000\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"
|
||||
|
@ -1466,30 +1466,35 @@ msgstr ""
|
|||
msgid "Optionally modify the payload being sent to custom providers."
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/authenticator_sms/models.py:176
|
||||
#: authentik/stages/authenticator_sms/models.py:81
|
||||
#, python-format
|
||||
msgid "Use this code to authenticate in authentik: %(token)s"
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/authenticator_sms/models.py:181
|
||||
msgid "SMS Authenticator Setup Stage"
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/authenticator_sms/models.py:177
|
||||
#: authentik/stages/authenticator_sms/models.py:182
|
||||
msgid "SMS Authenticator Setup Stages"
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/authenticator_sms/models.py:222
|
||||
#: authentik/stages/authenticator_sms/models.py:227
|
||||
msgid "SMS Device"
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/authenticator_sms/models.py:223
|
||||
#: authentik/stages/authenticator_sms/models.py:228
|
||||
msgid "SMS Devices"
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/authenticator_sms/stage.py:56
|
||||
msgid "Invalid phone number"
|
||||
#: authentik/stages/authenticator_sms/stage.py:55
|
||||
#: authentik/stages/authenticator_totp/stage.py:42
|
||||
#: authentik/stages/authenticator_totp/stage.py:45
|
||||
msgid "Code does not match"
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/authenticator_sms/stage.py:61
|
||||
#: authentik/stages/authenticator_totp/stage.py:41
|
||||
#: authentik/stages/authenticator_totp/stage.py:44
|
||||
msgid "Code does not match"
|
||||
#: authentik/stages/authenticator_sms/stage.py:71
|
||||
msgid "Invalid phone number"
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/authenticator_static/models.py:47
|
||||
|
@ -1700,7 +1705,7 @@ msgstr ""
|
|||
#: authentik/stages/email/templates/email/password_reset.html:19
|
||||
msgid ""
|
||||
"\n"
|
||||
" You recently requested to change your password for you "
|
||||
" You recently requested to change your password for your "
|
||||
"authentik account. Use the button below to set a new password.\n"
|
||||
" "
|
||||
msgstr ""
|
||||
|
@ -1800,7 +1805,7 @@ msgstr ""
|
|||
msgid "Invitations"
|
||||
msgstr ""
|
||||
|
||||
#: authentik/stages/invitation/stage.py:61
|
||||
#: authentik/stages/invitation/stage.py:66
|
||||
msgid "Invalid invite/invite not found"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -2366,6 +2366,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "Ausnahme"
|
||||
|
||||
|
|
|
@ -2398,6 +2398,7 @@ msgstr "Example SAML attributes"
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
|
|
|
@ -2342,6 +2342,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "Excepción"
|
||||
|
||||
|
|
|
@ -2345,6 +2345,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "Exception"
|
||||
|
||||
|
|
|
@ -2348,6 +2348,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "Wyjątek"
|
||||
|
||||
|
|
|
@ -2384,6 +2384,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -2342,6 +2342,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "Hata"
|
||||
|
||||
|
|
|
@ -2350,6 +2350,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "异常"
|
||||
|
||||
|
|
|
@ -2350,6 +2350,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "例外"
|
||||
|
||||
|
|
|
@ -2350,6 +2350,7 @@ msgstr ""
|
|||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
#: src/admin/events/EventInfo.ts
|
||||
msgid "Exception"
|
||||
msgstr "例外"
|
||||
|
||||
|
|
Reference in New Issue