Skip to content
This repository has been archived by the owner on Sep 30, 2019. It is now read-only.

Commit

Permalink
Fix YesodAuth in Swedish, but don't work :( [#29]
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarrasch committed Apr 12, 2012
1 parent 613fe86 commit f2841a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Foundation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import Prelude
import Yesod
import Yesod.Static
import Yesod.Auth
import Yesod.Auth.Message (swedishMessage)
import Yesod.Default.Config
import Yesod.Default.Util (addStaticContentExternal)
import Yesod.Logger (Logger, logMsg, formatLogText)
Expand Down Expand Up @@ -205,6 +206,8 @@ instance YesodAuth App where

authHttpManager = httpManager

renderAuthMessage _ _ = swedishMessage

loginHandler = defaultLayout $ do
-- setDtekTitle "Inloggning" -- TODO: fix my generalize setDtekTitle
toWidget [hamlet|
Expand Down

0 comments on commit f2841a9

Please sign in to comment.