mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-22 08:08:04 +01:00
Update translations & formatting
This commit is contained in:
parent
edc0cb5f0a
commit
3de1c13995
3 changed files with 133 additions and 124 deletions
|
@ -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-27 22:58+0200\n"
|
"POT-Creation-Date: 2023-03-27 16:54+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"
|
||||||
|
@ -18,96 +18,97 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
#: purchase/admin.py:18
|
#: purchase/admin.py:19
|
||||||
msgid "unit price"
|
msgid "unit price"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/admin.py:22
|
#: purchase/admin.py:23
|
||||||
msgid "sold"
|
msgid "sold"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/admin.py:26 purchase/admin.py:39
|
#: purchase/admin.py:27 purchase/admin.py:40
|
||||||
msgid "turnover"
|
msgid "turnover"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/admin.py:53 purchase/admin.py:70
|
#: purchase/admin.py:54 purchase/admin.py:71
|
||||||
msgid "price"
|
msgid "price"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/forms.py:23
|
#: purchase/forms.py:27
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:13
|
#: purchase/models.py:17
|
||||||
msgid "created at"
|
msgid "created at"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:14
|
#: purchase/models.py:18
|
||||||
msgid "updated at"
|
msgid "updated at"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:42 purchase/models.py:83
|
#: purchase/models.py:46 purchase/models.py:93
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:47 purchase/models.py:167
|
#: purchase/models.py:51 purchase/models.py:193
|
||||||
msgid "payment method"
|
msgid "payment method"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:48
|
#: purchase/models.py:52
|
||||||
msgid "payment methods"
|
msgid "payment methods"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:84
|
#: purchase/models.py:94
|
||||||
msgid "image"
|
msgid "image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:86 purchase/models.py:203
|
#: purchase/models.py:96 purchase/models.py:229
|
||||||
msgid "unit price (cents)"
|
msgid "unit price (cents)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:86
|
#: purchase/models.py:98
|
||||||
msgid "unit price in cents"
|
msgid ""
|
||||||
|
"Unit price in cents. Use zero to denote that the product has no fixed price."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:89
|
#: purchase/models.py:103
|
||||||
msgid "display order"
|
msgid "display order"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:96 purchase/models.py:193
|
#: purchase/models.py:110 purchase/models.py:219
|
||||||
msgid "product"
|
msgid "product"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:97
|
#: purchase/models.py:111
|
||||||
msgid "products"
|
msgid "products"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:173 purchase/models.py:199
|
#: purchase/models.py:199 purchase/models.py:225
|
||||||
msgid "basket"
|
msgid "basket"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:174
|
#: purchase/models.py:200
|
||||||
msgid "baskets"
|
msgid "baskets"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:177
|
#: purchase/models.py:203
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Basket #%(id)s"
|
msgid "Basket #%(id)s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:201
|
#: purchase/models.py:227
|
||||||
msgid "quantity"
|
msgid "quantity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:204
|
#: purchase/models.py:230
|
||||||
msgid "product's unit price in cents at the time of purchase"
|
msgid "product's unit price in cents at the time of purchase"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:210
|
#: purchase/models.py:236
|
||||||
msgid "basket item"
|
msgid "basket item"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/models.py:211
|
#: purchase/models.py:237
|
||||||
msgid "basket items"
|
msgid "basket items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -116,16 +117,17 @@ msgstr ""
|
||||||
msgid "Are you sure you want to delete \"%(basket)s\"?"
|
msgid "Are you sure you want to delete \"%(basket)s\"?"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/basket_form.html:11
|
#: purchase/templates/purchase/basket_form.html:14
|
||||||
msgid "Missing payment method."
|
msgid "Missing payment method."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/basket_form.html:14
|
#: purchase/templates/purchase/basket_form.html:17
|
||||||
|
#: purchase/templates/purchase/basket_form.html:52
|
||||||
msgid "New basket"
|
msgid "New basket"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/basket_form.html:18
|
#: purchase/templates/purchase/basket_form.html:36
|
||||||
msgid "New"
|
msgid "Add product"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/basket_list.html:5
|
#: purchase/templates/purchase/basket_list.html:5
|
||||||
|
@ -144,45 +146,45 @@ msgid_plural "%(counter)s items"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:11
|
#: purchase/templates/purchase/reports.html:9
|
||||||
msgid "Reports"
|
msgid "Reports"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:12
|
#: purchase/templates/purchase/reports.html:10
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:14
|
#: purchase/templates/purchase/reports.html:12
|
||||||
msgid "Total turnover:"
|
msgid "Total turnover:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:15
|
#: purchase/templates/purchase/reports.html:13
|
||||||
msgid "Average basket:"
|
msgid "Average basket:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:18
|
#: purchase/templates/purchase/reports.html:16
|
||||||
msgid "By day"
|
msgid "By day"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:19
|
#: purchase/templates/purchase/reports.html:17
|
||||||
#: 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:25
|
#: purchase/templates/purchase/reports.html:23
|
||||||
msgid "Average basket"
|
msgid "Average basket"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:34
|
#: purchase/templates/purchase/reports.html:32
|
||||||
msgid "Products"
|
msgid "Products"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:40
|
#: purchase/templates/purchase/reports.html:36
|
||||||
msgid "Turnover by payment method"
|
msgid "Turnover by payment method"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:43
|
#: purchase/templates/purchase/reports.html:39
|
||||||
msgid "Baskets without payment method"
|
msgid "Baskets without payment method"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -207,42 +209,42 @@ msgid "Product"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/templates/purchase/snippets/report_products.html:7
|
#: purchase/templates/purchase/snippets/report_products.html:7
|
||||||
#: purchase/views/reports.py:79 purchase/views/reports.py:93
|
#: purchase/views/reports.py:102 purchase/views/reports.py:116
|
||||||
msgid "# sold"
|
msgid "# sold"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/basket.py:15
|
#: purchase/views/basket.py:33
|
||||||
msgid "Successfully created basket."
|
msgid "Successfully created basket."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/basket.py:30
|
#: purchase/views/basket.py:70
|
||||||
msgid "Successfully updated basket."
|
msgid "Successfully updated basket."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/basket.py:45
|
#: purchase/views/basket.py:116
|
||||||
msgid "Basket successfully deleted."
|
msgid "Basket successfully deleted."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/reports.py:29
|
#: purchase/views/reports.py:64
|
||||||
msgid "No sale to report"
|
msgid "No sale to report"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/reports.py:70
|
#: purchase/views/reports.py:93
|
||||||
msgid "Sales by product"
|
msgid "Sales by product"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/reports.py:85 purchase/views/reports.py:100
|
#: purchase/views/reports.py:108 purchase/views/reports.py:123
|
||||||
msgid "Turnover by product"
|
msgid "Turnover by product"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/reports.py:122
|
#: purchase/views/reports.py:147
|
||||||
msgid "Sales by hour"
|
msgid "Sales by hour"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/reports.py:133
|
#: purchase/views/reports.py:158
|
||||||
msgid "Basket count by hour"
|
msgid "Basket count by hour"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: purchase/views/reports.py:141
|
#: purchase/views/reports.py:166
|
||||||
msgid "Turnover by hour"
|
msgid "Turnover by hour"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -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-27 22:58+0200\n"
|
"POT-Creation-Date: 2023-03-27 16:54+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"
|
||||||
|
@ -15,96 +15,97 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
#: purchase/admin.py:18
|
#: purchase/admin.py:19
|
||||||
msgid "unit price"
|
msgid "unit price"
|
||||||
msgstr "prix unitaire"
|
msgstr "prix unitaire"
|
||||||
|
|
||||||
#: purchase/admin.py:22
|
#: purchase/admin.py:23
|
||||||
msgid "sold"
|
msgid "sold"
|
||||||
msgstr "vendu"
|
msgstr "vendu"
|
||||||
|
|
||||||
#: purchase/admin.py:26 purchase/admin.py:39
|
#: purchase/admin.py:27 purchase/admin.py:40
|
||||||
msgid "turnover"
|
msgid "turnover"
|
||||||
msgstr "chiffre d'affaires"
|
msgstr "chiffre d'affaires"
|
||||||
|
|
||||||
#: purchase/admin.py:53 purchase/admin.py:70
|
#: purchase/admin.py:54 purchase/admin.py:71
|
||||||
msgid "price"
|
msgid "price"
|
||||||
msgstr "prix"
|
msgstr "prix"
|
||||||
|
|
||||||
#: purchase/forms.py:23
|
#: purchase/forms.py:27
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "Enregistrer"
|
msgstr "Enregistrer"
|
||||||
|
|
||||||
#: purchase/models.py:13
|
#: purchase/models.py:17
|
||||||
msgid "created at"
|
msgid "created at"
|
||||||
msgstr "créé à"
|
msgstr "créé à"
|
||||||
|
|
||||||
#: purchase/models.py:14
|
#: purchase/models.py:18
|
||||||
msgid "updated at"
|
msgid "updated at"
|
||||||
msgstr "mis à jour à"
|
msgstr "mis à jour à"
|
||||||
|
|
||||||
#: purchase/models.py:42 purchase/models.py:83
|
#: purchase/models.py:46 purchase/models.py:93
|
||||||
msgid "name"
|
msgid "name"
|
||||||
msgstr "nom"
|
msgstr "nom"
|
||||||
|
|
||||||
#: purchase/models.py:47 purchase/models.py:167
|
#: purchase/models.py:51 purchase/models.py:193
|
||||||
msgid "payment method"
|
msgid "payment method"
|
||||||
msgstr "moyen de paiement"
|
msgstr "moyen de paiement"
|
||||||
|
|
||||||
#: purchase/models.py:48
|
#: purchase/models.py:52
|
||||||
msgid "payment methods"
|
msgid "payment methods"
|
||||||
msgstr "moyens de paiement"
|
msgstr "moyens de paiement"
|
||||||
|
|
||||||
#: purchase/models.py:84
|
#: purchase/models.py:94
|
||||||
msgid "image"
|
msgid "image"
|
||||||
msgstr "image"
|
msgstr "image"
|
||||||
|
|
||||||
#: purchase/models.py:86 purchase/models.py:203
|
#: purchase/models.py:96 purchase/models.py:229
|
||||||
msgid "unit price (cents)"
|
msgid "unit price (cents)"
|
||||||
msgstr "prix unitaire (centimes)"
|
msgstr "prix unitaire (centimes)"
|
||||||
|
|
||||||
#: purchase/models.py:86
|
#: purchase/models.py:98
|
||||||
msgid "unit price in cents"
|
msgid ""
|
||||||
msgstr "prix unitaire en centimes"
|
"Unit price in cents. Use zero to denote that the product has no fixed price."
|
||||||
|
msgstr "Prix unitaire en centimes. Utiliser zéro pour indiquer que le produit n'a pas de prix fixe."
|
||||||
|
|
||||||
#: purchase/models.py:89
|
#: purchase/models.py:103
|
||||||
msgid "display order"
|
msgid "display order"
|
||||||
msgstr "ordre d'affichage"
|
msgstr "ordre d'affichage"
|
||||||
|
|
||||||
#: purchase/models.py:96 purchase/models.py:193
|
#: purchase/models.py:110 purchase/models.py:219
|
||||||
msgid "product"
|
msgid "product"
|
||||||
msgstr "produit"
|
msgstr "produit"
|
||||||
|
|
||||||
#: purchase/models.py:97
|
#: purchase/models.py:111
|
||||||
msgid "products"
|
msgid "products"
|
||||||
msgstr "produits"
|
msgstr "produits"
|
||||||
|
|
||||||
#: purchase/models.py:173 purchase/models.py:199
|
#: purchase/models.py:199 purchase/models.py:225
|
||||||
msgid "basket"
|
msgid "basket"
|
||||||
msgstr "panier"
|
msgstr "panier"
|
||||||
|
|
||||||
#: purchase/models.py:174
|
#: purchase/models.py:200
|
||||||
msgid "baskets"
|
msgid "baskets"
|
||||||
msgstr "paniers"
|
msgstr "paniers"
|
||||||
|
|
||||||
#: purchase/models.py:177
|
#: purchase/models.py:203
|
||||||
#, 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:201
|
#: purchase/models.py:227
|
||||||
msgid "quantity"
|
msgid "quantity"
|
||||||
msgstr "quantité"
|
msgstr "quantité"
|
||||||
|
|
||||||
#: purchase/models.py:204
|
#: purchase/models.py:230
|
||||||
msgid "product's unit price in cents at the time of purchase"
|
msgid "product's unit price in cents at the time of purchase"
|
||||||
msgstr "prix unitaire du produit en centimes au moment de l'achat"
|
msgstr "prix unitaire du produit en centimes au moment de l'achat"
|
||||||
|
|
||||||
#: purchase/models.py:210
|
#: purchase/models.py:236
|
||||||
msgid "basket item"
|
msgid "basket item"
|
||||||
msgstr "article de panier"
|
msgstr "article de panier"
|
||||||
|
|
||||||
#: purchase/models.py:211
|
#: purchase/models.py:237
|
||||||
msgid "basket items"
|
msgid "basket items"
|
||||||
msgstr "articles de panier"
|
msgstr "articles de panier"
|
||||||
|
|
||||||
|
@ -113,17 +114,18 @@ msgstr "articles de panier"
|
||||||
msgid "Are you sure you want to delete \"%(basket)s\"?"
|
msgid "Are you sure you want to delete \"%(basket)s\"?"
|
||||||
msgstr "Êtes-vous sûr de vouloir supprimer \"%(basket)s\" ?"
|
msgstr "Êtes-vous sûr de vouloir supprimer \"%(basket)s\" ?"
|
||||||
|
|
||||||
#: purchase/templates/purchase/basket_form.html:11
|
#: purchase/templates/purchase/basket_form.html:14
|
||||||
msgid "Missing payment method."
|
msgid "Missing payment method."
|
||||||
msgstr "Moyen de paiement manquant."
|
msgstr "Moyen de paiement manquant."
|
||||||
|
|
||||||
#: purchase/templates/purchase/basket_form.html:14
|
#: purchase/templates/purchase/basket_form.html:17
|
||||||
|
#: purchase/templates/purchase/basket_form.html:52
|
||||||
msgid "New basket"
|
msgid "New basket"
|
||||||
msgstr "Nouveau panier"
|
msgstr "Nouveau panier"
|
||||||
|
|
||||||
#: purchase/templates/purchase/basket_form.html:18
|
#: purchase/templates/purchase/basket_form.html:36
|
||||||
msgid "New"
|
msgid "Add product"
|
||||||
msgstr "Nouveau"
|
msgstr "Ajouter un produit"
|
||||||
|
|
||||||
#: purchase/templates/purchase/basket_list.html:5
|
#: purchase/templates/purchase/basket_list.html:5
|
||||||
msgid "Baskets"
|
msgid "Baskets"
|
||||||
|
@ -141,45 +143,45 @@ 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:11
|
#: purchase/templates/purchase/reports.html:9
|
||||||
msgid "Reports"
|
msgid "Reports"
|
||||||
msgstr "Rapports"
|
msgstr "Rapports"
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:12
|
#: purchase/templates/purchase/reports.html:10
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Général"
|
msgstr "Général"
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:14
|
#: purchase/templates/purchase/reports.html:12
|
||||||
msgid "Total turnover:"
|
msgid "Total turnover:"
|
||||||
msgstr "Chiffre d'affaires total :"
|
msgstr "Chiffre d'affaires total :"
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:15
|
#: purchase/templates/purchase/reports.html:13
|
||||||
msgid "Average basket:"
|
msgid "Average basket:"
|
||||||
msgstr "Panier moyen :"
|
msgstr "Panier moyen :"
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:18
|
#: purchase/templates/purchase/reports.html:16
|
||||||
msgid "By day"
|
msgid "By day"
|
||||||
msgstr "Par jour"
|
msgstr "Par jour"
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:19
|
#: purchase/templates/purchase/reports.html:17
|
||||||
#: 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:25
|
#: purchase/templates/purchase/reports.html:23
|
||||||
msgid "Average basket"
|
msgid "Average basket"
|
||||||
msgstr "Panier moyen"
|
msgstr "Panier moyen"
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:34
|
#: purchase/templates/purchase/reports.html:32
|
||||||
msgid "Products"
|
msgid "Products"
|
||||||
msgstr "Produits"
|
msgstr "Produits"
|
||||||
|
|
||||||
#: purchase/templates/purchase/reports.html:40
|
#: purchase/templates/purchase/reports.html:36
|
||||||
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:43
|
#: purchase/templates/purchase/reports.html:39
|
||||||
msgid "Baskets without payment method"
|
msgid "Baskets without payment method"
|
||||||
msgstr "Paniers sans moyen de paiement"
|
msgstr "Paniers sans moyen de paiement"
|
||||||
|
|
||||||
|
@ -204,45 +206,42 @@ msgid "Product"
|
||||||
msgstr "Produit"
|
msgstr "Produit"
|
||||||
|
|
||||||
#: purchase/templates/purchase/snippets/report_products.html:7
|
#: purchase/templates/purchase/snippets/report_products.html:7
|
||||||
#: purchase/views/reports.py:79 purchase/views/reports.py:93
|
#: purchase/views/reports.py:102 purchase/views/reports.py:116
|
||||||
msgid "# sold"
|
msgid "# sold"
|
||||||
msgstr "Nb. vendus"
|
msgstr "Nb. vendus"
|
||||||
|
|
||||||
#: purchase/views/basket.py:15
|
#: purchase/views/basket.py:33
|
||||||
msgid "Successfully created basket."
|
msgid "Successfully created basket."
|
||||||
msgstr "Panier correctement créé."
|
msgstr "Panier correctement créé."
|
||||||
|
|
||||||
#: purchase/views/basket.py:30
|
#: purchase/views/basket.py:70
|
||||||
msgid "Successfully updated basket."
|
msgid "Successfully updated basket."
|
||||||
msgstr "Panier correctement modifié."
|
msgstr "Panier correctement modifié."
|
||||||
|
|
||||||
#: purchase/views/basket.py:45
|
#: purchase/views/basket.py:116
|
||||||
msgid "Basket successfully deleted."
|
msgid "Basket successfully deleted."
|
||||||
msgstr "Panier correctement supprimé."
|
msgstr "Panier correctement supprimé."
|
||||||
|
|
||||||
#: purchase/views/reports.py:29
|
#: purchase/views/reports.py:64
|
||||||
msgid "No sale to report"
|
msgid "No sale to report"
|
||||||
msgstr "Aucune vente à afficher"
|
msgstr "Aucune vente à afficher"
|
||||||
|
|
||||||
#: purchase/views/reports.py:70
|
#: purchase/views/reports.py:93
|
||||||
msgid "Sales by product"
|
msgid "Sales by product"
|
||||||
msgstr "Ventes par produit"
|
msgstr "Ventes par produit"
|
||||||
|
|
||||||
#: purchase/views/reports.py:85 purchase/views/reports.py:100
|
#: purchase/views/reports.py:108 purchase/views/reports.py:123
|
||||||
msgid "Turnover by product"
|
msgid "Turnover by product"
|
||||||
msgstr "Chiffre d'affaires par produit"
|
msgstr "Chiffre d'affaires par produit"
|
||||||
|
|
||||||
#: purchase/views/reports.py:122
|
#: purchase/views/reports.py:147
|
||||||
msgid "Sales by hour"
|
msgid "Sales by hour"
|
||||||
msgstr "Ventes par heure"
|
msgstr "Ventes par heure"
|
||||||
|
|
||||||
#: purchase/views/reports.py:133
|
#: purchase/views/reports.py:158
|
||||||
msgid "Basket count by hour"
|
msgid "Basket count by hour"
|
||||||
msgstr "Nombre de paniers par heure"
|
msgstr "Nombre de paniers par heure"
|
||||||
|
|
||||||
#: purchase/views/reports.py:141
|
#: purchase/views/reports.py:166
|
||||||
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"
|
|
||||||
|
|
|
@ -17,26 +17,30 @@
|
||||||
<h1>{% translate "New basket" %}</h1>
|
<h1>{% translate "New basket" %}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% crispy form %}
|
{% crispy form %}
|
||||||
<form
|
<div class="row">
|
||||||
hx-get="{% url "purchase:additional_unpriced_product" %}"
|
<div class="col">
|
||||||
hx-target="#products"
|
<form
|
||||||
hx-swap="beforeend"
|
hx-get="{% url "purchase:additional_unpriced_product" %}"
|
||||||
>
|
hx-target="#products"
|
||||||
<div class="input-group">
|
hx-swap="beforeend"
|
||||||
<select class="form-select" name="product_to_add" id="product_to_add">
|
|
||||||
{% for product in products %}
|
|
||||||
<option value="{{ product.pk }}">{{ product.name }}</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
<button
|
|
||||||
class="btn btn-outline-secondary"
|
|
||||||
type="submit"
|
|
||||||
id="add_product"
|
|
||||||
>
|
>
|
||||||
{% translate "Add product" %}
|
<div class="input-group">
|
||||||
</button>
|
<select class="form-select" name="product_to_add" id="product_to_add">
|
||||||
|
{% for product in products %}
|
||||||
|
<option value="{{ product.pk }}">{{ product.name }}</option>
|
||||||
|
{% endfor %}
|
||||||
|
</select>
|
||||||
|
<button
|
||||||
|
class="btn btn-outline-secondary"
|
||||||
|
type="submit"
|
||||||
|
id="add_product"
|
||||||
|
>
|
||||||
|
{% translate "Add product" %}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</div>
|
||||||
{% for item in basket.items.all %}
|
{% for item in basket.items.all %}
|
||||||
{% if item.product.unit_price_cents == 0 %}
|
{% if item.product.unit_price_cents == 0 %}
|
||||||
<input
|
<input
|
||||||
|
@ -48,9 +52,13 @@
|
||||||
>
|
>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if basket %}
|
<div class="row mt-4">
|
||||||
<a href="{% url "purchase:new" %}" class="btn btn-secondary">{% translate "New" %}</a>
|
<div class="col">
|
||||||
{% endif %}
|
{% if basket %}
|
||||||
|
<a href="{% url "purchase:new" %}" class="btn btn-secondary">{% translate "New basket" %}</a>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extrascript %}
|
{% block extrascript %}
|
||||||
|
|
Loading…
Reference in a new issue