diff options
-rw-r--r-- | ishtar_common/forms_common.py | 4 | ||||
-rw-r--r-- | locale/fr/LC_MESSAGES/django.po | 4 |
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." |