Recurrence rule + tests

This commit is contained in:
Frederik Jaeckel 2024-02-25 23:10:40 +01:00
parent ebb1efe7a8
commit ed350ba3e2
6 changed files with 564 additions and 19 deletions

View file

@ -58,6 +58,14 @@ msgctxt "model:cashbook.planner,name:"
msgid "Scheduled Booking"
msgstr "geplante Buchung"
msgctxt "view:cashbook.planner:"
msgid "Recurrence Rule"
msgstr "Wiederholregel"
msgctxt "view:cashbook.planner:"
msgid "Result of the recurrence rule"
msgstr "Ergebnis der Wiederholregel"
msgctxt "field:cashbook.planner,company:"
msgid "Company"
msgstr "Unternehmen"
@ -86,6 +94,94 @@ msgctxt "field:cashbook.planner,end_date:"
msgid "End Date"
msgstr "Endedatum"
msgctxt "field:cashbook.planner,frequ:"
msgid "Frequency"
msgstr "Frequenz"
msgctxt "selection:cashbook.planner,frequ:"
msgid "Yearly"
msgstr "Jährlich"
msgctxt "selection:cashbook.planner,frequ:"
msgid "Monthly"
msgstr "Monatlich"
msgctxt "selection:cashbook.planner,frequ:"
msgid "Weekly"
msgstr "Wöchentlich"
msgctxt "selection:cashbook.planner,frequ:"
msgid "Daily"
msgstr "Täglich"
msgctxt "field:cashbook.planner,weekday:"
msgid "Weekday"
msgstr "Wochentag"
msgctxt "help:cashbook.planner,weekday:"
msgid "Select a day of the week if you want the rule to run on that day."
msgstr "Wählen Sie einen Wochentag aus, wenn die Regel an diesem Tag ausgeführt werden soll."
msgctxt "selection:cashbook.planner,weekday:"
msgid "Monday"
msgstr "Montag"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Tuesday"
msgstr "Dienstag"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Wednesday"
msgstr "Mittwoch"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Thursday"
msgstr "Donnerstag"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Friday"
msgstr "Freitag"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Saturday"
msgstr "Samstag"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Sunday"
msgstr "Sonntag"
msgctxt "field:cashbook.planner,monthday:"
msgid "Day of month"
msgstr "Tag des Monats"
msgctxt "help:cashbook.planner,monthday:"
msgid "If you want the rule to run on a specific day of the month, select the day here."
msgstr "Wenn die Regel an einem bestimmten Tag im Monat ausgeführt soll, wählen Siehier den Tag."
msgctxt "field:cashbook.planner,interval:"
msgid "Interval"
msgstr "Intervall"
msgctxt "help:cashbook.planner,interval:"
msgid "Select an interval to run the rule on every n-th date."
msgstr "Wählen Sie einen Intervall um die Regel an jedem n-ten Datum auszuführen."
msgctxt "field:cashbook.planner,nextdates:"
msgid "Next Dates"
msgstr "nächste Termine"
msgctxt "help:cashbook.planner,nextdates:"
msgid "the next 5 appointments based on the configured rule"
msgstr "die nächsten 5 Termine anhand der konfigurierten Regel"
msgctxt "field:cashbook.planner,setpos:"
msgid "Occurrence"
msgstr "Ereignis"
msgctxt "help:cashbook.planner,setpos:"
msgid "For example, if you want to run the rule on the second Wednesday of the month, enter 2 here."
msgstr "Wenn Sie die Regel z.B. am zweiten Mittwoch im Monat ausführen möchten, tragen Sie hier 2 ein."
#################
# cashbook.book #

View file

