From c8e074c363ca47e997753dc08857ed304cfa4c1f Mon Sep 17 00:00:00 2001 From: Jens L Date: Wed, 10 May 2023 21:00:51 +0200 Subject: [PATCH] web/admin: add description to notification rule group field (#5568) Signed-off-by: Jens Langhammer --- locale/en/LC_MESSAGES/django.po | 22 +++++++++++++++------- web/src/admin/events/RuleForm.ts | 10 +++++++--- web/src/locales/de.po | 7 ++++--- web/src/locales/en.po | 7 ++++--- web/src/locales/es.po | 7 ++++--- web/src/locales/fr_FR.po | 7 ++++--- web/src/locales/pl.po | 7 ++++--- web/src/locales/pseudo-LOCALE.po | 7 ++++--- web/src/locales/tr.po | 7 ++++--- web/src/locales/zh-Hans.po | 7 ++++--- web/src/locales/zh-Hant.po | 7 ++++--- web/src/locales/zh_TW.po | 7 ++++--- 12 files changed, 62 insertions(+), 40 deletions(-) diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index 2d45f88ac..ea46999f3 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-09 18:53+0000\n" +"POT-Creation-Date: 2023-05-10 17:31+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -46,10 +46,10 @@ msgstr "" #: authentik/blueprints/models.py:32 msgid "" -"Objects which are managed by authentik. These objects are created and " -"updated automatically. This is flag only indicates that an object can be " -"overwritten by migrations. You can still modify the objects via the API, but " -"expect changes to be overwritten in a later update." +"Objects that are managed by authentik. These objects are created and updated " +"automatically. This flag only indicates that an object can be overwritten by " +"migrations. You can still modify the objects via the API, but expect changes " +"to be overwritten in a later update." msgstr "" #: authentik/blueprints/models.py:109 @@ -1647,11 +1647,19 @@ msgstr "" msgid "Okta OAuth Sources" msgstr "" -#: authentik/sources/oauth/models.py:239 +#: authentik/sources/oauth/models.py:225 +msgid "Reddit OAuth Source" +msgstr "" + +#: authentik/sources/oauth/models.py:226 +msgid "Reddit OAuth Sources" +msgstr "" + +#: authentik/sources/oauth/models.py:248 msgid "User OAuth Source Connection" msgstr "" -#: authentik/sources/oauth/models.py:240 +#: authentik/sources/oauth/models.py:249 msgid "User OAuth Source Connections" msgstr "" diff --git a/web/src/admin/events/RuleForm.ts b/web/src/admin/events/RuleForm.ts index 4f0c35888..57e059af0 100644 --- a/web/src/admin/events/RuleForm.ts +++ b/web/src/admin/events/RuleForm.ts @@ -1,3 +1,4 @@ +import { SeverityToLabel } from "@goauthentik/admin/events/RuleListPage"; import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; import "@goauthentik/elements/forms/HorizontalFormElement"; import { ModelForm } from "@goauthentik/elements/forms/ModelForm"; @@ -91,6 +92,9 @@ export class RuleForm extends ModelForm { ?blankable=${true} > +

+ ${t`Select the group of users which the alerts are sent to. If no group is selected the rule is disabled.`} +