aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Message/Key.hs
blob: f3b0837bbd7011e70b29a7428e79639d1775238e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
module Common.Message.Key
  ( Key(..)
  ) where

import           Data.Text

data Key =

  App_Title

  | Category_Add
  | Category_Clone
  | Category_Color
  | Category_DeleteConfirm
  | Category_Edit
  | Category_Empty
  | Category_Name
  | Category_NotDeleted
  | Category_Title
  | Category_Used

  | Date_Long Int Text Int
  | Date_Short Int Int Int
  | Date_ShortMonthAndYear Int Int

  | Dialog_Confirm
  | Dialog_Undo

  | Error_CategoryCreate
  | Error_CategoryDelete
  | Error_CategoryEdit
  | Error_IncomeCreate
  | Error_IncomeDelete
  | Error_IncomeEdit
  | Error_PaymentCreate
  | Error_PaymentDelete
  | Error_PaymentEdit
  | Error_SignOut

  | Form_AlreadyExists
  | Form_NonEmpty
  | Form_MinChars Int
  | Form_NonNullNumber
  | Form_GreaterIntThan Int
  | Form_InvalidCategory
  | Form_InvalidColor
  | Form_InvalidDate
  | Form_InvalidInt
  | Form_InvalidString
  | Form_SmallerIntThan Int

  | HttpError_BadPayload
  | HttpError_BadUrl
  | HttpError_NetworkError
  | HttpError_Timeout

  | Income_AddLong
  | Income_AddShort
  | Income_Name
  | Income_Amount
  | Income_Clone
  | Income_CumulativeSince Text
  | Income_Date
  | Income_DeleteConfirm
  | Income_Edit
  | Income_Empty
  | Income_MonthlyNet
  | Income_Title

  | Month_January
  | Month_February
  | Month_March
  | Month_April
  | Month_May
  | Month_June
  | Month_July
  | Month_August
  | Month_September
  | Month_October
  | Month_November
  | Month_December

  | PageNotFound_Title

  | Payment_Add
  | Payment_Balanced
  | Payment_By Text Text
  | Payment_Category
  | Payment_CloneLong
  | Payment_CloneShort
  | Payment_Cost
  | Payment_Date
  | Payment_Delete
  | Payment_DeleteConfirm
  | Payment_EditLong
  | Payment_EditShort
  | Payment_Empty
  | Payment_Frequency
  | Payment_InvalidFrequency
  | Payment_Many
  | Payment_MonthlyFemale
  | Payment_MonthlyMale
  | Payment_Name
  | Payment_NotDeleted
  | Payment_One
  | Payment_PunctualFemale
  | Payment_PunctualMale
  | Payment_Title
  | Payment_User
  | Payment_Worth Text Text

  | Search_Monthly
  | Search_Name
  | Search_Punctual

  | Secure_Forbidden
  | Secure_Unauthorized

  | SignIn_Button
  | SignIn_DisconnectSuccess
  | SignIn_InvalidCredentials
  | SignIn_EmailLabel
  | SignIn_PasswordLabel

  | Statistics_Title
  | Statistics_ByMonthsAndMean Text Text
  | Statistics_TotalPayments
  | Statistics_TotalIncomes

  | WeeklyReport_Empty
  | WeeklyReport_IncomesCreated Int
  | WeeklyReport_IncomesDeleted Int
  | WeeklyReport_IncomesEdited Int
  | WeeklyReport_IncomeCreated Int
  | WeeklyReport_IncomeDeleted Int
  | WeeklyReport_IncomeEdited Int
  | WeeklyReport_PayedFor Text Text Text Text
  | WeeklyReport_PayedForNot Text Text Text Text
  | WeeklyReport_PayedFrom Text Text Text
  | WeeklyReport_PayedFromNot Text Text Text
  | WeeklyReport_PaymentsCreated Int
  | WeeklyReport_PaymentsDeleted Int
  | WeeklyReport_PaymentsEdited Int
  | WeeklyReport_PaymentCreated Int
  | WeeklyReport_PaymentDeleted Int
  | WeeklyReport_PaymentEdited Int
  | WeeklyReport_Title

  | NotFound_Message
  | NotFound_LinkMessage