Skip to content

Commit

Permalink
add trad on model
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Sep 3, 2024
1 parent 7ebb7eb commit 67b053d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lacommunaute/partner/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down
Binary file modified locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
3 changes: 3 additions & 0 deletions locale/fr/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 67b053d

Please sign in to comment.