{-# LANGUAGE OverloadedStrings #-}
module Yesod.Form.I18n.English where

import Yesod.Form.Types (FormMessage (..))
import Data.Monoid (mappend)
import Data.Text (Text)

englishFormMessage :: FormMessage -> Text
englishFormMessage :: FormMessage -> Text
englishFormMessage (MsgInvalidInteger Text
t) = Text
"Invalid integer: " forall a. Monoid a => a -> a -> a
`Data.Monoid.mappend` Text
t
englishFormMessage (MsgInvalidNumber Text
t) = Text
"Invalid number: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage (MsgInvalidEntry Text
t) = Text
"Invalid entry: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage FormMessage
MsgInvalidTimeFormat = Text
"Invalid time, must be in HH:MM[:SS] format"
englishFormMessage FormMessage
MsgInvalidDay = Text
"Invalid day, must be in YYYY-MM-DD format"
englishFormMessage (MsgInvalidUrl Text
t) = Text
"Invalid URL: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage (MsgInvalidEmail Text
t) = Text
"Invalid e-mail address: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage (MsgInvalidHour Text
t) = Text
"Invalid hour: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage (MsgInvalidMinute Text
t) = Text
"Invalid minute: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage (MsgInvalidSecond Text
t) = Text
"Invalid second: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage FormMessage
MsgCsrfWarning = Text
"As a protection against cross-site request forgery attacks, please confirm your form submission."
englishFormMessage FormMessage
MsgValueRequired = Text
"Value is required"
englishFormMessage (MsgInputNotFound Text
t) = Text
"Input not found: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage FormMessage
MsgSelectNone = Text
"<None>"
englishFormMessage (MsgInvalidBool Text
t) = Text
"Invalid boolean: " forall a. Monoid a => a -> a -> a
`mappend` Text
t
englishFormMessage FormMessage
MsgBoolYes = Text
"Yes"
englishFormMessage FormMessage
MsgBoolNo = Text
"No"
englishFormMessage FormMessage
MsgDelete = Text
"Delete?"
englishFormMessage (MsgInvalidHexColorFormat Text
t) = Text
"Invalid color, must be in #rrggbb hexadecimal format: " forall a. Monoid a => a -> a -> a
`mappend` Text
t