aboutsummaryrefslogtreecommitdiff
path: root/src/server/Model/Message/Translations.hs
diff options
context:
space:
mode:
authorJoris2016-04-05 23:52:13 +0200
committerJoris2016-04-05 23:52:13 +0200
commitfe50c4042848681833d15fab27466d1d2d4bda45 (patch)
tree9a1eda4adb22c0d84815e20e8e021968815d7c50 /src/server/Model/Message/Translations.hs
parent466f77394885cb74d01451c4733cafc9b61f4bba (diff)
downloadbudget-fe50c4042848681833d15fab27466d1d2d4bda45.tar.gz
budget-fe50c4042848681833d15fab27466d1d2d4bda45.tar.bz2
budget-fe50c4042848681833d15fab27466d1d2d4bda45.zip
Ameliore design in income page and stat page
Diffstat (limited to 'src/server/Model/Message/Translations.hs')
-rw-r--r--src/server/Model/Message/Translations.hs36
1 files changed, 26 insertions, 10 deletions
diff --git a/src/server/Model/Message/Translations.hs b/src/server/Model/Message/Translations.hs
index 8c1ba08..1d3fbe6 100644
--- a/src/server/Model/Message/Translations.hs
+++ b/src/server/Model/Message/Translations.hs
@@ -231,18 +231,24 @@ m l Monthly =
French -> "Mensuel"
m l SingularMonthlyCount =
- T.concat
- [ case l of
- English -> "{1} monthly payment of {2}"
- French -> "{1} paiement mensuel de {2}"
- ]
+ case l of
+ English -> "{1} monthly payment of {2}"
+ French -> "{1} paiement mensuel de {2}"
m l PluralMonthlyCount =
- T.concat
- [ case l of
- English -> "{1} monthly payments totalling {2}"
- French -> "{1} paiements mensuels comptabilisant {2}"
- ]
+ case l of
+ English -> "{1} monthly payments totalling {2}"
+ French -> "{1} paiements mensuels comptabilisant {2}"
+
+m l Payment =
+ case l of
+ English -> "payment"
+ French -> "paiement"
+
+m l Payments =
+ case l of
+ English -> "payments"
+ French -> "paiements"
-- Statistics
@@ -251,6 +257,16 @@ m l Statistics =
English -> "Statistics"
French -> "Statistiques"
+m l Overall =
+ case l of
+ English -> "Overall"
+ French -> "Global"
+
+m l ByMonths =
+ case l of
+ English -> "By months"
+ French -> "Par mois"
+
-- Income
m l AddIncome =