{-# LANGUAGE OverloadedStrings #-} module Yesod.Form.I18n.Swedish where import Yesod.Form.Types (FormMessage (..)) import Data.Monoid (mappend) import Data.Text (Text) swedishFormMessage :: FormMessage -> Text swedishFormMessage :: FormMessage -> Text swedishFormMessage (MsgInvalidInteger Text t) = Text "Ogiltigt antal: " forall a. Monoid a => a -> a -> a `Data.Monoid.mappend` Text t swedishFormMessage (MsgInvalidNumber Text t) = Text "Ogiltigt nummer: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage (MsgInvalidEntry Text t) = Text "Invalid entry: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage FormMessage MsgInvalidTimeFormat = Text "Ogiltigt klockslag, måste vara på formatet HH:MM[:SS]" swedishFormMessage FormMessage MsgInvalidDay = Text "Ogiltigt datum, måste vara på formatet ÅÅÅÅ-MM-DD" swedishFormMessage (MsgInvalidUrl Text t) = Text "Ogiltig URL: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage (MsgInvalidEmail Text t) = Text "Ogiltig epostadress: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage (MsgInvalidHour Text t) = Text "Ogiltig timme: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage (MsgInvalidMinute Text t) = Text "Ogiltig minut: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage (MsgInvalidSecond Text t) = Text "Ogiltig sekund: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage FormMessage MsgValueRequired = Text "Fältet är obligatoriskt" swedishFormMessage (MsgInputNotFound Text t) = Text "Fältet hittades ej: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage FormMessage MsgSelectNone = Text "<Ingenting>" swedishFormMessage (MsgInvalidBool Text t) = Text "Ogiltig boolesk: " forall a. Monoid a => a -> a -> a `mappend` Text t swedishFormMessage FormMessage MsgBoolYes = Text "Ja" swedishFormMessage FormMessage MsgBoolNo = Text "Nej" swedishFormMessage FormMessage MsgDelete = Text "Radera?" swedishFormMessage FormMessage MsgCsrfWarning = Text "Som skydd mot \"cross-site request forgery\" attacker, vänligen bekräfta skickandet av formuläret." swedishFormMessage (MsgInvalidHexColorFormat Text t) = Text "Ogiltig färg, måste vara i #rrggbb hexadecimalt format: " forall a. Monoid a => a -> a -> a `mappend` Text t