From dab9e42dae6e5287935e5dfc418fcb2adf036b9a Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 6 Sep 2015 19:29:07 +0200 Subject: Showing the total amount of monthly payments --- src/server/Model/Message/Translations.hs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/server') diff --git a/src/server/Model/Message/Translations.hs b/src/server/Model/Message/Translations.hs index 501f00f..0a1226a 100644 --- a/src/server/Model/Message/Translations.hs +++ b/src/server/Model/Message/Translations.hs @@ -216,6 +216,10 @@ m l SingularMonthlyCount = French -> "Vous avez {1} paiement mensuel." m l PluralMonthlyCount = - case l of - English -> "You have {1} monthly payments." - French -> "Vous avez {1} paiements mensuels." + T.concat + [ case l of + English -> "You have {1} monthly payments with a total of {2} " + French -> "Vous avez {1} paiements mensuels d'une valeur totale de {2} " + , m l MoneySymbol + , "." + ] -- cgit v1.2.3