Fix report table heading wording

This commit is contained in:
Gabriel Augendre 2022-04-26 23:31:49 +02:00
parent 729abaefdd
commit 00cfca3438
5 changed files with 61 additions and 58 deletions

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-04-26 21:11+0200\n" "POT-Creation-Date: 2022-04-26 23:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"

View file

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-04-26 21:11+0200\n" "POT-Creation-Date: 2022-04-26 23:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-04-26 21:11+0200\n" "POT-Creation-Date: 2022-04-26 23:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -46,64 +46,64 @@ msgstr ""
msgid "updated at" msgid "updated at"
msgstr "" msgstr ""
#: purchase/models.py:37 purchase/models.py:69 #: purchase/models.py:42 purchase/models.py:83
msgid "name" msgid "name"
msgstr "" msgstr ""
#: purchase/models.py:42 purchase/models.py:152 #: purchase/models.py:47 purchase/models.py:170
msgid "payment method" msgid "payment method"
msgstr "" msgstr ""
#: purchase/models.py:43 #: purchase/models.py:48
msgid "payment methods" msgid "payment methods"
msgstr "" msgstr ""
#: purchase/models.py:70 #: purchase/models.py:84
msgid "image" msgid "image"
msgstr "" msgstr ""
#: purchase/models.py:72 #: purchase/models.py:86
msgid "unit price (cents)" msgid "unit price (cents)"
msgstr "" msgstr ""
#: purchase/models.py:72 #: purchase/models.py:86
msgid "unit price in cents" msgid "unit price in cents"
msgstr "" msgstr ""
#: purchase/models.py:75 #: purchase/models.py:89
msgid "display order" msgid "display order"
msgstr "" msgstr ""
#: purchase/models.py:82 purchase/models.py:180 #: purchase/models.py:96 purchase/models.py:198
msgid "product" msgid "product"
msgstr "" msgstr ""
#: purchase/models.py:83 #: purchase/models.py:97
msgid "products" msgid "products"
msgstr "" msgstr ""
#: purchase/models.py:158 purchase/models.py:186 #: purchase/models.py:176 purchase/models.py:204
msgid "basket" msgid "basket"
msgstr "" msgstr ""
#: purchase/models.py:159 #: purchase/models.py:177
msgid "baskets" msgid "baskets"
msgstr "" msgstr ""
#: purchase/models.py:162 #: purchase/models.py:180
#, python-format #, python-format
msgid "Basket #%(id)s" msgid "Basket #%(id)s"
msgstr "" msgstr ""
#: purchase/models.py:188 #: purchase/models.py:206
msgid "quantity" msgid "quantity"
msgstr "" msgstr ""
#: purchase/models.py:193 #: purchase/models.py:211
msgid "basket item" msgid "basket item"
msgstr "" msgstr ""
#: purchase/models.py:194 #: purchase/models.py:212
msgid "basket items" msgid "basket items"
msgstr "" msgstr ""
@ -140,50 +140,50 @@ msgid_plural "%(counter)s items"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
#: purchase/templates/purchase/reports.html:6 #: purchase/templates/purchase/reports.html:11
msgid "Reports" msgid "Reports"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:7 #: purchase/templates/purchase/reports.html:12
msgid "General" msgid "General"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:9 #: purchase/templates/purchase/reports.html:14
msgid "Total turnover:" msgid "Total turnover:"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:10 #: purchase/templates/purchase/reports.html:15
msgid "Average basket:" msgid "Average basket:"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:13 #: purchase/templates/purchase/reports.html:18
msgid "By day" msgid "By day"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:14 #: purchase/templates/purchase/reports.html:19
#: purchase/templates/purchase/snippets/report_payment_methods.html:8 #: purchase/templates/purchase/snippets/report_payment_methods.html:8
#: purchase/templates/purchase/snippets/report_products.html:8 #: purchase/templates/purchase/snippets/report_products.html:8
msgid "Turnover" msgid "Turnover"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:20 #: purchase/templates/purchase/reports.html:25
msgid "Average basket" msgid "Average basket"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:29 #: purchase/templates/purchase/reports.html:34
msgid "Products" msgid "Products"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:33 #: purchase/templates/purchase/reports.html:38
msgid "Turnover by payment method" msgid "Turnover by payment method"
msgstr "" msgstr ""
#: purchase/templates/purchase/reports.html:36 #: purchase/templates/purchase/reports.html:41
msgid "Baskets without payment method" msgid "Baskets without payment method"
msgstr "" msgstr ""
#: purchase/templates/purchase/snippets/report_no_payment_method.html:6 #: purchase/templates/purchase/snippets/report_no_payment_method.html:6
msgid "Basket ID" msgid "Basket"
msgstr "" msgstr ""
#: purchase/templates/purchase/snippets/report_no_payment_method.html:7 #: purchase/templates/purchase/snippets/report_no_payment_method.html:7

