diff options
Diffstat (limited to 'services/tazblog/src/Locales.hs')
-rw-r--r-- | services/tazblog/src/Locales.hs | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/services/tazblog/src/Locales.hs b/services/tazblog/src/Locales.hs index 2e49809eee32..79edcd75f32a 100644 --- a/services/tazblog/src/Locales.hs +++ b/services/tazblog/src/Locales.hs @@ -1,17 +1,20 @@ -{-# LANGUAGE ScopedTypeVariables, OverloadedStrings #-} +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE ScopedTypeVariables #-} + module Locales where -import Data.Maybe (fromMaybe) -import Data.Text (Text) -import qualified Data.Text as T -import Network.URI +import Data.Maybe (fromMaybe) +import Data.Text (Text) +import qualified Data.Text as T +import Network.URI data BlogLang = EN | DE - deriving (Eq, Ord) + deriving (Eq, Ord) instance Show BlogLang where - show DE = "de" - show EN = "en" + + show DE = "de" + show EN = "en" data BlogError = NotFound | UnknownError |