about summary refs log tree commit diff
path: root/services/tazblog/src/BlogStore.hs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-25T21·53+0100
committerVincent Ambo <tazjin@google.com>2019-08-25T21·53+0100
commit561ed1fbbb624ddc51f5a97f4a81354e458e64cd (patch)
tree54ccf83cf15368b9ed22dc322258563cd4571022 /services/tazblog/src/BlogStore.hs
parent094aafecddc61f36de178205ba9bfd592dc3481f (diff)
chore(tazblog): Remove i18n features r/63
The blog has been English only for a few years. Old entries that
survived the migration to DNS will still be accessible.
Diffstat (limited to 'services/tazblog/src/BlogStore.hs')
-rw-r--r--services/tazblog/src/BlogStore.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/services/tazblog/src/BlogStore.hs b/services/tazblog/src/BlogStore.hs
index 4e5171252e7d..195bcca0c0eb 100644
--- a/services/tazblog/src/BlogStore.hs
+++ b/services/tazblog/src/BlogStore.hs
@@ -40,7 +40,6 @@ import Data.List (sortBy)
 import Data.Text as T (Text, concat, pack)
 import Data.Text.Encoding (decodeUtf8', encodeUtf8)
 import Data.Time (Day)
-import Locales (BlogLang (..))
 import Network.DNS (DNSError, lookupTXT)
 import qualified Network.DNS.Resolver as R
 
@@ -54,7 +53,6 @@ instance Show EntryId where
 data Entry
   = Entry
       { entryId :: EntryId,
-        lang :: BlogLang,
         author :: Text,
         title :: Text,
         text :: Text,
@@ -166,7 +164,6 @@ entryFromDNS cache eid = do
         $ either Left
             ( \text -> Right $ Entry
                 { entryId = eid,
-                  lang = EN,
                   author = "tazjin",
                   title = t,
                   text = text,