Skip to content

Commit 94c101c

Browse files
authored
Add recurring expense functionality (#263)
* code complete * Smaller updates * delete ambitious TODOs (add to PR) * add transactionality to recurring expense creation * Remove unnecessary `let`s * Add default english labels to non-en-US translations * Accept `es.json` translations * add condition to ensure links are only modified when applicable
1 parent 2bced00 commit 94c101c

17 files changed

Lines changed: 464 additions & 3 deletions

File tree

messages/de-DE.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@
137137
"label": "Empfangen von",
138138
"description": "Wähle das Mitglied, das die Einnahme erhalten hat."
139139
},
140+
"recurrenceRule": {
141+
"label": "Expense Recurrence",
142+
"description": "Select how often the expense should repeat.",
143+
144+
"none": "None",
145+
"daily": "Daily",
146+
"weekly": "Weekly",
147+
"monthly": "Monthly"
148+
},
140149
"paidFor": {
141150
"title": "Empfangen für",
142151
"description": "Wähle für wen die Einnahme empfangen wurde."

messages/en-US.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,15 @@
162162
"label": "Paid by",
163163
"description": "Select the participant who paid the expense."
164164
},
165+
"recurrenceRule": {
166+
"label": "Expense Recurrence",
167+
"description": "Select how often the expense should repeat.",
168+
169+
"none": "None",
170+
"daily": "Daily",
171+
"weekly": "Weekly",
172+
"monthly": "Monthly"
173+
},
165174
"paidFor": {
166175
"title": "Paid for",
167176
"description": "Select who the expense was paid for."

messages/es.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@
137137
"label": "Recibido por",
138138
"description": "Seleccione el participante que recibió los ingresos."
139139
},
140+
"recurrenceRule": {
141+
"label": "Recurrencia del gasto",
142+
"description": "Seleccione con qué frecuencia debe repetirse el gasto.",
143+
144+
"none": "Ninguno",
145+
"daily": "Diario",
146+
"weekly": "Semanal",
147+
"monthly": "Mensual"
148+
},
140149
"paidFor": {
141150
"title": "Recibido para for",
142151
"description": "Seleccione para quién se recibió el ingreso."

messages/fi.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@
137137
"label": "Vastaanottaja",
138138
"description": "Valitse kuka vastaanotti tulon."
139139
},
140+
"recurrenceRule": {
141+
"label": "Expense Recurrence",
142+
"description": "Select how often the expense should repeat.",
143+
144+
"none": "None",
145+
"daily": "Daily",
146+
"weekly": "Weekly",
147+
"monthly": "Monthly"
148+
},
140149
"paidFor": {
141150
"title": "Tulon jakaminen",
142151
"description": "Valitse kenelle tulo jaetaan."

messages/fr-FR.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@
137137
"label": "Reçu par",
138138
"description": "Sélectionnez le participant qui a reçu le revenu."
139139
},
140+
"recurrenceRule": {
141+
"label": "Expense Recurrence",
142+
"description": "Select how often the expense should repeat.",
143+
144+
"none": "None",
145+
"daily": "Daily",
146+
"weekly": "Weekly",
147+
"monthly": "Monthly"
148+
},
140149
"paidFor": {
141150
"title": "Reçu pour",
142151
"description": "Sélectionnez pour qui le revenu a été reçu."

messages/it-IT.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@
137137
"label": "Ricevuto da",
138138
"description": "Seleziona partecipante che ha ricevuto l'entrata."
139139
},
140+
"recurrenceRule": {
141+
"label": "Expense Recurrence",
142+
"description": "Select how often the expense should repeat.",
143+
144+
"none": "None",
145+
"daily": "Daily",
146+
"weekly": "Weekly",
147+
"monthly": "Monthly"
148+
},
140149
"paidFor": {
141150
"title": "Ricevuto per",
142151
"description": "Seleziona per chi è stato ricevuta l'entrata."

messages/pl-PL.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@
137137
"label": "Otrzymane przez",
138138
"description": "Wybierz członka, który otrzymał wpływ."
139139
},
140+
"recurrenceRule": {
141+
"label": "Expense Recurrence",
142+
"description": "Select how often the expense should repeat.",
143+
144+
"none": "None",
145+
"daily": "Daily",
146+
"weekly": "Weekly",
147+
"monthly": "Monthly"
148+
},
140149
"paidFor": {
141150
"title": "Otrzymany dla",
142151
"description": "Podaj dla kogo wpływ był przeznaczony."

messages/ro.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,15 @@
128128
"placeholder": "Cina de luni seară",
129129
"description": "Adaugă o descriere pentru venit."
130130
},
131+
"recurrenceRule": {
132+
"label": "Expense Recurrence",
133+
"description": "Select how often the expense should repeat.",
134+
135+
"none": "None",
136+
"daily": "Daily",
137+
"weekly": "Weekly",
138+
"monthly": "Monthly"
139+
},
131140
"DateField": {
132141
"label": "Data venitului",
133142
"description": "Adaugă data la care venitul a fost primit."

messages/ru-RU.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@
137137
"label": "Получивший",
138138
"description": "Выберите участника, который получил этот доход."
139139
},
140+
"recurrenceRule": {
141+
"label": "Expense Recurrence",
142+
"description": "Select how often the expense should repeat.",
143+
144+
"none": "None",
145+
"daily": "Daily",
146+
"weekly": "Weekly",
147+
"monthly": "Monthly"
148+
},
140149
"paidFor": {
141150
"title": "Участники",
142151
"description": "Выберите тех, между кем этот доход будет распределен."

messages/ua-UA.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@
137137
"label": "Отримав",
138138
"description": "Оберіть учасника, який отримав дохід"
139139
},
140+
"recurrenceRule": {
141+
"label": "Expense Recurrence",
142+
"description": "Select how often the expense should repeat.",
143+
144+
"none": "None",
145+
"daily": "Daily",
146+
"weekly": "Weekly",
147+
"monthly": "Monthly"
148+
},
140149
"paidFor": {
141150
"title": "Учасники",
142151
"description": "Виберіть тих, між ким цей дохід буде розподілено"

0 commit comments

Comments
 (0)