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 unittest.xml
# Translations # 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: # Django stuff:

Binary file not shown.

View File

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

View File

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