diff options
Diffstat (limited to 'common/src/Common/Message')
| -rw-r--r-- | common/src/Common/Message/Key.hs | 2 | ||||
| -rw-r--r-- | common/src/Common/Message/Translation.hs | 12 | 
2 files changed, 6 insertions, 8 deletions
diff --git a/common/src/Common/Message/Key.hs b/common/src/Common/Message/Key.hs index 991c407..ad8a7f1 100644 --- a/common/src/Common/Message/Key.hs +++ b/common/src/Common/Message/Key.hs @@ -83,6 +83,7 @@ data Key =    | Payment_Add    | Payment_Balanced +  | Payment_By Text Text    | Payment_Category    | Payment_CloneLong    | Payment_CloneShort @@ -129,7 +130,6 @@ data Key =    | Statistic_Title    | Statistic_ByMonthsAndMean Text -  | Statistic_By Text Text    | Statistic_Total    | WeeklyReport_Empty 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 ->  | 
