From 27bf42c165e5a9fa242e0679fca621f2a6dc4adb Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 26 Jun 2016 13:59:31 +0200 Subject: Add missing AddIncome message --- src/server/Model/Message/Key.hs | 1 + src/server/Model/Message/Translations.hs | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/server/Model/Message/Key.hs b/src/server/Model/Message/Key.hs index a88d2b8..84ff486 100644 --- a/src/server/Model/Message/Key.hs +++ b/src/server/Model/Message/Key.hs @@ -96,6 +96,7 @@ data Key = | IncomeDate | IncomeAmount | ConfirmIncomeDelete + | Add -- Form diff --git a/src/server/Model/Message/Translations.hs b/src/server/Model/Message/Translations.hs index 3b91d17..a29b84e 100644 --- a/src/server/Model/Message/Translations.hs +++ b/src/server/Model/Message/Translations.hs @@ -369,6 +369,11 @@ m l ConfirmIncomeDelete = English -> "Are you sure to delete this income ?" French -> "Voulez-vous vraiment supprimer ce revenu ?" +m l Add = + case l of + English -> "Add" + French -> "Ajouter" + -- Form error m l Empty = -- cgit v1.2.3