mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-30 08:38:22 +00:00
Prepare translating dates
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user