aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Message
diff options
context:
space:
mode:
authorJoris2020-01-20 19:47:23 +0100
committerJoris2020-01-20 22:11:19 +0100
commit47c2a4d6b68c54eed5f7b45671b1ccaf8c0db200 (patch)
treef5c1c4281bb26810bdd0fea3d6582d3eafa227cf /common/src/Common/Message
parentd20d7ceec2a14f79ebb06555a71d424aeaa90e54 (diff)
Show payment stats
Diffstat (limited to 'common/src/Common/Message')
-rw-r--r--common/src/Common/Message/Key.hs6
-rw-r--r--common/src/Common/Message/Translation.hs6
2 files changed, 6 insertions, 6 deletions
diff --git a/common/src/Common/Message/Key.hs b/common/src/Common/Message/Key.hs
index b778a8f..9b60a16 100644
--- a/common/src/Common/Message/Key.hs
+++ b/common/src/Common/Message/Key.hs
@@ -122,9 +122,9 @@ data Key =
| SignIn_EmailLabel
| SignIn_PasswordLabel
- | Statistic_Title
- | Statistic_ByMonthsAndMean Text
- | Statistic_Total
+ | Statistics_Title
+ | Statistics_ByMonthsAndMean Text
+ | Statistics_Total
| WeeklyReport_Empty
| WeeklyReport_IncomesCreated Int
diff --git a/common/src/Common/Message/Translation.hs b/common/src/Common/Message/Translation.hs
index e74c801..2640da3 100644
--- a/common/src/Common/Message/Translation.hs
+++ b/common/src/Common/Message/Translation.hs
@@ -532,19 +532,19 @@ m l SignIn_PasswordLabel =
English -> "Password"
French -> "Mot de passe"
-m l (Statistic_ByMonthsAndMean amount) =
+m l (Statistics_ByMonthsAndMean amount) =
case l of
English ->
T.concat [ "Payments by category by month months (", amount, "on average)" ]
French ->
T.concat [ "Paiements par catégorie par mois (en moyenne ", amount, ")" ]
-m l Statistic_Title =
+m l Statistics_Title =
case l of
English -> "Statistics"
French -> "Statistiques"
-m l Statistic_Total =
+m l Statistics_Total =
case l of
English -> "Total"
French -> "Total"