Added two new statistics about all users: 'order sum' visible for users having the 'view_order' permission and 'deposit sum' visible for users having the 'view_registertransaction' permission, improved the layout of the statistics page, updated translations

This commit is contained in:
Julian Müller (ChaoticByte) 2023-11-01 19:07:07 +01:00
parent 4eb2911150
commit e4acc5c101
5 changed files with 109 additions and 34 deletions

Binary file not shown.

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-04-14 23:37+0200\n"
"POT-Creation-Date: 2023-11-01 18:52+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Julian Müller (ChaoticByte)\n"
"Language: DE\n"
@ -55,7 +55,7 @@ msgstr "Bestätigen"
msgid "Drinks - History"
msgstr "Getränke - Verlauf"
#: app/templates/history.html:10 app/templates/userpanel.html:25
#: app/templates/history.html:10 app/templates/userpanel.html:23
msgid "History"
msgstr "Verlauf"
@ -165,7 +165,7 @@ msgstr "Wähle deinen Account"
msgid "Drinks - Statistics"
msgstr "Getränke - Statistiken"
#: app/templates/statistics.html:10 app/templates/userpanel.html:26
#: app/templates/statistics.html:10 app/templates/userpanel.html:24
msgid "Statistics"
msgstr "Statistiken"
@ -177,37 +177,45 @@ msgstr "Bestellungen / Getränk"
msgid "drink"
msgstr "Getränk"
#: app/templates/statistics.html:17 app/templates/statistics.html:34
#: app/templates/statistics.html:51
msgid "you"
msgstr "Du"
#: app/templates/statistics.html:18 app/templates/statistics.html:35
#: app/templates/statistics.html:52
#: app/templates/statistics.html:17 app/templates/statistics.html:36
#: app/templates/statistics.html:53
msgid "all"
msgstr "Alle"
#: app/templates/statistics.html:30
#: app/templates/statistics.html:18 app/templates/statistics.html:37
#: app/templates/statistics.html:54
msgid "you"
msgstr "Du"
#: app/templates/statistics.html:32
msgid "orders / month"
msgstr "Bestellungen / Monat"
#: app/templates/statistics.html:33
#: app/templates/statistics.html:35
msgid "month"
msgstr "Monat"
#: app/templates/statistics.html:47
#: app/templates/statistics.html:49
msgid "orders / weekday"
msgstr "Bestellungen / Wochentag"
#: app/templates/statistics.html:50
#: app/templates/statistics.html:52
msgid "day"
msgstr "Tag"
#: app/templates/statistics.html:69
msgid "order sum"
msgstr "Bestellungen"
#: app/templates/statistics.html:86
msgid "deposit sum"
msgstr "Einzahlungen"
#: app/templates/supply.html:7
msgid "Drinks - Supply"
msgstr "Getränke - Beschaffung"
#: app/templates/supply.html:14 app/templates/userpanel.html:32
#: app/templates/supply.html:14 app/templates/userpanel.html:30
msgid "Supply"
msgstr "Beschaffung"
@ -228,7 +236,6 @@ msgid "You are not allowed to view this site."
msgstr "Dir fehlt die Berechtigung, diese Seite anzuzeigen."
#: app/templates/transfer.html:6
#| msgid "Drinks - Order"
msgid "Drinks - Transfer"
msgstr "Getränke - Geld senden"
@ -248,11 +255,11 @@ msgstr "Saldo"
msgid "Logout"
msgstr "Abmelden"
#: app/templates/userpanel.html:30
#: app/templates/userpanel.html:28
msgid "Transfer"
msgstr "Geld senden"
#: app/templates/userpanel.html:34
#: app/templates/userpanel.html:32
msgid "Change Password"
msgstr "Passwort ändern"