From 6a0c5087f716ed6c876a666db6573491bfd3e094 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 12 Jun 2016 23:54:17 +0200 Subject: Design income form --- src/client/elm/Model/Translations.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/elm/Model/Translations.elm') diff --git a/src/client/elm/Model/Translations.elm b/src/client/elm/Model/Translations.elm index 705cb66..9499dde 100644 --- a/src/client/elm/Model/Translations.elm +++ b/src/client/elm/Model/Translations.elm @@ -23,7 +23,7 @@ type alias Translation = getTranslation : String -> Translations -> Maybe (List MessagePart) getTranslation key translations = translations - |> List.filter (\translation -> translation.key == key) + |> List.filter (\translation -> String.toLower translation.key == String.toLower key) |> List.head |> Maybe.map .message -- cgit v1.2.3