Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
imperosol committed Dec 18, 2024
1 parent d574c58 commit 1ba5096
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 30 deletions.
2 changes: 1 addition & 1 deletion counter/static/bundled/counter/product-type-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ document.addEventListener("alpine:init", () => {
openAlertMessage(response: Response) {
if (response.ok) {
this.alertMessage.success = true;
this.alertMessage.content = gettext("Products types successfully reordered");
this.alertMessage.content = gettext("Products types reordered!");
} else {
this.alertMessage.success = false;
this.alertMessage.content = interpolate(
Expand Down
61 changes: 37 additions & 24 deletions locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ msgstr "Comptoir"
msgid "Products"
msgstr "Produits"

#: club/forms.py:168 counter/views/mixins.py:99
#: club/forms.py:168 counter/templates/counter/product_list.jinja:37
msgid "Archived products"
msgstr "Produits archivés"

Expand Down Expand Up @@ -1192,6 +1192,7 @@ msgid "Show"
msgstr "Montrer"

#: club/templates/club/club_sellings.jinja:38
#: counter/templates/counter/product_list.jinja:59
msgid "Download as cvs"
msgstr "Télécharger en CSV"

Expand Down Expand Up @@ -2520,7 +2521,7 @@ msgstr "Photos"
#: core/templates/core/base/navbar.jinja:22 counter/models.py:491
#: counter/templates/counter/counter_list.jinja:11
#: eboutic/templates/eboutic/eboutic_main.jinja:4
#: eboutic/templates/eboutic/eboutic_main.jinja:22
#: eboutic/templates/eboutic/eboutic_main.jinja:23
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:16
#: eboutic/templates/eboutic/eboutic_payment_result.jinja:4
#: sith/settings.py:422 sith/settings.py:430
Expand Down Expand Up @@ -3063,7 +3064,7 @@ msgid "Eboutic invoices"
msgstr "Facture eboutic"

#: core/templates/core/user_account.jinja:54
#: core/templates/core/user_tools.jinja:58 counter/views/mixins.py:119
#: core/templates/core/user_tools.jinja:58 counter/views/mixins.py:114
msgid "Etickets"
msgstr "Etickets"

Expand Down Expand Up @@ -3414,12 +3415,12 @@ msgstr "Gestion des types de produit"

#: core/templates/core/user_tools.jinja:56
#: counter/templates/counter/cash_summary_list.jinja:23
#: counter/views/mixins.py:109
#: counter/views/mixins.py:104
msgid "Cash register summaries"
msgstr "Relevés de caisse"

#: core/templates/core/user_tools.jinja:57
#: counter/templates/counter/invoices_call.jinja:4 counter/views/mixins.py:114
#: counter/templates/counter/invoices_call.jinja:4 counter/views/mixins.py:109
msgid "Invoices call"
msgstr "Appels à facture"

Expand Down Expand Up @@ -4196,22 +4197,34 @@ msgstr ""
"votre cotisation. Si vous ne renouvelez pas votre cotisation, il n'y aura "
"aucune conséquence autre que le retrait de l'argent de votre compte."

#: counter/templates/counter/product_list.jinja:4
#: counter/templates/counter/product_list.jinja:11
#: counter/templates/counter/product_list.jinja:5
#: counter/templates/counter/product_list.jinja:46
msgid "Product list"
msgstr "Liste des produits"

#: counter/templates/counter/product_list.jinja:9
msgid "New product"
msgstr "Nouveau produit"
#: counter/templates/counter/product_list.jinja:20
msgid "Filter products"
msgstr "Filtrer les produits"

#: counter/templates/counter/product_list.jinja:13
msgid "Uncategorized"
msgstr "Sans catégorie"
#: counter/templates/counter/product_list.jinja:22
msgid "Product name"
msgstr "Nom du produit"

#: counter/templates/counter/product_list.jinja:20
msgid "There is no products in this website."
msgstr "Il n'y a pas de produits dans ce site web."
#: counter/templates/counter/product_list.jinja:33
#, fuzzy
#| msgid "Archived products"
msgid "Active products"
msgstr "Produits archivés"

#: counter/templates/counter/product_list.jinja:41
#, fuzzy
#| msgid "products"
msgid "All products"
msgstr "produits"

#: counter/templates/counter/product_list.jinja:51
msgid "New product"
msgstr "Nouveau produit"

#: counter/templates/counter/product_type_list.jinja:4
#: counter/templates/counter/product_type_list.jinja:42
Expand Down Expand Up @@ -4373,7 +4386,7 @@ msgstr "Dernières opérations"
msgid "Counter administration"
msgstr "Administration des comptoirs"

#: counter/views/mixins.py:104
#: counter/views/mixins.py:99
msgid "Product types"
msgstr "Types de produit"

Expand Down Expand Up @@ -4419,26 +4432,26 @@ msgstr "id du type du produit"
msgid "basket"
msgstr "panier"

#: eboutic/templates/eboutic/eboutic_main.jinja:39
#: eboutic/templates/eboutic/eboutic_main.jinja:40
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:44
msgid "Current account amount: "
msgstr "Solde actuel : "

#: eboutic/templates/eboutic/eboutic_main.jinja:58
#: eboutic/templates/eboutic/eboutic_main.jinja:59
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:40
msgid "Basket amount: "
msgstr "Valeur du panier : "

#: eboutic/templates/eboutic/eboutic_main.jinja:65
#: eboutic/templates/eboutic/eboutic_main.jinja:66
msgid "Clear"
msgstr "Vider"

#: eboutic/templates/eboutic/eboutic_main.jinja:71
#: eboutic/templates/eboutic/eboutic_main.jinja:72
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:95
msgid "Validate"
msgstr "Valider"

#: eboutic/templates/eboutic/eboutic_main.jinja:80
#: eboutic/templates/eboutic/eboutic_main.jinja:81
msgid ""
"You have not filled in your date of birth. As a result, you may not have "
"access to all the products in the online shop. To fill in your date of "
Expand All @@ -4449,11 +4462,11 @@ msgstr ""
"boutique en ligne. Pour remplir votre date de naissance, vous pouvez aller "
"sur"

#: eboutic/templates/eboutic/eboutic_main.jinja:82
#: eboutic/templates/eboutic/eboutic_main.jinja:83
msgid "this page"
msgstr "cette page"

#: eboutic/templates/eboutic/eboutic_main.jinja:128
#: eboutic/templates/eboutic/eboutic_main.jinja:132
msgid "There are no items available for sale"
msgstr "Aucun article n'est disponible à la vente"

Expand Down
10 changes: 5 additions & 5 deletions locale/fr/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-12-17 00:46+0100\n"
"POT-Creation-Date: 2024-12-18 16:26+0100\n"
"PO-Revision-Date: 2024-09-17 11:54+0200\n"
"Last-Translator: Sli <[email protected]>\n"
"Language-Team: AE info <[email protected]>\n"
Expand Down Expand Up @@ -146,19 +146,19 @@ msgstr "prix de vente"
msgid "archived"
msgstr "archivé"

#: counter/static/bundled/counter/product-list-index.ts:114
#: counter/static/bundled/counter/product-list-index.ts:116
msgid "Uncategorized"
msgstr "Sans catégorie"

#: counter/static/bundled/counter/product-list-index.ts:132
#: counter/static/bundled/counter/product-list-index.ts:134
msgid "products.csv"
msgstr "produits.csv"

#: counter/static/bundled/counter/product-type-index.ts:36
#: counter/static/bundled/counter/product-type-index.ts:46
msgid "Products types reordered!"
msgstr "Types de produits réordonnés !"

#: counter/static/bundled/counter/product-type-index.ts:40
#: counter/static/bundled/counter/product-type-index.ts:50
#, javascript-format
msgid "Product type reorganisation failed with status code : %d"
msgstr "La réorganisation des types de produit a échoué avec le code : %d"
Expand Down

0 comments on commit 1ba5096

Please sign in to comment.