summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-16 12:58:39 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-16 12:58:39 +0100
commit6102c00e6f41361ae5461a7472eff7d03363fe02 (patch)
treef2fdb61dea500dbf13bc796d3274ea08ae293e92
parenta294156716daec2ec2c30cddec75be2c4eb5c0f5 (diff)
downloadIshtar-6102c00e6f41361ae5461a7472eff7d03363fe02.tar.bz2
Ishtar-6102c00e6f41361ae5461a7472eff7d03363fe02.zip
Minor: fix translation
-rw-r--r--ishtar_common/forms_common.py4
-rw-r--r--locale/fr/LC_MESSAGES/django.po4
2 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py
index 399e8a8a3..9a52915f5 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -1334,7 +1334,7 @@ class ProfilePersonForm(forms.Form):
(
f"external_source_{src.pk}",
forms.BooleanField(
- label=_(f"External source - {src.name}"),
+ label=str(_("External source - {}")).format(src.name),
required=False,
initial=initial,
),
@@ -1342,7 +1342,7 @@ class ProfilePersonForm(forms.Form):
)
self.fields[f"external_source_{src.pk}"] = forms.BooleanField(
- label=_(f"External source - {src.name}"),
+ label=str(_("External source - {}")).format(src.name),
required=False,
initial=initial,
)
diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po
index 93796f90c..8ffd46f6b 100644
--- a/locale/fr/LC_MESSAGES/django.po
+++ b/locale/fr/LC_MESSAGES/django.po
@@ -8696,8 +8696,8 @@ msgstr "Supprimer ce profil"
#: ishtar_common/forms_common.py:1337 ishtar_common/forms_common.py:1345
#, python-brace-format
-msgid "External source - {src.name}"
-msgstr "Source externe - {src.name}"
+msgid "External source - {}"
+msgstr "Source externe - {}"
#: ishtar_common/forms_common.py:1394
msgid "A profile with the same name exists."