View file

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-04-26 21:11+0200\n" "POT-Creation-Date: 2022-04-26 23:30+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -43,64 +43,64 @@ msgstr "créé à"
msgid "updated at" msgid "updated at"
msgstr "mis à jour à" msgstr "mis à jour à"
#: purchase/models.py:37 purchase/models.py:69 #: purchase/models.py:42 purchase/models.py:83
msgid "name" msgid "name"
msgstr "nom" msgstr "nom"
#: purchase/models.py:42 purchase/models.py:152 #: purchase/models.py:47 purchase/models.py:170
msgid "payment method" msgid "payment method"
msgstr "moyen de paiement" msgstr "moyen de paiement"
#: purchase/models.py:43 #: purchase/models.py:48
msgid "payment methods" msgid "payment methods"
msgstr "moyens de paiement" msgstr "moyens de paiement"
#: purchase/models.py:70 #: purchase/models.py:84
msgid "image" msgid "image"
msgstr "image" msgstr "image"
#: purchase/models.py:72 #: purchase/models.py:86
msgid "unit price (cents)" msgid "unit price (cents)"
msgstr "prix unitaire (centimes)" msgstr "prix unitaire (centimes)"
#: purchase/models.py:72 #: purchase/models.py:86
msgid "unit price in cents" msgid "unit price in cents"
msgstr "prix unitaire en centimes" msgstr "prix unitaire en centimes"
#: purchase/models.py:75 #: purchase/models.py:89
msgid "display order" msgid "display order"
msgstr "ordre d'affichage" msgstr "ordre d'affichage"
#: purchase/models.py:82 purchase/models.py:180 #: purchase/models.py:96 purchase/models.py:198
msgid "product" msgid "product"
msgstr "produit" msgstr "produit"
#: purchase/models.py:83 #: purchase/models.py:97
msgid "products" msgid "products"
msgstr "produits" msgstr "produits"
#: purchase/models.py:158 purchase/models.py:186 #: purchase/models.py:176 purchase/models.py:204
msgid "basket" msgid "basket"
msgstr "panier" msgstr "panier"
#: purchase/models.py:159 #: purchase/models.py:177
msgid "baskets" msgid "baskets"
msgstr "paniers" msgstr "paniers"
#: purchase/models.py:162 #: purchase/models.py:180
#, python-format #, python-format
msgid "Basket #%(id)s" msgid "Basket #%(id)s"
msgstr "Panier n°%(id)s" msgstr "Panier n°%(id)s"
#: purchase/models.py:188 #: purchase/models.py:206
msgid "quantity" msgid "quantity"
msgstr "quantité" msgstr "quantité"
#: purchase/models.py:193 #: purchase/models.py:211
msgid "basket item" msgid "basket item"
msgstr "article de panier" msgstr "article de panier"
#: purchase/models.py:194 #: purchase/models.py:212
msgid "basket items" msgid "basket items"
msgstr "articles de panier" msgstr "articles de panier"
@ -137,51 +137,51 @@ msgid_plural "%(counter)s items"
msgstr[0] "1 article" msgstr[0] "1 article"
msgstr[1] "%(counter)s articles" msgstr[1] "%(counter)s articles"
#: purchase/templates/purchase/reports.html:6 #: purchase/templates/purchase/reports.html:11
msgid "Reports" msgid "Reports"
msgstr "Rapports" msgstr "Rapports"
#: purchase/templates/purchase/reports.html:7 #: purchase/templates/purchase/reports.html:12
msgid "General" msgid "General"
msgstr "Général" msgstr "Général"
#: purchase/templates/purchase/reports.html:9 #: purchase/templates/purchase/reports.html:14
msgid "Total turnover:" msgid "Total turnover:"
msgstr "Chiffre d'affaires total :" msgstr "Chiffre d'affaires total :"
#: purchase/templates/purchase/reports.html:10 #: purchase/templates/purchase/reports.html:15
msgid "Average basket:" msgid "Average basket:"
msgstr "Panier moyen :" msgstr "Panier moyen :"
#: purchase/templates/purchase/reports.html:13 #: purchase/templates/purchase/reports.html:18
msgid "By day" msgid "By day"
msgstr "Par jour" msgstr "Par jour"
#: purchase/templates/purchase/reports.html:14 #: purchase/templates/purchase/reports.html:19
#: purchase/templates/purchase/snippets/report_payment_methods.html:8 #: purchase/templates/purchase/snippets/report_payment_methods.html:8
#: purchase/templates/purchase/snippets/report_products.html:8 #: purchase/templates/purchase/snippets/report_products.html:8
msgid "Turnover" msgid "Turnover"
msgstr "Chiffre d'affaires" msgstr "Chiffre d'affaires"
#: purchase/templates/purchase/reports.html:20 #: purchase/templates/purchase/reports.html:25
msgid "Average basket" msgid "Average basket"
msgstr "Panier moyen" msgstr "Panier moyen"
#: purchase/templates/purchase/reports.html:29 #: purchase/templates/purchase/reports.html:34
msgid "Products" msgid "Products"
msgstr "Produits" msgstr "Produits"
#: purchase/templates/purchase/reports.html:33 #: purchase/templates/purchase/reports.html:38
msgid "Turnover by payment method" msgid "Turnover by payment method"
msgstr "Chiffre d'affaires par moyen de paiement" msgstr "Chiffre d'affaires par moyen de paiement"
#: purchase/templates/purchase/reports.html:36 #: purchase/templates/purchase/reports.html:41
msgid "Baskets without payment method" msgid "Baskets without payment method"
msgstr "Paniers sans moyen de paiement" msgstr "Paniers sans moyen de paiement"
#: purchase/templates/purchase/snippets/report_no_payment_method.html:6 #: purchase/templates/purchase/snippets/report_no_payment_method.html:6
msgid "Basket ID" msgid "Basket"
msgstr "Id de panier" msgstr "Panier"
#: purchase/templates/purchase/snippets/report_no_payment_method.html:7 #: purchase/templates/purchase/snippets/report_no_payment_method.html:7
msgid "Price" msgid "Price"
@ -231,3 +231,6 @@ msgstr "Nombre de paniers par heure"
#: purchase/views/reports.py:118 #: purchase/views/reports.py:118
msgid "Turnover by hour" msgid "Turnover by hour"
msgstr "Chiffre d'affaires par heure" msgstr "Chiffre d'affaires par heure"
#~ msgid "Basket ID"
#~ msgstr "Id de panier"

View file

@ -3,7 +3,7 @@
<table class="table table-hover table-sm"> <table class="table table-hover table-sm">
<thead><tr> <thead><tr>
<th scope="col">{% translate "Basket ID" %}</th> <th scope="col">{% translate "Basket" %}</th>
<th scope="col">{% translate "Price" %}</th> <th scope="col">{% translate "Price" %}</th>
</tr></thead> </tr></thead>
<tbody> <tbody>