mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
Prepare translating dates
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
module Messages.Comp.AttachmentMeta exposing (Texts, gb)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
@ -15,6 +17,7 @@ type alias Texts =
|
||||
, concerningEquipment : String
|
||||
, itemDate : String
|
||||
, itemDueDate : String
|
||||
, formatDateShort : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -31,4 +34,5 @@ gb =
|
||||
, concerningEquipment = "Concerning Equipment"
|
||||
, itemDate = "Item Date"
|
||||
, itemDueDate = "Item Due Date"
|
||||
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English
|
||||
}
|
||||
|
@ -1,5 +1,8 @@
|
||||
module Messages.Comp.CalEventInput exposing (Texts, gb)
|
||||
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ weekday : String
|
||||
@ -11,6 +14,7 @@ type alias Texts =
|
||||
, error : String
|
||||
, schedule : String
|
||||
, next : String
|
||||
, formatDateTime : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -25,4 +29,5 @@ gb =
|
||||
, error = "Error"
|
||||
, schedule = "Schedule"
|
||||
, next = "Next"
|
||||
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
|
||||
}
|
||||
|
@ -1,6 +1,8 @@
|
||||
module Messages.Comp.CustomFieldTable exposing (Texts, gb)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
@ -8,6 +10,7 @@ type alias Texts =
|
||||
, nameLabel : String
|
||||
, format : String
|
||||
, usageCount : String
|
||||
, formatDateShort : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -17,4 +20,5 @@ gb =
|
||||
, nameLabel = "Name/Label"
|
||||
, format = "Format"
|
||||
, usageCount = "#Usage"
|
||||
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English
|
||||
}
|
||||
|
@ -1,11 +1,14 @@
|
||||
module Messages.Comp.FolderTable exposing (Texts, gb)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ basics : Messages.Basics.Texts
|
||||
, memberCount : String
|
||||
, formatDateShort : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -13,4 +16,5 @@ gb : Texts
|
||||
gb =
|
||||
{ basics = Messages.Basics.gb
|
||||
, memberCount = "#Member"
|
||||
, formatDateShort = DF.formatDateShort Messages.UiLanguage.English
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -7,6 +7,8 @@ import Messages.Comp.ItemDetail.Notes
|
||||
import Messages.Comp.ItemDetail.SingleAttachment
|
||||
import Messages.Comp.ItemMail
|
||||
import Messages.Comp.SentMails
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
@ -34,6 +36,7 @@ type alias Texts =
|
||||
, createdOn : String
|
||||
, lastUpdateOn : String
|
||||
, sendingMailNow : String
|
||||
, formatDateTime : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -63,4 +66,5 @@ gb =
|
||||
, createdOn = "Created on"
|
||||
, lastUpdateOn = "Last update on"
|
||||
, sendingMailNow = "Sending e-mail…"
|
||||
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
|
||||
}
|
||||
|
@ -2,6 +2,8 @@ module Messages.Comp.ItemDetail.EditForm exposing (Texts, gb)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.Comp.CustomFieldMultiInput
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
@ -21,6 +23,7 @@ type alias Texts =
|
||||
, addNewEquipment : String
|
||||
, editEquipment : String
|
||||
, suggestions : String
|
||||
, formatDate : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -47,4 +50,5 @@ item visible. This message will disappear then.
|
||||
, addNewEquipment = "Add new equipment"
|
||||
, editEquipment = "Edit equipment"
|
||||
, suggestions = "Suggestions"
|
||||
, formatDate = DF.formatDateLong Messages.UiLanguage.English
|
||||
}
|
||||
|
@ -1,6 +1,8 @@
|
||||
module Messages.Comp.ItemDetail.ItemInfoHeader exposing (Texts, gb)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
@ -9,6 +11,7 @@ type alias Texts =
|
||||
, dueDate : String
|
||||
, source : String
|
||||
, new : String
|
||||
, formatDate : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -19,4 +22,5 @@ gb =
|
||||
, dueDate = "Due Date"
|
||||
, source = "Source"
|
||||
, new = "New"
|
||||
, formatDate = DF.formatDateLong Messages.UiLanguage.English
|
||||
}
|
||||
|
@ -1,5 +1,8 @@
|
||||
module Messages.Comp.SentMails exposing (Texts, gb)
|
||||
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
{ from : String
|
||||
@ -8,6 +11,7 @@ type alias Texts =
|
||||
, subject : String
|
||||
, sent : String
|
||||
, sender : String
|
||||
, formatDateTime : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -19,4 +23,5 @@ gb =
|
||||
, subject = "Subject"
|
||||
, sent = "Sent"
|
||||
, sender = "Sender"
|
||||
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
|
||||
}
|
||||
|
@ -1,6 +1,8 @@
|
||||
module Messages.Comp.UserTable exposing (Texts, gb)
|
||||
|
||||
import Messages.Basics
|
||||
import Messages.DateFormat as DF
|
||||
import Messages.UiLanguage
|
||||
|
||||
|
||||
type alias Texts =
|
||||
@ -10,6 +12,7 @@ type alias Texts =
|
||||
, email : String
|
||||
, logins : String
|
||||
, lastLogin : String
|
||||
, formatDateTime : Int -> String
|
||||
}
|
||||
|
||||
|
||||
@ -21,4 +24,5 @@ gb =
|
||||
, email = "E-Mail"
|
||||
, logins = "Logins"
|
||||
, lastLogin = "Last Login"
|
||||
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
|
||||
}
|
||||
|
Reference in New Issue
Block a user