From 1ba5096092b8d3fbc13616c250ecddadd0f74f31 Mon Sep 17 00:00:00 2001 From: imperosol Date: Tue, 17 Dec 2024 13:02:39 +0100 Subject: [PATCH] Add translations --- .../bundled/counter/product-type-index.ts | 2 +- locale/fr/LC_MESSAGES/django.po | 61 +++++++++++-------- locale/fr/LC_MESSAGES/djangojs.po | 10 +-- 3 files changed, 43 insertions(+), 30 deletions(-) diff --git a/counter/static/bundled/counter/product-type-index.ts b/counter/static/bundled/counter/product-type-index.ts index 4d1bdda4f..f200e9b24 100644 --- a/counter/static/bundled/counter/product-type-index.ts +++ b/counter/static/bundled/counter/product-type-index.ts @@ -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( diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index ae6ed43ad..682c36911 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -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" @@ -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" @@ -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 @@ -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" @@ -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" @@ -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 @@ -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" @@ -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 " @@ -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" diff --git a/locale/fr/LC_MESSAGES/djangojs.po b/locale/fr/LC_MESSAGES/djangojs.po index 43d19dbdb..26ff64c39 100644 --- a/locale/fr/LC_MESSAGES/djangojs.po +++ b/locale/fr/LC_MESSAGES/djangojs.po @@ -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 \n" "Language-Team: AE info \n" @@ -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"