From 6cd279630923cdcd053e373b56b8bc0ad85a9b08 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 19 Aug 2017 02:10:38 +0200 Subject: Set up i18n en.msg: * Remove comment lines because apparently comments aren't allowed by the parser * Change data type to `T.Text` to match the import from the `I18n` module GitHubCommit.hs: Import the `I18n` module because we'll be testing it in context in a bit, but for now just want to get the module code to compile. I18n.hs: Follow the example on http://www.yesodweb.com/book/internationalization to make a function for proper internationalisation. --- sorbot.cabal | 1 + 1 file changed, 1 insertion(+) (limited to 'sorbot.cabal') diff --git a/sorbot.cabal b/sorbot.cabal index b7f8d84..76654ca 100644 --- a/sorbot.cabal +++ b/sorbot.cabal @@ -16,6 +16,7 @@ cabal-version: >=1.10 library hs-source-dirs: src exposed-modules: Lib + , I18n , IRC , Message , Plugin -- cgit v1.2.3