aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Message/Translation.hs
diff options
context:
space:
mode:
authorJoris2017-11-19 00:20:25 +0100
committerJoris2017-11-19 00:20:25 +0100
commit7194cddb28656c721342c2ef604f9f9fb0692960 (patch)
tree5b8c8562c9a1680aa315b4b7e10a3a7c22900863 /common/src/Common/Message/Translation.hs
parent42e94a45e26f40edc3ad71b1e77a4bf47c13fd3d (diff)
downloadbudget-7194cddb28656c721342c2ef604f9f9fb0692960.tar.gz
budget-7194cddb28656c721342c2ef604f9f9fb0692960.tar.bz2
budget-7194cddb28656c721342c2ef604f9f9fb0692960.zip
Show payment count and partition
- Also fixes exceedingPayer in back by using only punctual payments
Diffstat (limited to 'common/src/Common/Message/Translation.hs')
-rw-r--r--common/src/Common/Message/Translation.hs12
1 files changed, 5 insertions, 7 deletions
diff --git a/common/src/Common/Message/Translation.hs b/common/src/Common/Message/Translation.hs
index 16a56dd..0a6084d 100644
--- a/common/src/Common/Message/Translation.hs
+++ b/common/src/Common/Message/Translation.hs
@@ -1,5 +1,3 @@
-{-# LANGUAGE OverloadedStrings #-}
-
module Common.Message.Translation
( get
) where
@@ -359,6 +357,11 @@ m l Payment_Balanced =
English -> "Payments are balanced."
French -> "Les paiements sont équilibrés."
+m l (Payment_By key value) =
+ case l of
+ English -> T.concat [ key, ": ", value ]
+ French -> T.concat [ key, " : ", value ]
+
m l Payment_Category =
case l of
English -> "Category"
@@ -584,11 +587,6 @@ m l SignIn_ParseError =
English -> "Error while reading initial data."
French -> "Erreur lors de la lecture des données initiales."
-m l (Statistic_By key value) =
- case l of
- English -> T.concat [ key, ": ", value ]
- French -> T.concat [ key, " : ", value ]
-
m l (Statistic_ByMonthsAndMean amount) =
case l of
English ->