@ -2,17 +2,9 @@
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "model:res.group,name:group_planner_read"
msgid "Cashbook - Scheduled Bookings (read)"
msgstr "Cashbook - Scheduled Bookings (read)"
msgctxt "model:res.group,name:group_planner_write"
msgid "Cashbook - Scheduled Bookings (write)"
msgstr "Cashbook - Scheduled Bookings (write)"
msgctxt "model:res.group,name:group_planner_admin"
msgid "Cashbook - Scheduled Bookings (admin)"
msgstr "Cashbook - Scheduled Bookings (admin)"
msgctxt "model:res.group,name:group_planner"
msgid "Cashbook - Scheduled Bookings"
msgstr "Cashbook - Scheduled Bookings"
msgctxt "model:ir.ui.menu,name:menu_planner"
msgid "Scheduled Bookings"
@ -42,3 +34,135 @@ msgctxt "model:ir.rule.group,name:rg_planner_companies"
msgid "User in companies"
msgstr "User in companies"
msgctxt "model:cashbook.planner,name:"
msgid "Scheduled Booking"
msgstr "Scheduled Booking"
msgctxt "view:cashbook.planner:"
msgid "Recurrence Rule"
msgstr "Recurrence Rule"
msgctxt "view:cashbook.planner:"
msgid "Result of the recurrence rule"
msgstr "Result of the recurrence rule"
msgctxt "field:cashbook.planner,company:"
msgid "Company"
msgstr "Company"
msgctxt "field:cashbook.planner,cashbook:"
msgid "Cashbook"
msgstr "Cashbook"
msgctxt "help:cashbook.planner,cashbook:"
msgid "Cash book for which the planned posting is to be executed."
msgstr "Cash book for which the planned posting is to be executed."
msgctxt "field:cashbook.planner,name:"
msgid "Name"
msgstr "Name"
msgctxt "field:cashbook.planner,description:"
msgid "Description"
msgstr "Description"
msgctxt "field:cashbook.planner,start_date:"
msgid "Start Date"
msgstr "Start Date"
msgctxt "field:cashbook.planner,end_date:"
msgid "End Date"
msgstr "End Date"
msgctxt "field:cashbook.planner,frequ:"
msgid "Frequency"
msgstr "Frequency"
msgctxt "selection:cashbook.planner,frequ:"
msgid "Yearly"
msgstr "Yearly"
msgctxt "selection:cashbook.planner,frequ:"
msgid "Monthly"
msgstr "Monthly"
msgctxt "selection:cashbook.planner,frequ:"
msgid "Weekly"
msgstr "Weekly"
msgctxt "selection:cashbook.planner,frequ:"
msgid "Daily"
msgstr "Daily"
msgctxt "field:cashbook.planner,weekday:"
msgid "Weekday"
msgstr "Weekday"
msgctxt "help:cashbook.planner,weekday:"
msgid "Select a day of the week if you want the rule to run on that day."
msgstr "Select a day of the week if you want the rule to run on that day."
msgctxt "selection:cashbook.planner,weekday:"
msgid "Monday"
msgstr "Monday"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Tuesday"
msgstr "Tuesday"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Wednesday"
msgstr "Wednesday"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Thursday"
msgstr "Thursday"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Friday"
msgstr "Friday"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Saturday"
msgstr "Saturday"
msgctxt "selection:cashbook.planner,weekday:"
msgid "Sunday"
msgstr "Sunday"
msgctxt "field:cashbook.planner,monthday:"
msgid "Day of month"
msgstr "Day of month"
msgctxt "help:cashbook.planner,monthday:"
msgid "If you want the rule to run on a specific day of the month, select the day here."
msgstr "If you want the rule to run on a specific day of the month, select the day here."
msgctxt "field:cashbook.planner,interval:"
msgid "Interval"
msgstr "Interval"
msgctxt "help:cashbook.planner,interval:"
msgid "Select an interval to run the rule on every n-th date."
msgstr "Select an interval to run the rule on every n-th date."
msgctxt "field:cashbook.planner,nextdates:"
msgid "Next Dates"
msgstr "Next Dates"
msgctxt "help:cashbook.planner,nextdates:"
msgid "the next 5 appointments based on the configured rule"
msgstr "the next 5 appointments based on the configured rule"
msgctxt "field:cashbook.planner,setpos:"
msgid "Occurrence"
msgstr "Occurrence"
msgctxt "help:cashbook.planner,setpos:"
msgid "For example, if you want to run the rule on the second Wednesday of the month, enter 2 here."
msgstr "For example, if you want to run the rule on the second Wednesday of the month, enter 2 here."
msgctxt "view:cashbook.book:"
msgid "Scheduled Bookings"
msgstr "Scheduled Bookings"