diff options
Diffstat (limited to 'src/client/elm/SignIn')
-rw-r--r-- | src/client/elm/SignIn/Update.elm | 2 | ||||
-rw-r--r-- | src/client/elm/SignIn/View.elm | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/client/elm/SignIn/Update.elm b/src/client/elm/SignIn/Update.elm index 7ada45c..98de777 100644 --- a/src/client/elm/SignIn/Update.elm +++ b/src/client/elm/SignIn/Update.elm @@ -21,7 +21,7 @@ update translations msg signInView = ValidLogin -> { signInView | login = "" - , result = Just (Ok (getMessage "SignInEmailSent" translations)) + , result = Just (Ok (getMessage translations "SignInEmailSent")) , waitingServer = False } ErrorLogin message -> diff --git a/src/client/elm/SignIn/View.elm b/src/client/elm/SignIn/View.elm index daaa527..f23ca09 100644 --- a/src/client/elm/SignIn/View.elm +++ b/src/client/elm/SignIn/View.elm @@ -38,7 +38,7 @@ view model signInModel = [] [ if signInModel.waitingServer then FontAwesome.spinner Color.white 20 - else text (getMessage "SignIn" model.translations) + else text (getMessage model.translations "SignIn") ] ] , div @@ -54,10 +54,10 @@ signInResult model signInModel = Ok login -> div [ class "success" ] - [ text (getMessage "SignInEmailSent" model.translations) ] + [ text (getMessage model.translations "SignInEmailSent") ] Err error -> div [ class "error" ] - [ text (getMessage error model.translations) ] + [ text (getMessage model.translations error) ] Nothing -> text "" |