1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

translation

This commit is contained in:
quark
2025-02-25 13:52:40 +01:00
parent 30d27459dd
commit b17d31e8ee
4 changed files with 501 additions and 292 deletions

View File

@ -64,6 +64,7 @@ class WrappedTable(tables.Table):
)
share = tables.Column(
verbose_name=_("Share"),
accessor="pk",
orderable=False,
attrs={

View File

@ -22,9 +22,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
let cre = Boolean({{ big_creancier | safe }});
let d1 = document.getElementById("consumer");
let d2 = document.getElementById("creditor");
if (con) { d1.textContent = {{ big_consumer | safe }}[0] + " with " + {{ big_consumer | safe}}[1] + "€";}
if (con) { d1.textContent = {{ big_consumer | safe }}[0] + " " + gettext("with") + " " + {{ big_consumer | safe}}[1] + "€";}
else { d1.textContent = gettext("Infortunately, you doesn't have consumer this year");};
if (cre) { d2.textContent = {{ big_creancier | safe}}[0] + " with " + {{ big_creancier | safe}}[1] + "€";}
if (cre) { d2.textContent = {{ big_creancier | safe}}[0] + " " + gettext("with") + " " + {{ big_creancier | safe}}[1] + "€";}
else { d2.textContent = gettext("Congratulations you are a real rat !"); };
</script>