root: allow .mo files for backend

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-23 19:09:29 +01:00
parent 9835785864
commit 1b4a14f3ee
4 changed files with 104 additions and 95 deletions

4
.gitignore vendored
View File

@ -66,7 +66,9 @@ coverage.xml
unittest.xml
# Translations
*.mo
# Have to include binary mo files as they are annoying to compile at build time
# since a full postgres and redis instance are required
# *.mo
# Django stuff:

Binary file not shown.

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-18 10:40+0000\n"
"POT-Creation-Date: 2021-11-23 18:09+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"
@ -39,99 +39,99 @@ msgstr ""
msgid "Create a SAML Provider by importing its Metadata."
msgstr ""
#: authentik/core/models.py:68
#: authentik/core/models.py:70
msgid "name"
msgstr ""
#: authentik/core/models.py:70
#: authentik/core/models.py:72
msgid "Users added to this group will be superusers."
msgstr ""
#: authentik/core/models.py:107
#: authentik/core/models.py:130
msgid "User's display name."
msgstr ""
#: authentik/core/models.py:174 authentik/providers/oauth2/models.py:315
#: authentik/core/models.py:197 authentik/providers/oauth2/models.py:315
msgid "User"
msgstr ""
#: authentik/core/models.py:175
#: authentik/core/models.py:198
msgid "Users"
msgstr ""
#: authentik/core/models.py:186
#: authentik/core/models.py:209
msgid "Flow used when authorizing this provider."
msgstr ""
#: authentik/core/models.py:219
#: authentik/core/models.py:242
msgid "Application's display Name."
msgstr ""
#: authentik/core/models.py:220
#: authentik/core/models.py:243
msgid "Internal application name, used in URLs."
msgstr ""
#: authentik/core/models.py:267
#: authentik/core/models.py:290
msgid "Application"
msgstr ""
#: authentik/core/models.py:268
#: authentik/core/models.py:291
msgid "Applications"
msgstr ""
#: authentik/core/models.py:274
#: authentik/core/models.py:297
msgid "Use the source-specific identifier"
msgstr ""
#: authentik/core/models.py:282
#: authentik/core/models.py:305
msgid ""
"Use the user's email address, but deny enrollment when the email address "
"already exists."
msgstr ""
#: authentik/core/models.py:291
#: authentik/core/models.py:314
msgid ""
"Use the user's username, but deny enrollment when the username already "
"exists."
msgstr ""
#: authentik/core/models.py:298
#: authentik/core/models.py:321
msgid "Source's display Name."
msgstr ""
#: authentik/core/models.py:299
#: authentik/core/models.py:322
msgid "Internal source name, used in URLs."
msgstr ""
#: authentik/core/models.py:310
#: authentik/core/models.py:333
msgid "Flow to use when authenticating existing users."
msgstr ""
#: authentik/core/models.py:319
#: authentik/core/models.py:342
msgid "Flow to use when enrolling new users."
msgstr ""
#: authentik/core/models.py:451
#: authentik/core/models.py:474
msgid "Token"
msgstr ""
#: authentik/core/models.py:452
#: authentik/core/models.py:475
msgid "Tokens"
msgstr ""
#: authentik/core/models.py:495
#: authentik/core/models.py:518
msgid "Property Mapping"
msgstr ""
#: authentik/core/models.py:496
#: authentik/core/models.py:519
msgid "Property Mappings"
msgstr ""
#: authentik/core/models.py:532
#: authentik/core/models.py:555
msgid "Authenticated Session"
msgstr ""
#: authentik/core/models.py:533
#: authentik/core/models.py:556
msgid "Authenticated Sessions"
msgstr ""
@ -308,7 +308,7 @@ msgstr ""
msgid "Notification Webhook Mappings"
msgstr ""
#: authentik/events/monitored_tasks.py:122
#: authentik/events/monitored_tasks.py:125
msgid "Task has not been run yet."
msgstr ""
@ -571,24 +571,24 @@ msgstr ""
msgid "Failed to resolve application"
msgstr ""
#: authentik/providers/ldap/models.py:18
#: authentik/providers/ldap/models.py:25
msgid "DN under which objects are accessible."
msgstr ""
#: authentik/providers/ldap/models.py:27
#: authentik/providers/ldap/models.py:34
msgid ""
"Users in this group can do search queries. If not set, every user can "
"execute search queries."
msgstr ""
#: authentik/providers/ldap/models.py:46
#: authentik/providers/ldap/models.py:53
msgid ""
"The start for uidNumbers, this number is added to the user.Pk to make sure "
"that the numbers aren't too low for POSIX users. Default is 2000 to ensure "
"that we don't collide with local users uidNumber"
msgstr ""
#: authentik/providers/ldap/models.py:55
#: authentik/providers/ldap/models.py:62
msgid ""
"The start for gidNumbers, this number is added to a number generated from "
"the group.Pk to make sure that the numbers aren't too low for POSIX groups. "
@ -596,11 +596,11 @@ msgid ""
"primary groups gidNumber"
msgstr ""
#: authentik/providers/ldap/models.py:88
#: authentik/providers/ldap/models.py:97
msgid "LDAP Provider"
msgstr ""
#: authentik/providers/ldap/models.py:89
#: authentik/providers/ldap/models.py:98
msgid "LDAP Providers"
msgstr ""
@ -778,7 +778,7 @@ msgstr ""
msgid "OAuth2 Tokens"
msgstr ""
#: authentik/providers/oauth2/views/authorize.py:455
#: authentik/providers/oauth2/views/authorize.py:458
#: authentik/providers/saml/views/sso.py:69
#, python-format
msgid "You're about to sign into %(application)s."
@ -912,7 +912,11 @@ msgstr ""
msgid "SAML Property Mappings"
msgstr ""
#: authentik/recovery/management/commands/create_recovery_key.py:20
#: authentik/recovery/management/commands/create_admin_group.py:11
msgid "Create admin group if the default group gets deleted."
msgstr ""
#: authentik/recovery/management/commands/create_recovery_key.py:17
msgid "Create a Key which can be used to restore access to authentik."
msgstr ""
@ -920,71 +924,71 @@ msgstr ""
msgid "Used recovery-link to authenticate."
msgstr ""
#: authentik/sources/ldap/models.py:18
#: authentik/sources/ldap/models.py:20
msgid "Server URI"
msgstr ""
#: authentik/sources/ldap/models.py:20
#: authentik/sources/ldap/models.py:22
msgid "Bind CN"
msgstr ""
#: authentik/sources/ldap/models.py:22
#: authentik/sources/ldap/models.py:24
msgid "Enable Start TLS"
msgstr ""
#: authentik/sources/ldap/models.py:24
#: authentik/sources/ldap/models.py:26
msgid "Base DN"
msgstr ""
#: authentik/sources/ldap/models.py:26
#: authentik/sources/ldap/models.py:28
msgid "Prepended to Base DN for User-queries."
msgstr ""
#: authentik/sources/ldap/models.py:27
#: authentik/sources/ldap/models.py:29
msgid "Addition User DN"
msgstr ""
#: authentik/sources/ldap/models.py:31
#: authentik/sources/ldap/models.py:33
msgid "Prepended to Base DN for Group-queries."
msgstr ""
#: authentik/sources/ldap/models.py:32
#: authentik/sources/ldap/models.py:34
msgid "Addition Group DN"
msgstr ""
#: authentik/sources/ldap/models.py:38
#: authentik/sources/ldap/models.py:40
msgid "Consider Objects matching this filter to be Users."
msgstr ""
#: authentik/sources/ldap/models.py:41
#: authentik/sources/ldap/models.py:43
msgid "Field which contains members of a group."
msgstr ""
#: authentik/sources/ldap/models.py:45
#: authentik/sources/ldap/models.py:47
msgid "Consider Objects matching this filter to be Groups."
msgstr ""
#: authentik/sources/ldap/models.py:48
#: authentik/sources/ldap/models.py:50
msgid "Field which contains a unique Identifier."
msgstr ""
#: authentik/sources/ldap/models.py:55
#: authentik/sources/ldap/models.py:57
msgid "Property mappings used for group creation/updating."
msgstr ""
#: authentik/sources/ldap/models.py:104
#: authentik/sources/ldap/models.py:107
msgid "LDAP Source"
msgstr ""
#: authentik/sources/ldap/models.py:105
#: authentik/sources/ldap/models.py:108
msgid "LDAP Sources"
msgstr ""
#: authentik/sources/ldap/models.py:128
#: authentik/sources/ldap/models.py:131
msgid "LDAP Property Mapping"
msgstr ""
#: authentik/sources/ldap/models.py:129
#: authentik/sources/ldap/models.py:132
msgid "LDAP Property Mappings"
msgstr ""
@ -1025,83 +1029,83 @@ msgstr ""
msgid "URL used by authentik to get user information."
msgstr ""
#: authentik/sources/oauth/models.py:101
#: authentik/sources/oauth/models.py:102
msgid "OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:102
#: authentik/sources/oauth/models.py:103
msgid "OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:111
#: authentik/sources/oauth/models.py:112
msgid "GitHub OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:112
#: authentik/sources/oauth/models.py:113
msgid "GitHub OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:121
#: authentik/sources/oauth/models.py:122
msgid "Twitter OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:122
#: authentik/sources/oauth/models.py:123
msgid "Twitter OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:131
#: authentik/sources/oauth/models.py:132
msgid "Facebook OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:132
#: authentik/sources/oauth/models.py:133
msgid "Facebook OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:141
#: authentik/sources/oauth/models.py:142
msgid "Discord OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:142
#: authentik/sources/oauth/models.py:143
msgid "Discord OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:151
#: authentik/sources/oauth/models.py:152
msgid "Google OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:152
#: authentik/sources/oauth/models.py:153
msgid "Google OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:161
#: authentik/sources/oauth/models.py:162
msgid "Azure AD OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:162
#: authentik/sources/oauth/models.py:163
msgid "Azure AD OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:171
#: authentik/sources/oauth/models.py:172
msgid "OpenID OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:172
#: authentik/sources/oauth/models.py:173
msgid "OpenID OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:181
#: authentik/sources/oauth/models.py:182
msgid "Apple OAuth Source"
msgstr ""
#: authentik/sources/oauth/models.py:182
#: authentik/sources/oauth/models.py:183
msgid "Apple OAuth Sources"
msgstr ""
#: authentik/sources/oauth/models.py:197
#: authentik/sources/oauth/models.py:198
msgid "User OAuth Source Connection"
msgstr ""
#: authentik/sources/oauth/models.py:198
#: authentik/sources/oauth/models.py:199
msgid "User OAuth Source Connections"
msgstr ""
@ -1121,19 +1125,19 @@ msgstr ""
msgid "Plex token used to check friends"
msgstr ""
#: authentik/sources/plex/models.py:91
#: authentik/sources/plex/models.py:92
msgid "Plex Source"
msgstr ""
#: authentik/sources/plex/models.py:92
#: authentik/sources/plex/models.py:93
msgid "Plex Sources"
msgstr ""
#: authentik/sources/plex/models.py:103
#: authentik/sources/plex/models.py:104
msgid "User Plex Source Connection"
msgstr ""
#: authentik/sources/plex/models.py:104
#: authentik/sources/plex/models.py:105
msgid "User Plex Source Connections"
msgstr ""
@ -1291,15 +1295,15 @@ msgstr ""
msgid "SMS"
msgstr ""
#: authentik/stages/authenticator_validate/models.py:57
#: authentik/stages/authenticator_validate/models.py:59
msgid "Device classes which can be used to authenticate"
msgstr ""
#: authentik/stages/authenticator_validate/models.py:79
#: authentik/stages/authenticator_validate/models.py:81
msgid "Authenticator Validation Stage"
msgstr ""
#: authentik/stages/authenticator_validate/models.py:80
#: authentik/stages/authenticator_validate/models.py:82
msgid "Authenticator Validation Stages"
msgstr ""
@ -1385,11 +1389,11 @@ msgstr ""
msgid "Time in minutes the token sent is valid."
msgstr ""
#: authentik/stages/email/models.py:120
#: authentik/stages/email/models.py:125
msgid "Email Stage"
msgstr ""
#: authentik/stages/email/models.py:121
#: authentik/stages/email/models.py:126
msgid "Email Stages"
msgstr ""
@ -1505,15 +1509,15 @@ msgstr ""
msgid "Specify which sources should be shown."
msgstr ""
#: authentik/stages/identification/models.py:103
#: authentik/stages/identification/models.py:104
msgid "Identification Stage"
msgstr ""
#: authentik/stages/identification/models.py:104
#: authentik/stages/identification/models.py:105
msgid "Identification Stages"
msgstr ""
#: authentik/stages/identification/stage.py:151
#: authentik/stages/identification/stage.py:163
msgid "Log in"
msgstr ""
@ -1569,47 +1573,51 @@ msgstr ""
msgid "Invalid password"
msgstr ""
#: authentik/stages/prompt/models.py:28
#: authentik/stages/prompt/models.py:29
msgid "Text: Simple Text input"
msgstr ""
#: authentik/stages/prompt/models.py:34
#: authentik/stages/prompt/models.py:32
msgid "Text (read-only): Simple Text input, but cannot be edited."
msgstr ""
#: authentik/stages/prompt/models.py:39
msgid "Email: Text field with Email type."
msgstr ""
#: authentik/stages/prompt/models.py:50
#: authentik/stages/prompt/models.py:55
msgid "Separator: Static Separator Line"
msgstr ""
#: authentik/stages/prompt/models.py:51
#: authentik/stages/prompt/models.py:56
msgid "Hidden: Hidden field, can be used to insert data into form."
msgstr ""
#: authentik/stages/prompt/models.py:52
#: authentik/stages/prompt/models.py:57
msgid "Static: Static value, displayed as-is."
msgstr ""
#: authentik/stages/prompt/models.py:61
#: authentik/stages/prompt/models.py:66
msgid "Name of the form field, also used to store the value"
msgstr ""
#: authentik/stages/prompt/models.py:118
#: authentik/stages/prompt/models.py:128
msgid "Prompt"
msgstr ""
#: authentik/stages/prompt/models.py:119
#: authentik/stages/prompt/models.py:129
msgid "Prompts"
msgstr ""
#: authentik/stages/prompt/models.py:147
#: authentik/stages/prompt/models.py:157
msgid "Prompt Stage"
msgstr ""
#: authentik/stages/prompt/models.py:148
#: authentik/stages/prompt/models.py:158
msgid "Prompt Stages"
msgstr ""
#: authentik/stages/prompt/stage.py:93
#: authentik/stages/prompt/stage.py:94
msgid "Passwords don't match."
msgstr ""

View File

@ -67,7 +67,6 @@ class TestProviderLDAP(SeleniumTestCase):
_config=asdict(OutpostConfig(log_level="debug")),
)
outpost.providers.add(ldap)
outpost.save()
self.ldap_container = self.start_ldap(outpost)