line, book - wf + tests

This commit is contained in:
Frederik Jaeckel 2022-08-08 14:31:42 +02:00
parent ba442b726e
commit 654e9d2ee7
25 changed files with 786 additions and 160 deletions

View file

@ -14,6 +14,32 @@ msgctxt "model:ir.message,text:msg_name_cashbook"
msgid "Cashbook"
msgstr "Kassenbuch"
msgctxt "model:ir.message,text:msg_line_wrong_state_value"
msgid "Invalid value of the field 'Status', allowed: edit, check, done."
msgstr "Ungültiger Wert des Feldes 'Status', erlaubt: edit, check, done."
msgctxt "model:ir.message,text:msg_book_wrong_state_value"
msgid "Invalid value of the field 'Status', allowed: open, closed, archive."
msgstr "Ungültiger Wert des Feldes 'Status', erlaubt: open, closed, archive."
msgctxt "model:ir.message,text:msg_book_deny_delete"
msgid "The cashbook '%(bookname)s' cannot be deleted because it contains %(booklines)s lines and is not in the status 'Archive'."
msgstr "Das Kassenbuch '%(bookname)s' kann nicht gelöscht werden, da es %(booklines)s Zeilen enthält und nicht im Status 'Archiv' ist."
msgctxt "model:ir.message,text:msg_book_deny_write"
msgid "The cash book '%(bookname)s' is '%(state_txt)s' and cannot be changed."
msgstr "Das Kassenbuch '%(bookname)s' ist '%(state_txt)s' und kann nicht geändert werden."
msgctxt "model:ir.message,text:msg_line_deny_delete1"
msgid "The cashbook line '%(linetxt)s' cannot be deleted because the Cashbook '%(bookname)s' is in state '%(bookstate)s'."
msgstr "Die Kassenbuchzeile '%(linetxt)s' kann nicht gelöscht werden, weil das Kassenbuch '%(bookname)s' im Status '%(bookstate)s' ist."
msgctxt "model:ir.message,text:msg_line_deny_delete2"
msgid "The cashbook line '%(linetxt)s' cannot be deleted, its in state '%(linestate)s'."
msgstr "Die Kassenbuchzeile '%(linetxt)s' kann nicht gelöscht werden, da sie im Status '%(linestate)s' ist."
#############
# res.group #
@ -42,15 +68,15 @@ msgctxt "model:ir.ui.menu,name:menu_config"
msgid "Configuration"
msgstr "Konfiguration"
msgctxt "model:ir.ui.menu,name:menu_accounttype"
msgid "Account Type"
msgstr "Kontotyp"
msgctxt "model:ir.ui.menu,name:menu_typeconfig"
msgid "Cashbook Type"
msgstr "Kassenbuchtyp"
msgctxt "model:ir.ui.menu,name:menu_account"
msgid "Account"
msgstr "Konto"
msgctxt "model:ir.ui.menu,name:menu_bookconfig"
msgid "Cashbook"
msgstr "Kassenbuch"
msgctxt "model:ir.ui.menu,name:menu_open_accountlines"
msgctxt "model:ir.ui.menu,name:menu_open_lines"
msgid "Open Cashbook"
msgstr "Kassenbuch öffnen"
@ -62,17 +88,13 @@ msgctxt "model:ir.action,name:act_book_view"
msgid "Account"
msgstr "Konto"
msgctxt "model:ir.action,name:act_accounttype_view"
msgid "Account Type"
msgstr "Kontotyp"
msgctxt "model:ir.action,name:act_type_view"
msgid "Cashbook Type"
msgstr "Kassenbuchtyp"
msgctxt "model:ir.action,name:act_line_view"
msgid "Account Line"
msgstr "Kontozeile"
msgctxt "model:ir.action,name:act_line_view"
msgid "Account Line"
msgstr "Kontozeile"
msgid "Cashbook Line"
msgstr "Kassenbuchzeile"
msgctxt "model:ir.action,name:act_open_chart"
msgid "Open Cashbook"
@ -94,33 +116,69 @@ msgctxt "model:ir.model.button,string:line_wfdone_button"
msgid "Done"
msgstr "Fertig"
msgctxt "model:ir.model.button,string:book_wfopen_button"
msgid "Open"
msgstr "Öffnen"
msgctxt "model:ir.model.button,string:book_wfclosed_button"
msgid "Close"
msgstr "Schliessen"
msgctxt "model:ir.model.button,string:book_wfarchive_button"
msgid "Archive"
msgstr "Archiv"
#################
# cashbook.book #
#################
msgctxt "model:cashbook.book,name:"
msgid "Account"
msgstr "Konto"
msgid "Cashbook"
msgstr "Kassenbuch"
msgctxt "field:cashbook.book,name:"
msgid "Name"
msgstr "Name"
msgctxt "field:cashbook.book,btype:"
msgid "Account Type"
msgstr "Kontotyp"
msgid "Type"
msgstr "Typ"
msgctxt "field:cashbook.book,state:"
msgid "State"
msgstr "Status"
msgctxt "selection:cashbook.book,state:"
msgid "Open"
msgstr "Geöffnet"
msgctxt "selection:cashbook.book,state:"
msgid "Closed"
msgstr "Geschlossen"
msgctxt "selection:cashbook.book,state:"
msgid "Archive"
msgstr "Archiv"
#################
# cashbook.line #
#################
msgctxt "model:cashbook.line,name:"
msgid "Account Line"
msgstr "Kontozeile"
msgid "Cashbook Line"
msgstr "Kassenbuchzeile"
msgctxt "field:cashbook.line,account:"
msgid "Account"
msgstr "Konto"
msgctxt "view:cashbook.line:"
msgid "Cashbook Line"
msgstr "Kassenbuchzeile"
msgctxt "view:cashbook.line:"
msgid "State"
msgstr "Status"
msgctxt "field:cashbook.line,cashbook:"
msgid "Cashbook"
msgstr "Kassenbuch"
msgctxt "field:cashbook.line,date:"
msgid "Date"
@ -151,8 +209,8 @@ msgstr "Fertig"
# cashbook.type #
#################
msgctxt "model:cashbook.type,name:"
msgid "Account Type"
msgstr "Kontotyp"
msgid "Cashbook Type"
msgstr "Kassenbuchtyp"
msgctxt "field:cashbook.type,name:"
msgid "Name"
@ -166,76 +224,63 @@ msgctxt "model:cashbook.type,name:atype_cash"
msgid "Cash"
msgstr "Bar"
msgctxt "model:cashbook.type,short:atype_cash"
msgid "CAS"
msgstr "CAS"
msgctxt "model:cashbook.type,name:atype_giro"
msgid "Giro"
msgstr "Giro"
msgctxt "model:cashbook.type,short:atype_giro"
msgid "GIR"
msgstr "GIR"
msgctxt "model:cashbook.type,name:atype_fixtermdep"
msgid "Fixed-term deposit"
msgstr "Festgeld"
msgctxt "model:cashbook.type,short:atype_fixtermdep"
msgid "FIX"
msgstr "FIX"
####################################
# cashbook.open_accountlines.start #
####################################
msgctxt "model:cashbook.open_accountlines.start,name:"
#############################
# cashbook.open_lines.start #
#############################
msgctxt "model:cashbook.open_lines.start,name:"
msgid "Open Cashbook"
msgstr "Kassenbuch öffnen"
msgctxt "field:cashbook.open_accountlines.start,account:"
msgid "Account"
msgstr "Konto"
msgctxt "field:cashbook.open_lines.start,cashbook:"
msgid "Cashbook"
msgstr "Kassenbuch"
msgctxt "field:cashbook.open_accountlines.start,checked:"
msgctxt "field:cashbook.open_lines.start,checked:"
msgid "Checked"
msgstr "Geprüft"
msgctxt "help:cashbook.open_accountlines.start,checked:"
msgid "Show account lines in Checked-state."
msgstr "Zeigt Kontozeilen im 'Geprüft'-Status"
msgctxt "help:cashbook.open_lines.start,checked:"
msgid "Show cashbook lines in Checked-state."
msgstr "Zeigt Kassenbuchzeilen im 'Geprüft'-Status"
msgctxt "field:cashbook.open_accountlines.start,done:"
msgctxt "field:cashbook.open_lines.start,done:"
msgid "Done"
msgstr "Fertig"
msgctxt "help:cashbook.open_accountlines.start,done:"
msgid "Show account lines in Done-state."
msgstr "Zeigt Kontozeilen im 'Fertig'-Status"
msgctxt "help:cashbook.open_lines.start,done:"
msgid "Show cashbook lines in Done-state."
msgstr "Zeigt Kassenbuchzeilen im 'Fertig'-Status"
msgctxt "field:cashbook.open_accountlines.start,date_from:"
msgctxt "field:cashbook.open_lines.start,date_from:"
msgid "Start Date"
msgstr "Beginndatum"
msgctxt "field:cashbook.open_accountlines.start,date_to:"
msgctxt "field:cashbook.open_lines.start,date_to:"
msgid "End Date"
msgstr "Endedatum"
##############################
# cashbook.open_accountlines #
##############################
msgctxt "model:cashbook.open_accountlines,name:"
#######################
# cashbook.open_lines #
#######################
msgctxt "model:cashbook.open_lines,name:"
msgid "Open Cashbook"
msgstr "Kassenbuch öffnen"
msgctxt "wizard_button:cashbook.open_accountlines,start,end:"
msgctxt "wizard_button:cashbook.open_lines,start,end:"
msgid "Cancel"
msgstr "Abbruch"
msgctxt "wizard_button:cashbook.open_accountlines,start,open_:"
msgctxt "wizard_button:cashbook.open_lines,start,open_:"
msgid "Open"
msgstr "Öffnen"
@ -247,25 +292,25 @@ msgctxt "model:cashbook.line.context,name:"
msgid "Line Context"
msgstr "Zeilenkontext"
msgctxt "field:cashbook.line.context,account:"
msgid "Account"
msgstr "Konto"
msgctxt "field:cashbook.line.context,cashbook:"
msgid "Cashbook"
msgstr "Kassenbuch"
msgctxt "field:cashbook.line.context,checked:"
msgid "Checked"
msgstr "Geprüft"
msgctxt "help:cashbook.line.context,checked:"
msgid "Show account lines in Checked-state."
msgstr "Zeigt Kontozeilen im 'Geprüft'-Status"
msgid "Show cashbook lines in Checked-state."
msgstr "Zeigt Kassenbuchzeilen im 'Geprüft'-Status"
msgctxt "field:cashbook.line.context,done:"
msgid "Done"
msgstr "Fertig"
msgctxt "help:cashbook.line.context,done:"
msgid "Show account lines in Done-state."
msgstr "Zeigt Kontozeilen im 'Fertig'-Status"
msgid "Show cashbook lines in Done-state."
msgstr "Zeigt Kassenbuchzeilen im 'Fertig'-Status"
msgctxt "field:cashbook.line.context,date_from:"
msgid "Start Date"