diff --git a/nummi/main/locale/fr/LC_MESSAGES/django.mo b/nummi/main/locale/fr/LC_MESSAGES/django.mo index 2037b7a..9193a6d 100644 Binary files a/nummi/main/locale/fr/LC_MESSAGES/django.mo and b/nummi/main/locale/fr/LC_MESSAGES/django.mo differ diff --git a/nummi/main/locale/fr/LC_MESSAGES/django.po b/nummi/main/locale/fr/LC_MESSAGES/django.po index 65d352d..b0a0a64 100644 --- a/nummi/main/locale/fr/LC_MESSAGES/django.po +++ b/nummi/main/locale/fr/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-26 18:02+0100\n" +"POT-Creation-Date: 2022-12-26 18:10+0100\n" "PO-Revision-Date: 2022-12-21 17:30+0100\n" "Last-Translator: edpibu \n" "Language-Team: edpibu \n" @@ -91,6 +91,11 @@ msgstr "Fichier" msgid "Invoices" msgstr "Factures" +#: .\main\models.py:159 +#, python-format +msgid "%(date)s snapshot" +msgstr "Relevé du %(date)s" + #: .\main\models.py:261 .\main\templates\main\base.html:49 msgid "Snapshot" msgstr "Relevé" diff --git a/nummi/main/models.py b/nummi/main/models.py index c815532..b2bef5f 100644 --- a/nummi/main/models.py +++ b/nummi/main/models.py @@ -156,7 +156,7 @@ class Snapshot(models.Model): ) def __str__(self): - return f"{_('Snapshot')} {self.date}" + return _("%(date)s snapshot") % {"date": self.date} def save(self, *args, only_super=False, **kwargs): if not only_super: