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:
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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 ""
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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 ""
|
||||
|
||||
@ -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
@ -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 "区域设置"
|
||||
|
||||
|
||||
@ -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 "区域设置"
|
||||
|
||||
|
||||
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user