mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Prepare translating dates
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
module Messages.Comp.ItemCard exposing (Texts, gb)
|
||||
|
||||
import Data.Direction exposing (Direction)
|
||||
import Messages.Basics
|
||||
import Messages.Data.Direction
|
||||
import Messages.DateFormat
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
@ -10,6 +14,9 @@ type alias Texts =
|
||||
, openAttachmentFile : String
|
||||
, gotoDetail : String
|
||||
, cycleAttachments : String
|
||||
, formatDateLong : Int -> String
|
||||
, formatDateShort : Int -> String
|
||||
, directionLabel : Direction -> String
|
||||
}
|
||||
|
||||
|
||||
@ -21,4 +28,7 @@ gb =
|
||||
, openAttachmentFile = "Open attachment file"
|
||||
, gotoDetail = "Go to detail view"
|
||||
, cycleAttachments = "Cycle attachments"
|
||||
, formatDateLong = Messages.DateFormat.formatDateLong Messages.UiLanguage.English
|
||||
, formatDateShort = Messages.DateFormat.formatDateShort Messages.UiLanguage.English
|
||||
, directionLabel = Messages.Data.Direction.gb
|
||||
}
|
||||
|
Reference in New Issue
Block a user