events: add local transport mode (#2992)

* events: add local transport mode

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* add default local transport

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens L
2022-05-30 20:55:05 +02:00
committed by GitHub
parent fc75867218
commit 8faa1bf865
16 changed files with 811 additions and 824 deletions

View File

@ -2973,6 +2973,10 @@ msgstr "Lädt..."
msgid "Local"
msgstr "Lokal"
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr ""
#: src/user/user-settings/details/UserDetailsForm.ts
#~ msgid "Locale"
#~ msgstr "Gebietsschema"

View File

@ -3025,6 +3025,10 @@ msgstr "Loading..."
msgid "Local"
msgstr "Local"
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr "Local (notifications will be created within authentik)"
#: src/user/user-settings/details/UserDetailsForm.ts
#~ msgid "Locale"
#~ msgstr "Locale"

View File

@ -2966,6 +2966,10 @@ msgstr "Cargando..."
msgid "Local"
msgstr "Local"
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr ""
#: src/user/user-settings/details/UserDetailsForm.ts
#~ msgid "Locale"
#~ msgstr "Lugar"

View File

@ -2997,6 +2997,10 @@ msgstr "Chargement en cours..."
msgid "Local"
msgstr "Local"
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr ""
#: src/user/user-settings/details/UserDetailsForm.ts
#~ msgid "Locale"
#~ msgstr ""

View File

@ -2963,6 +2963,10 @@ msgstr "Ładowanie..."
msgid "Local"
msgstr "Lokalny"
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr ""
#: src/user/user-settings/details/UserDetailsForm.ts
#~ msgid "Locale"
#~ msgstr "Język"

View File

@ -3007,6 +3007,10 @@ msgstr ""
msgid "Local"
msgstr ""
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr ""
#: src/user/user-settings/details/UserDetailsForm.ts
#~ msgid "Locale"
#~ msgstr ""

View File

@ -2967,6 +2967,10 @@ msgstr "Yükleniyor..."
msgid "Local"
msgstr "Yerel"
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr ""
#: src/user/user-settings/details/UserDetailsForm.ts
#~ msgid "Locale"
#~ msgstr "Yerelleştirme"

File diff suppressed because it is too large Load Diff

View File

@ -2953,6 +2953,10 @@ msgstr "载入中……"
msgid "Local"
msgstr "本地"
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr ""
#~ msgid "Locale"
#~ msgstr "区域设置"

View File

@ -2953,6 +2953,10 @@ msgstr "载入中……"
msgid "Local"
msgstr "本地"
#: src/pages/events/TransportForm.ts
msgid "Local (notifications will be created within authentik)"
msgstr ""
#~ msgid "Locale"
#~ msgstr "区域设置"

View File

@ -56,6 +56,12 @@ export class TransportForm extends ModelForm<NotificationTransport, string> {
renderTransportModes(): TemplateResult {
return html`
<option
value=${NotificationTransportModeEnum.Local}
?selected=${this.instance?.mode === NotificationTransportModeEnum.Local}
>
${t`Local (notifications will be created within authentik)`}
</option>
<option
value=${NotificationTransportModeEnum.Email}
?selected=${this.instance?.mode === NotificationTransportModeEnum.Email}