aboutsummaryrefslogtreecommitdiff
path: root/src/server/Model/Message
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Model/Message')
-rw-r--r--src/server/Model/Message/Key.hs1
-rw-r--r--src/server/Model/Message/Translations.hs5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/server/Model/Message/Key.hs b/src/server/Model/Message/Key.hs
index e64cfb5..d00d8b8 100644
--- a/src/server/Model/Message/Key.hs
+++ b/src/server/Model/Message/Key.hs
@@ -131,6 +131,7 @@ data Key =
-- Weekly report
| WeeklyReport
+ | WeeklyReportEmpty
| PaymentCreated
| PaymentsCreated
| PaymentEdited
diff --git a/src/server/Model/Message/Translations.hs b/src/server/Model/Message/Translations.hs
index cf11a5e..23e3a6c 100644
--- a/src/server/Model/Message/Translations.hs
+++ b/src/server/Model/Message/Translations.hs
@@ -492,6 +492,11 @@ m l WeeklyReport =
English -> "Weekly report"
French -> "Rapport hebdomadaire"
+m l WeeklyReportEmpty =
+ case l of
+ English -> "No activity the previous week."
+ French -> "Pas d'activité la semaine passée."
+
m l PaymentCreated =
case l of
English -> "{1} payment created:"