From 456d97225eb018c09aab030cc2760d3949f82280 Mon Sep 17 00:00:00 2001
From: emy
- {{ "{:.2f}".format(recurring_sum / 100) }}€ par mois
+ {{ currency.amount("{:.2f}".format(recurring_sum / 100)) }} par mois
via {{ domain }}
({{ recurring_count }} donateurice{{ "s" if recurring_count != 1 else "" }})
- {{ "{:.2f}".format(patreon_sum / 100) }}€ par mois
+ {{ currency.amount("{:.2f}".format(patreon_sum / 100)) }} par mois
via
- {{ "{:.2f}".format(lp_sum / 100) }}€ par mois
+ {{ currency.amount("{:.2f}".format(lp_sum / 100)) }} par mois
via
- {{ "{:.2f}".format(total_sum / 100)}}€ par mois
+ {{ currency.amount("{:.2f}".format(total_sum / 100))}} par mois
sur l'objectif de
- {{ "{:.2f}".format(goal / 100) }}€.
+ {{ currency.amount("{:.2f}".format(goal / 100)) }}.
- Supported with ${{ "{:.2f}".format(total_sum / 100) }}
- from {{ total_count }} supporters!
+ Soutenu par {{ total_count }} personne{{ "s" if total_count != 1 else "" }}
+ pour un montant total de {{ currency.amount("{:.2f}".format(total_sum / 100)) }}
{% endfor %}
{{ project.name }}
- {{ "{:.2f}".format(one_times(project) / 100) }}€
- {{ "{:.2f}".format(recurring(project) / 100) }}€
- {{ "{:.2f}".format(recurring_ever(project) / 100) }}€
+ {{ currency.amount("{:.2f}".format(one_times(project) / 100)) }}
+ {{ currency.amount("{:.2f}".format(recurring(project) / 100)) }}
+ {{ currency.amount("{:.2f}".format(recurring_ever(project) / 100)) }}
(non précisé)
- {{ "{:.2f}".format(unspecified_one_times / 100) }}€
- {{ "{:.2f}".format(unspecified_recurring / 100) }}€
- {{ "{:.2f}".format(unspecified_recurring_ever / 100) }}€
+ {{ currency.amount("{:.2f}".format(unspecified_one_times / 100)) }}
+ {{ currency.amount("{:.2f}".format(unspecified_recurring / 100)) }}
+ {{ currency.amount("{:.2f}".format(unspecified_recurring_ever / 100)) }}
@@ -117,7 +117,7 @@
Total
- {{ "{:.2f}".format(total_one_time / 100) }}€
- {{ "{:.2f}".format(total_recurring / 100) }}€
- {{ "{:.2f}".format(total_recurring_ever / 100) }}€
+ {{ currency.amount("{:.2f}".format(total_one_time / 100)) }}
+ {{ currency.amount("{:.2f}".format(total_recurring / 100)) }}
+ {{ currency.amount("{:.2f}".format(total_recurring_ever / 100)) }}
{{ donation.user.email }}
{{ donation.project.name if donation.project else "" }}
{{ donation.comment if donation.comment else "" }}
- {{ "{:.2f}".format(donation.amount / 100) }}€
+ {{ currency.amount("{:.2f}".format(donation.amount / 100)) }}
{{ "Unique" if str(donation.type) == "DonationType.one_time" else "Mensuel" }}
{{ "(cancelled)" if not donation.active else "" }}
diff --git a/contrib/fr/overrides/goal.html b/contrib/fr/overrides/goal.html
index bd464fb..deed792 100644
--- a/contrib/fr/overrides/goal.html
+++ b/contrib/fr/overrides/goal.html
@@ -23,21 +23,21 @@
class="progress-bar progress-bar-primary"
style="width: {{ recurring_progress * 100 }}%; line-height: 2.5"
>
- {{ "{:.0f}".format(recurring_sum / 100) }}€
+ {{ currency.amount("{:.0f}".format(recurring_sum / 100)) }}
{% endif %}
@@ -47,13 +47,13 @@
{{ donation.created.strftime("%d-%m-%Y") }}
- {{ "{:.2f}".format(donation.amount / 100) }}€
+ {{ currency.amount("{:.2f}".format(donation.amount / 100)) }}
{{ donation.project.name if donation.project else "Non précisé" }}
{% endfor %}
@@ -51,7 +51,7 @@
{% for donation in one_times(user) %}
{% endfor %}
diff --git a/templates/goal.html b/templates/goal.html
index b98c514..e433617 100644
--- a/templates/goal.html
+++ b/templates/goal.html
@@ -83,7 +83,7 @@
{{ donation.created.strftime("%d-%m-%Y") }}
- {{ "{:.2f}".format(donation.amount / 100) }}€
+ {{ currency.amount("{:.2f}".format(donation.amount / 100)) }}
{{ donation.project.name if donation.project else "Non précisé" }}
- Supported with ${{ currency.amount("{:.2f}".format(total_sum / 100)) }} + Supported with {{ currency.amount("{:.2f}".format(total_sum / 100)) }} from {{ total_count }} supporters!
{% endif %} diff --git a/templates/index.html b/templates/index.html index 20882fd..e843931 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,6 +15,8 @@ const i18n = { "Submitting...": "Submitting...", "Donate": "Donate" }; +// End of translation of index.js + const currency = "{{ _cfg("currency") }}"; {% if user %}