diff --git a/locale/fr/LC_MESSAGES/django.mo b/locale/fr/LC_MESSAGES/django.mo index 8538e2f..d3fe5e3 100644 Binary files a/locale/fr/LC_MESSAGES/django.mo and b/locale/fr/LC_MESSAGES/django.mo differ diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index bb583a7..51cbabf 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -1,3 +1,4 @@ + # FR Translation for VoucherVault # PixPaws, 2024. # @@ -117,7 +118,7 @@ msgstr "Carte cadeau" #: myapp/templates/create-item.html:51 myapp/templates/edit-item.html:44 msgid "Voucher" -msgstr "Bon d'achat" +msgstr "Bon" #: myapp/templates/create-item.html:52 myapp/templates/edit-item.html:45 msgid "Coupon" @@ -261,7 +262,7 @@ msgstr "Mes coupons" #: myapp/templates/dashboard.html:163 msgid "My Vouchers" -msgstr "Mes bons d'achat" +msgstr "Mes bons" #: myapp/templates/dashboard.html:181 msgid "My Loyalty Cards" @@ -289,7 +290,7 @@ msgstr "Coupons" #: myapp/templates/dashboard.html:267 myapp/templates/inventory.html:26 msgid "Vouchers" -msgstr "Bons d'achat" +msgstr "Bons" #: myapp/templates/dashboard.html:268 myapp/templates/inventory.html:27 msgid "Gift Cards" @@ -3691,7 +3692,7 @@ msgid "loyaltycard" msgstr "Carte de fidélité" msgid "voucher" -msgstr "Bon d'achat" +msgstr "Bon" msgid "coupon" msgstr "Coupon" @@ -3700,4 +3701,4 @@ msgid "Value" msgstr "Valeur" msgid "Threshold" -msgstr "Seuil" \ No newline at end of file +msgstr "Seuil" diff --git a/myapp/templates/dashboard.html b/myapp/templates/dashboard.html index fa8cf01..e7d4b00 100644 --- a/myapp/templates/dashboard.html +++ b/myapp/templates/dashboard.html @@ -263,10 +263,10 @@
{% trans "Item Distribution" %} | {% trans "Total" show: false }, data: [ - { value: {{ coupons_count }}, name: '{% trans "Coupons" %}' }, - { value: {{ vouchers_count }}, name: '{% trans "Vouchers" %}' }, - { value: {{ giftcards_count }}, name: '{% trans "Gift Cards" %}' }, - { value: {{ loyaltycards_count }}, name: '{% trans "Loyalty Cards" %}' } + { value: {{ coupons_count }}, name: "{% trans "Coupons" %}" }, + { value: {{ vouchers_count }}, name: "{% trans "Vouchers" %}" }, + { value: {{ giftcards_count }}, name: "{% trans "Gift Cards" %}" }, + { value: {{ loyaltycards_count }}, name: "{% trans "Loyalty Cards" %}" } ], itemStyle: { color: function(params) {