diff options
Diffstat (limited to 'src/client/elm/View/Plural.elm')
-rw-r--r-- | src/client/elm/View/Plural.elm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/elm/View/Plural.elm b/src/client/elm/View/Plural.elm index ab91f06..c36eaca 100644 --- a/src/client/elm/View/Plural.elm +++ b/src/client/elm/View/Plural.elm @@ -6,6 +6,6 @@ import Model.Translations exposing (Translations, getMessage) plural : Translations -> Int -> String -> String -> String plural translations n single multiple = - let singleMessage = getMessage single translations - multipleMessage = getMessage multiple translations + let singleMessage = getMessage translations single + multipleMessage = getMessage translations multiple in (toString n) ++ " " ++ if n <= 1 then singleMessage else multipleMessage |