aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedIn/Home/Header
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/LoggedIn/Home/Header')
-rw-r--r--src/client/elm/LoggedIn/Home/Header/View.elm6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/elm/LoggedIn/Home/Header/View.elm b/src/client/elm/LoggedIn/Home/Header/View.elm
index e6b2444..b67fb3b 100644
--- a/src/client/elm/LoggedIn/Home/Header/View.elm
+++ b/src/client/elm/LoggedIn/Home/Header/View.elm
@@ -46,7 +46,7 @@ view loggedData { search } payments frequency =
loggedData
(AddPayment.initialAdd loggedData.translations currentDate frequency)
"AddPayment"
- (text (getMessage "AddPayment" loggedData.translations))
+ (text (getMessage loggedData.translations "AddPayment"))
Nothing
]
, Html.div
@@ -78,7 +78,7 @@ infos loggedData payments =
[ class "infos" ]
[ span
[ class "total" ]
- [ text <| getParamMessage [ count, sum ] "Worth" loggedData.translations ]
+ [ text <| getParamMessage [ count, sum ] loggedData.translations "Worth" ]
, span
[ class "partition" ]
[ text <| paymentsPartition loggedData payments ]
@@ -95,7 +95,7 @@ paymentsPartition loggedData payments =
|> List.sortBy fst
|> List.reverse
|> List.map (\(sum, user) ->
- getParamMessage [ user.name, Format.price loggedData.conf sum ] "By" loggedData.translations
+ getParamMessage [ user.name, Format.price loggedData.conf sum ] loggedData.translations "By"
)
)