diff --git a/lacommunaute/partner/models.py b/lacommunaute/partner/models.py index e1239b91..32af30a9 100644 --- a/lacommunaute/partner/models.py +++ b/lacommunaute/partner/models.py @@ -3,6 +3,7 @@ from django.urls import reverse from django.utils.encoding import force_str from django.utils.text import slugify +from django.utils.translation import gettext_lazy as _ from machina.models.abstract_models import DatedModel from machina.models.fields import MarkupTextField from storages.backends.s3boto3 import S3Boto3Storage @@ -28,8 +29,8 @@ class Partner(DatedModel): objects = models.Manager() class Meta: - verbose_name = "Parner" - verbose_name_plural = "Partners" + verbose_name = _("Partner") + verbose_name_plural = _("Partners") ordering = ["-created"] def __str__(self): diff --git a/locale/fr/LC_MESSAGES/django.mo b/locale/fr/LC_MESSAGES/django.mo index 874cd60c..5fcd6eb8 100644 Binary files a/locale/fr/LC_MESSAGES/django.mo and b/locale/fr/LC_MESSAGES/django.mo differ diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 4b9aee3b..dd487641 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -1033,5 +1033,8 @@ msgstr "Dès que possible" msgid "The following day" msgstr "Le jour suivant" +msgid "Partner" +msgstr "Partenaire" + msgid "Partners" msgstr "Nos partenaires"