Refactor caleventinput field

This commit is contained in:
Eike Kettner
2021-04-26 18:28:16 +02:00
parent b2cffb22ef
commit a39dfbf82a
6 changed files with 139 additions and 99 deletions

View File

@ -1,5 +1,7 @@
module Messages.Comp.CalEventInput exposing (Texts, gb)
import Http
import Messages.Comp.HttpError
import Messages.DateFormat as DF
import Messages.UiLanguage
@ -15,6 +17,7 @@ type alias Texts =
, schedule : String
, next : String
, formatDateTime : Int -> String
, httpError : Http.Error -> String
}
@ -30,4 +33,5 @@ gb =
, schedule = "Schedule"
, next = "Next"
, formatDateTime = DF.formatDateTimeLong Messages.UiLanguage.English
, httpError = Messages.Comp.HttpError.gb
}