mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
It's more convenient to manage notification channels separately, as it is done with email settings. Notification hook and other forms are adopted to only select channels. Hooks can now use more than one channel.
53 lines
1.1 KiB
Elm
53 lines
1.1 KiB
Elm
{-
|
|
Copyright 2020 Eike K. & Contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
-}
|
|
|
|
|
|
module Messages.Comp.NotificationHookTable exposing
|
|
( Texts
|
|
, de
|
|
, gb
|
|
)
|
|
|
|
import Data.EventType exposing (EventType)
|
|
import Messages.Basics
|
|
import Messages.Data.ChannelType
|
|
import Messages.Data.EventType
|
|
|
|
|
|
type alias Texts =
|
|
{ basics : Messages.Basics.Texts
|
|
, eventType : EventType -> Messages.Data.EventType.Texts
|
|
, channelType : Messages.Data.ChannelType.Texts
|
|
, enabled : String
|
|
, channel : String
|
|
, events : String
|
|
, allEvents : String
|
|
}
|
|
|
|
|
|
gb : Texts
|
|
gb =
|
|
{ basics = Messages.Basics.gb
|
|
, eventType = Messages.Data.EventType.gb
|
|
, channelType = Messages.Data.ChannelType.gb
|
|
, enabled = "Enabled"
|
|
, channel = "Channel"
|
|
, events = "Events"
|
|
, allEvents = "All"
|
|
}
|
|
|
|
|
|
de : Texts
|
|
de =
|
|
{ basics = Messages.Basics.de
|
|
, eventType = Messages.Data.EventType.de
|
|
, channelType = Messages.Data.ChannelType.de
|
|
, enabled = "Aktiv"
|
|
, channel = "Kanal"
|
|
, events = "Ereignisse"
|
|
, allEvents = "Alle"
|
|
}
|