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
|
|
|
|
2021-06-06 22:47:05 +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
|
2021-04-09 22:30:42 +00:00
|
|
|
import Messages.Comp.ChangePasswordForm
|
2021-11-21 23:22:51 +00:00
|
|
|
import Messages.Comp.DueItemsTaskManage
|
2021-04-09 22:30:42 +00:00
|
|
|
import Messages.Comp.EmailSettingsManage
|
|
|
|
import Messages.Comp.ImapSettingsManage
|
2022-01-19 20:51:18 +00:00
|
|
|
import Messages.Comp.NotificationChannelManage
|
2021-11-21 23:22:51 +00:00
|
|
|
import Messages.Comp.NotificationHookManage
|
2021-08-30 21:54:37 +00:00
|
|
|
import Messages.Comp.OtpSetup
|
2021-11-21 23:22:51 +00:00
|
|
|
import Messages.Comp.PeriodicQueryTaskManage
|
2021-04-09 22:30:42 +00:00
|
|
|
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
|
2021-04-09 22:30:42 +00:00
|
|
|
, uiSettingsManage : Messages.Comp.UiSettingsManage.Texts
|
|
|
|
, emailSettingsManage : Messages.Comp.EmailSettingsManage.Texts
|
|
|
|
, imapSettingsManage : Messages.Comp.ImapSettingsManage.Texts
|
2021-11-21 23:22:51 +00:00
|
|
|
, notificationManage : Messages.Comp.DueItemsTaskManage.Texts
|
2021-04-09 22:30:42 +00:00
|
|
|
, scanMailboxManage : Messages.Comp.ScanMailboxManage.Texts
|
2021-11-21 23:22:51 +00:00
|
|
|
, notificationHookManage : Messages.Comp.NotificationHookManage.Texts
|
|
|
|
, periodicQueryTask : Messages.Comp.PeriodicQueryTaskManage.Texts
|
2022-01-19 20:51:18 +00:00
|
|
|
, 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
|
2022-01-19 20:51:18 +00:00
|
|
|
, channelSettings : String
|
2021-04-03 20:25:54 +00:00
|
|
|
, changePassword : String
|
|
|
|
, uiSettingsInfo : String
|
2021-04-04 19:57:34 +00:00
|
|
|
, scanMailboxInfo1 : String
|
|
|
|
, scanMailboxInfo2 : String
|
2021-08-30 21:54:37 +00:00
|
|
|
, otpMenu : String
|
2021-11-21 23:22:51 +00:00
|
|
|
, dueItems : String
|
|
|
|
, notificationInfoText : String
|
|
|
|
, webhookInfoText : String
|
|
|
|
, dueItemsInfoText : String
|
|
|
|
, periodicQueryInfoText : String
|
2022-01-19 20:51:18 +00:00
|
|
|
, 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
|
2021-04-09 22:30:42 +00:00
|
|
|
, uiSettingsManage = Messages.Comp.UiSettingsManage.gb
|
|
|
|
, emailSettingsManage = Messages.Comp.EmailSettingsManage.gb
|
|
|
|
, imapSettingsManage = Messages.Comp.ImapSettingsManage.gb
|
2021-11-21 23:22:51 +00:00
|
|
|
, notificationManage = Messages.Comp.DueItemsTaskManage.gb
|
2021-04-09 22:30:42 +00:00
|
|
|
, scanMailboxManage = Messages.Comp.ScanMailboxManage.gb
|
2021-11-21 23:22:51 +00:00
|
|
|
, notificationHookManage = Messages.Comp.NotificationHookManage.gb
|
|
|
|
, periodicQueryTask = Messages.Comp.PeriodicQueryTaskManage.gb
|
2022-01-19 20:51:18 +00:00
|
|
|
, 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"
|
2022-01-19 20:51:18 +00:00
|
|
|
, channelSettings = "Notification Channels"
|
2021-04-03 20:25:54 +00:00
|
|
|
, uiSettingsInfo =
|
2022-01-29 09:11:25 +00:00
|
|
|
"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."
|
2021-04-04 19:57:34 +00:00
|
|
|
, 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"
|
2021-11-21 23:22:51 +00:00
|
|
|
, 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.
|
|
|
|
|
2022-01-19 20:51:18 +00:00
|
|
|
A notification setting needs at least one communication channel, which
|
|
|
|
must be created before.
|
2021-11-21 23:22:51 +00:00
|
|
|
|
|
|
|
"""
|
|
|
|
, 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."
|
2022-01-19 20:51:18 +00:00
|
|
|
, channels = "Notification Channels"
|
|
|
|
, channelInfoText = "Channels are used to send notification messages."
|
2021-04-03 20:25:54 +00:00
|
|
|
}
|
2021-06-06 22:47:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
de : Texts
|
|
|
|
de =
|
2022-01-26 20:22:51 +00:00
|
|
|
{ basics = Messages.Basics.de
|
|
|
|
, changePasswordForm = Messages.Comp.ChangePasswordForm.de
|
2021-06-06 22:47:05 +00:00
|
|
|
, uiSettingsManage = Messages.Comp.UiSettingsManage.de
|
|
|
|
, emailSettingsManage = Messages.Comp.EmailSettingsManage.de
|
|
|
|
, imapSettingsManage = Messages.Comp.ImapSettingsManage.de
|
2021-11-21 23:22:51 +00:00
|
|
|
, notificationManage = Messages.Comp.DueItemsTaskManage.de
|
2021-06-06 22:47:05 +00:00
|
|
|
, scanMailboxManage = Messages.Comp.ScanMailboxManage.de
|
2021-11-21 23:22:51 +00:00
|
|
|
, notificationHookManage = Messages.Comp.NotificationHookManage.de
|
|
|
|
, periodicQueryTask = Messages.Comp.PeriodicQueryTaskManage.de
|
2022-01-19 20:51:18 +00:00
|
|
|
, 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"
|
2021-06-06 22:47:05 +00:00
|
|
|
, 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)"
|
2022-01-19 20:51:18 +00:00
|
|
|
, channelSettings = "Benachrichtigungskanäle"
|
2021-06-06 22:47:05 +00:00
|
|
|
, changePassword = "Passwort ändern"
|
|
|
|
, uiSettingsInfo =
|
2022-01-29 09:11:25 +00:00
|
|
|
"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."
|
2021-06-06 22:47:05 +00:00
|
|
|
, 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."""
|
2021-06-06 22:47:05 +00:00
|
|
|
, 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
|
2021-06-06 22:47:05 +00:00
|
|
|
ist es gut, die Kriterien so zu gestalten, dass die
|
|
|
|
gleichen E-Mails möglichst nicht noch einmal eingelesen
|
|
|
|
werden."""
|
2021-08-31 19:29:07 +00:00
|
|
|
, otpMenu = "Zwei-Faktor-Authentifizierung"
|
2021-11-21 23:22:51 +00:00
|
|
|
, 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.
|
|
|
|
|
2022-01-19 20:51:18 +00:00
|
|
|
Für eine Notifikation ist ein Kommunikationskanal notwendig, der zuvor
|
|
|
|
erstellt werden muss.
|
2021-11-21 23:22:51 +00:00
|
|
|
|
|
|
|
"""
|
|
|
|
, 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."
|
2022-01-19 20:51:18 +00:00
|
|
|
, channels = "Benachrichtigungskanäle"
|
|
|
|
, channelInfoText = "Über Kanäle werden Notifizierungen versendet."
|
2021-06-06 22:47:05 +00:00
|
|
|
}
|