docspell/modules/webapp/src/main/elm/Messages/Page/UserSettings.elm

185 lines
7.9 KiB
Elm
Raw Normal View History

2021-07-04 08:24:49 +00:00
{-
2021-09-21 20:32:47 +00:00
Copyright 2020 Eike K. & Contributors
2021-07-04 08:24:49 +00:00
2021-09-21 20:32:47 +00:00
SPDX-License-Identifier: AGPL-3.0-or-later
2021-07-04 08:24:49 +00:00
-}
2021-07-25 12:00:11 +00:00
module Messages.Page.UserSettings exposing
( Texts
, de
, gb
)
2021-04-03 20:25:54 +00:00
2022-01-26 20:22:51 +00:00
import Messages.Basics
import Messages.Comp.ChangePasswordForm
import Messages.Comp.DueItemsTaskManage
import Messages.Comp.EmailSettingsManage
import Messages.Comp.ImapSettingsManage
import Messages.Comp.NotificationChannelManage
import Messages.Comp.NotificationHookManage
2021-08-30 21:54:37 +00:00
import Messages.Comp.OtpSetup
import Messages.Comp.PeriodicQueryTaskManage
import Messages.Comp.ScanMailboxManage
import Messages.Comp.UiSettingsManage
2021-04-03 20:25:54 +00:00
type alias Texts =
2022-01-26 20:22:51 +00:00
{ basics : Messages.Basics.Texts
, changePasswordForm : Messages.Comp.ChangePasswordForm.Texts
, uiSettingsManage : Messages.Comp.UiSettingsManage.Texts
, emailSettingsManage : Messages.Comp.EmailSettingsManage.Texts
, imapSettingsManage : Messages.Comp.ImapSettingsManage.Texts
, notificationManage : Messages.Comp.DueItemsTaskManage.Texts
, scanMailboxManage : Messages.Comp.ScanMailboxManage.Texts
, notificationHookManage : Messages.Comp.NotificationHookManage.Texts
, periodicQueryTask : Messages.Comp.PeriodicQueryTaskManage.Texts
, channelManage : Messages.Comp.NotificationChannelManage.Texts
2021-08-30 21:54:37 +00:00
, otpSetup : Messages.Comp.OtpSetup.Texts
2021-04-03 20:25:54 +00:00
, userSettings : String
, uiSettings : String
, notifications : String
, scanMailbox : String
, emailSettingSmtp : String
, emailSettingImap : String
, channelSettings : String
2021-04-03 20:25:54 +00:00
, changePassword : String
, uiSettingsInfo : String
, scanMailboxInfo1 : String
, scanMailboxInfo2 : String
2021-08-30 21:54:37 +00:00
, otpMenu : String
, dueItems : String
, notificationInfoText : String
, webhookInfoText : String
, dueItemsInfoText : String
, periodicQueryInfoText : String
, channels : String
, channelInfoText : String
2021-04-03 20:25:54 +00:00
}
gb : Texts
gb =
2022-01-26 20:22:51 +00:00
{ basics = Messages.Basics.gb
, changePasswordForm = Messages.Comp.ChangePasswordForm.gb
, uiSettingsManage = Messages.Comp.UiSettingsManage.gb
, emailSettingsManage = Messages.Comp.EmailSettingsManage.gb
, imapSettingsManage = Messages.Comp.ImapSettingsManage.gb
, notificationManage = Messages.Comp.DueItemsTaskManage.gb
, scanMailboxManage = Messages.Comp.ScanMailboxManage.gb
, notificationHookManage = Messages.Comp.NotificationHookManage.gb
, periodicQueryTask = Messages.Comp.PeriodicQueryTaskManage.gb
, channelManage = Messages.Comp.NotificationChannelManage.gb
2021-08-30 21:54:37 +00:00
, otpSetup = Messages.Comp.OtpSetup.gb
2021-04-03 20:25:54 +00:00
, userSettings = "User Settings"
, uiSettings = "UI Settings"
, notifications = "Notifications"
, scanMailbox = "Scan Mailbox"
, emailSettingSmtp = "E-Mail Settings (SMTP)"
, emailSettingImap = "E-Mail Settings (IMAP)"
, changePassword = "Change Password"
, channelSettings = "Notification Channels"
2021-04-03 20:25:54 +00:00
, uiSettingsInfo =
"These settings only affect the web ui. Settings can be stored to the collective or to your personal user. Personal settings are prefered when both values exist."
, scanMailboxInfo1 =
"Docspell can scan folders of your mailbox to import your mails. "
++ "You need to provide a connection in "
++ "your e-mail (imap) settings."
, scanMailboxInfo2 =
"""
Docspell goes through all configured folders and imports
mails matching the search criteria. Mails are skipped if
they were imported in a previous run and the corresponding
items still exist. After submitting a mail into docspell,
you can choose to move it to another folder, to delete it
or to just leave it there. In the latter case you should
adjust the schedule to avoid reading over the same mails
again."""
2021-09-22 19:57:52 +00:00
, otpMenu = "Two Factor Authentication"
, dueItems = "Due Items Query"
, notificationInfoText = """
Docspell can send notification messages on various events. You can
choose from these channels to send messages:
[Matrix](https://matrix.org), [Gotify](https://gotify.net) or E-Mail.
At last you can send a plain http request with the event details in
its payload.
Additionally, you can setup queries that are executed periodically.
The results are send as a notification message.
A notification setting needs at least one communication channel, which
must be created before.
"""
, webhookInfoText = """Webhooks execute http request upon certain events in docspell.
"""
, dueItemsInfoText = """Docspell can notify you once the due dates of your items come closer. """
, periodicQueryInfoText = "You can define a custom query that gets executed periodically."
, channels = "Notification Channels"
, channelInfoText = "Channels are used to send notification messages."
2021-04-03 20:25:54 +00:00
}
de : Texts
de =
2022-01-26 20:22:51 +00:00
{ basics = Messages.Basics.de
, changePasswordForm = Messages.Comp.ChangePasswordForm.de
, uiSettingsManage = Messages.Comp.UiSettingsManage.de
, emailSettingsManage = Messages.Comp.EmailSettingsManage.de
, imapSettingsManage = Messages.Comp.ImapSettingsManage.de
, notificationManage = Messages.Comp.DueItemsTaskManage.de
, scanMailboxManage = Messages.Comp.ScanMailboxManage.de
, notificationHookManage = Messages.Comp.NotificationHookManage.de
, periodicQueryTask = Messages.Comp.PeriodicQueryTaskManage.de
, channelManage = Messages.Comp.NotificationChannelManage.de
2021-08-30 21:54:37 +00:00
, otpSetup = Messages.Comp.OtpSetup.de
2021-06-29 15:34:47 +00:00
, userSettings = "Benutzereinstellung"
, uiSettings = "Oberfläche"
2021-06-29 15:34:47 +00:00
, notifications = "Benachrichtigungen"
, scanMailbox = "E-Mail-Import"
2021-07-25 11:40:15 +00:00
, emailSettingSmtp = "E-Mail-Einstellungen (SMTP)"
, emailSettingImap = "E-Mail-Einstellungen (IMAP)"
, channelSettings = "Benachrichtigungskanäle"
, changePassword = "Passwort ändern"
, uiSettingsInfo =
"Diese Einstellungen sind für die Web-Oberfläche. Es kann entweder für das ganze Kollektiv Einstellungen gemacht werden oder persönliche. Die persönlichen Einstellungen werden bevorzugt, falls beide gesetzt sind."
, scanMailboxInfo1 =
"""Docspell kann Postfächer durchsuchen und E-Mails importieren. Dafür sind
2021-06-29 15:34:47 +00:00
E-Mail-Einstellungen (IMAP) notwendig."""
, scanMailboxInfo2 =
"""
Docspell durchsucht alle konfigurierten Ordner in einem
Postfach nach E-Mails, die den Suchkriterien entsprechen.
E-Mails werden übersprungen, falls sie im letzten Lauf
schon importiert wurden (und das Dokument noch existiert).
Nachdem eine E-Mail in Docspell importiert ist, kann sie
gelöscht, in einen anderen Ordner verschoben werden oder
2021-06-29 15:34:47 +00:00
sie kann unberührt belassen werden. Für den letzteren Fall
ist es gut, die Kriterien so zu gestalten, dass die
gleichen E-Mails möglichst nicht noch einmal eingelesen
werden."""
, otpMenu = "Zwei-Faktor-Authentifizierung"
, dueItems = "Fällige Dokumente"
, notificationInfoText = """
Docspell kann Benachrichtigungen bei gewissen Ereignissen versenden.
Es kann aus diesen Versandkanälen gewählt werden:
[Matrix](https://matrix.org), [Gotify](https://gotify.net) oder
E-Mail. Zusätzlich kann das HTTP request direkt empfangen werden, was
alle Details zu einem Ereignis enthält.
Ausserdem können periodische Suchabfragen erstellt werden, dessen
Ergebnis dann als Benachrichtigung versendet wird.
Für eine Notifikation ist ein Kommunikationskanal notwendig, der zuvor
erstellt werden muss.
"""
, webhookInfoText = """Webhooks versenden HTTP Requests wenn bestimmte Ereignisse in Docspell auftreten."""
, dueItemsInfoText = """Docspell kann dich benachrichtigen, sobald das Fälligkeitsdatum von Dokumenten näher kommt. """
, periodicQueryInfoText = "Hier können beliebige Abfragen definiert werden, welche regelmäßig ausgeführt werden."
, channels = "Benachrichtigungskanäle"
, channelInfoText = "Über Kanäle werden Notifizierungen versendet."
}