Skip to content

Commit

Permalink
fix: french translation + variable quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
l4rm4nd committed Oct 30, 2024
1 parent 4675998 commit 31618ac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
Binary file modified locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
11 changes: 6 additions & 5 deletions locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# FR Translation for VoucherVault
# PixPaws, 2024.
#
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -3691,7 +3692,7 @@ msgid "loyaltycard"
msgstr "Carte de fidélité"

msgid "voucher"
msgstr "Bon d'achat"
msgstr "Bon"

msgid "coupon"
msgstr "Coupon"
Expand All @@ -3700,4 +3701,4 @@ msgid "Value"
msgstr "Valeur"

msgid "Threshold"
msgstr "Seuil"
msgstr "Seuil"
8 changes: 4 additions & 4 deletions myapp/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ <h5 class="card-title">{% trans "Item Distribution" %} <span>| {% 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) {
Expand Down

0 comments on commit 31618ac

Please sign in to comment.