aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/Translations.elm
diff options
context:
space:
mode:
authorJoris2016-06-12 23:54:17 +0200
committerJoris2016-06-12 23:54:17 +0200
commit6a0c5087f716ed6c876a666db6573491bfd3e094 (patch)
treebf439109143c7a1749c2661fc8b805b83a993027 /src/client/elm/Model/Translations.elm
parent38896af4281d2e191cbde15836a23e4c0274fff6 (diff)
downloadbudget-6a0c5087f716ed6c876a666db6573491bfd3e094.tar.gz
budget-6a0c5087f716ed6c876a666db6573491bfd3e094.tar.bz2
budget-6a0c5087f716ed6c876a666db6573491bfd3e094.zip
Design income form
Diffstat (limited to 'src/client/elm/Model/Translations.elm')
-rw-r--r--src/client/elm/Model/Translations.elm2
1 files changed, 1 insertions, 1 deletions
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