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
|
2022-03-08 08:42:45 +00:00
|
|
|
, fr
|
2021-06-06 22:47:05 +00:00
|
|
|
)
|
2021-04-03 20:25:54 +00:00
|
|
|
|
2022-03-01 20:58:30 +00:00
|
|
|
import Data.TimeZone exposing (TimeZone)
|
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
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-03-01 20:58:30 +00:00
|
|
|
gb : TimeZone -> Texts
|
|
|
|
gb tz =
|
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
|
2022-03-01 20:58:30 +00:00
|
|
|
, notificationManage = Messages.Comp.DueItemsTaskManage.gb tz
|
|
|
|
, scanMailboxManage = Messages.Comp.ScanMailboxManage.gb tz
|
2021-11-21 23:22:51 +00:00
|
|
|
, notificationHookManage = Messages.Comp.NotificationHookManage.gb
|
2022-03-01 20:58:30 +00:00
|
|
|
, periodicQueryTask = Messages.Comp.PeriodicQueryTaskManage.gb tz
|
2022-01-19 20:51:18 +00:00
|
|
|
, channelManage = Messages.Comp.NotificationChannelManage.gb
|
2022-03-01 20:58:30 +00:00
|
|
|
, otpSetup = Messages.Comp.OtpSetup.gb tz
|
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
|
|
|
|
|
|
|
|
2022-03-01 20:58:30 +00:00
|
|
|
de : TimeZone -> Texts
|
|
|
|
de tz =
|
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
|
2022-03-01 20:58:30 +00:00
|
|
|
, notificationManage = Messages.Comp.DueItemsTaskManage.de tz
|
|
|
|
, scanMailboxManage = Messages.Comp.ScanMailboxManage.de tz
|
2021-11-21 23:22:51 +00:00
|
|
|
, notificationHookManage = Messages.Comp.NotificationHookManage.de
|
2022-03-01 20:58:30 +00:00
|
|
|
, periodicQueryTask = Messages.Comp.PeriodicQueryTaskManage.de tz
|
2022-01-19 20:51:18 +00:00
|
|
|
, channelManage = Messages.Comp.NotificationChannelManage.de
|
2022-03-01 20:58:30 +00:00
|
|
|
, otpSetup = Messages.Comp.OtpSetup.de tz
|
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
|
|
|
}
|
2022-03-08 08:42:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
fr : TimeZone -> Texts
|
|
|
|
fr tz =
|
|
|
|
{ basics = Messages.Basics.fr
|
|
|
|
, changePasswordForm = Messages.Comp.ChangePasswordForm.fr
|
|
|
|
, uiSettingsManage = Messages.Comp.UiSettingsManage.fr
|
|
|
|
, emailSettingsManage = Messages.Comp.EmailSettingsManage.fr
|
|
|
|
, imapSettingsManage = Messages.Comp.ImapSettingsManage.fr
|
|
|
|
, notificationManage = Messages.Comp.DueItemsTaskManage.fr tz
|
|
|
|
, scanMailboxManage = Messages.Comp.ScanMailboxManage.fr tz
|
|
|
|
, notificationHookManage = Messages.Comp.NotificationHookManage.fr
|
|
|
|
, periodicQueryTask = Messages.Comp.PeriodicQueryTaskManage.fr tz
|
|
|
|
, channelManage = Messages.Comp.NotificationChannelManage.fr
|
|
|
|
, otpSetup = Messages.Comp.OtpSetup.fr tz
|
|
|
|
, userSettings = "Paramètres utilisateur"
|
|
|
|
, uiSettings = "Paramètres UI"
|
|
|
|
, notifications = "Notifications"
|
|
|
|
, scanMailbox = "Scanner Boite Mail"
|
|
|
|
, emailSettingSmtp = "Configuration E-Mail (SMTP)"
|
|
|
|
, emailSettingImap = "Configuration E-Mail (IMAP)"
|
|
|
|
, changePassword = "Changer le mot de passe"
|
|
|
|
, channelSettings = "Canaux de notifications"
|
|
|
|
, uiSettingsInfo =
|
|
|
|
"Ces paramètres n'affectent que l'interface web. Les paramètres peuvent être enregistrer "
|
|
|
|
++ " dans les profiles utilsateur ou de groupe. Les paramètres utilsateurs ont la priorité."
|
|
|
|
, scanMailboxInfo1 =
|
|
|
|
"Docspell scanne les dossiers de votre boite mail pour importer vos mails. "
|
|
|
|
++ "La connexion doit être configurée"
|
|
|
|
++ " dans les paramètres email (imap)."
|
|
|
|
, scanMailboxInfo2 =
|
|
|
|
"""
|
|
|
|
Docpsell parcourt tous les dossiers configurés et importe
|
|
|
|
les mails correspondant aux critères de recherche. Les
|
|
|
|
mails précédement importés (avec documents toujours présents)
|
|
|
|
sont ignorés. Après import d'un mail dans docspell, il
|
|
|
|
est possible de le déplacer dans un autre répertoire, le
|
|
|
|
supprimer ou ne rien faire. Dans ce dernier cas
|
|
|
|
la programmation devra être ajustée afin de ne pas
|
|
|
|
relir ce mail encore une fois."""
|
|
|
|
, otpMenu = "Authentification à 2 facteurs"
|
|
|
|
, dueItems = "requête des Documents à échéance"
|
|
|
|
, notificationInfoText = """
|
|
|
|
|
|
|
|
Docspell peut envoyer des notifications pour divers événements.
|
|
|
|
Les canaux suivants sont possible pour envoyer des message:
|
|
|
|
[Matrix](https://matrix.org), [Gotify](https://gotify.net) or E-Mail.
|
|
|
|
Enfin il est possible d'envoyer de vrai requête http avec les détails
|
|
|
|
de l'événement contenus dans le payload.
|
|
|
|
|
|
|
|
De plus, il est possible de paramétrer des requêtes exécutées périodiquement
|
|
|
|
dont les résultats seront transmis via une notification.
|
|
|
|
|
|
|
|
Le paramétrage d'une notification nécessite la création au préalable d'au
|
|
|
|
moins un canal de communication.
|
|
|
|
|
|
|
|
"""
|
|
|
|
, webhookInfoText = """Les webhooksWebhooks executent une requête http en réponse à certains évenements dans docspell.
|
|
|
|
"""
|
|
|
|
, dueItemsInfoText = """Docspell peut vous notifier quand la data d'échéance de vos documents approche. """
|
|
|
|
, periodicQueryInfoText = "Des requêtes périodiques peuvent être définies."
|
|
|
|
, channels = "Canaux de notification"
|
|
|
|
, channelInfoText = "Les canaux sont utilisés pour envoyer des messages de notification."
|
|
|
|
}
|