diff --git a/counter/templates/counter/formula_list.jinja b/counter/templates/counter/formula_list.jinja index dab19302..d6563e76 100644 --- a/counter/templates/counter/formula_list.jinja +++ b/counter/templates/counter/formula_list.jinja @@ -13,23 +13,66 @@

{% trans %}Product formulas{% endtrans %}

+ {%- trans trimmed -%} + Formulas allow you to associate a group of products + with a result product (the formula itself). + {%- endtrans -%} +

+

+ {%- trans trimmed -%} + If the product of a formula is available on a counter, + it will be automatically applied if all the products that + make it up are added to the basket. + {%- endtrans -%} +

+

+ {%- trans trimmed -%} + For example, if there is a formula that combines a "Sandwich Formula" product + with the "Sandwich" and "Soft Drink" products, + then, if a person orders a sandwich and a soft drink, + the formula will be applied and the basket will then contain a sandwich formula instead. + {%- endtrans -%} +

+

{% trans %}New formula{% endtrans %}

- - +
{% endblock %} diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 6f8bd246..c594b166 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -3589,10 +3589,44 @@ msgstr "Il n'y a pas de eticket sur ce site web." msgid "Product formulas" msgstr "Formules de produits" +#: counter/templates/counter/formula_list.jinja +msgid "" +"Formulas allow you to associate a group of products with a result product " +"(the formula itself)." +msgstr "" +"Les formules permettent d'associer un groupe de produits à un produit " +"résultat (la formule en elle-même)." + +#: counter/templates/counter/formula_list.jinja +msgid "" +"If the product of a formula is available on a counter, it will be " +"automatically applied if all the products that make it up are added to the " +"basket." +msgstr "" +"Si le produit d'une formule est disponible sur un comptoir, celle-ci sera " +"automatiquement appliquée si tous les produits qui la constituent sont " +"ajoutés au panier." + +#: counter/templates/counter/formula_list.jinja +msgid "" +"For example, if there is a formula that combines a \"Sandwich Formula\" " +"product with the \"Sandwich\" and \"Soft Drink\" products, then, if a person " +"orders a sandwich and a soft drink, the formula will be applied and the " +"basket will then contain a sandwich formula instead." +msgstr "" +"Par exemple s'il existe une formule associant un produit « Formule " +"sandwich » aux produits « Sandwich » et « Soft », alors, si une personne " +"commande un sandwich et un soft, la formule sera appliquée et le panier " +"contiendra alors une formule sandwich à la place." + #: counter/templates/counter/formula_list.jinja msgid "New formula" msgstr "Nouvelle formule" +#: counter/templates/counter/formula_list.jinja +msgid "instead of" +msgstr "au lieu de" + #: counter/templates/counter/fragments/create_student_card.jinja msgid "No student card registered." msgstr "Aucune carte étudiante enregistrée."