diff --git a/djangoldp_notification/locale/en/LC_MESSAGES/django.mo b/djangoldp_notification/locale/en/LC_MESSAGES/django.mo index 526f0c40d91f0d9fefdd7e40700d3699fba9385f..12ae0f09df8eb3f442e8e080d3f79dab529f9f96 100644 Binary files a/djangoldp_notification/locale/en/LC_MESSAGES/django.mo and b/djangoldp_notification/locale/en/LC_MESSAGES/django.mo differ diff --git a/djangoldp_notification/locale/en/LC_MESSAGES/django.po b/djangoldp_notification/locale/en/LC_MESSAGES/django.po index 6465f76a4e1ed53bcaa8f14b03733606166b7e36..9b5ac7a231e14e54736425829891db17d5d4c8c6 100644 --- a/djangoldp_notification/locale/en/LC_MESSAGES/django.po +++ b/djangoldp_notification/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-04-19 18:49+0200\n" +"POT-Creation-Date: 2022-04-19 21:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -38,10 +38,14 @@ msgstr "send you a private message" msgid "t'a mentionné sur " msgstr "mentioned you on " -#: templates/email.html:7 +#: models.py:295 +msgid "Notification sur " +msgstr "Notification on " + +#: templates/email.html:8 msgid "de" msgstr "from" -#: templates/email.html:14 +#: templates/email.html:15 msgid "Ne réponds pas directement à cet e-mail, à la place rends-toi sur" msgstr "Do not answer directly to this email, instead go to" diff --git a/djangoldp_notification/locale/es/LC_MESSAGES/django.po b/djangoldp_notification/locale/es/LC_MESSAGES/django.po index 6c768cb5ed766197200255f856d160c774a6d492..14b4c95bf464081e682a1a54ce9ede199515782f 100644 --- a/djangoldp_notification/locale/es/LC_MESSAGES/django.po +++ b/djangoldp_notification/locale/es/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-04-19 18:50+0200\n" +"POT-Creation-Date: 2022-04-19 21:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -38,10 +38,14 @@ msgstr "" msgid "t'a mentionné sur " msgstr "" -#: templates/email.html:7 +#: models.py:295 +msgid "Notification sur " +msgstr "" + +#: templates/email.html:8 msgid "de" msgstr "" -#: templates/email.html:14 +#: templates/email.html:15 msgid "Ne réponds pas directement à cet e-mail, à la place rends-toi sur" msgstr "" diff --git a/djangoldp_notification/locale/fr/LC_MESSAGES/django.po b/djangoldp_notification/locale/fr/LC_MESSAGES/django.po index fda2ff9881335a147bd2b45a3de4d76c56eb765c..2840ae0c81751bdeab2b99b7cdb392bad70fa370 100644 --- a/djangoldp_notification/locale/fr/LC_MESSAGES/django.po +++ b/djangoldp_notification/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-04-19 18:50+0200\n" +"POT-Creation-Date: 2022-04-19 21:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -38,10 +38,16 @@ msgstr "t'a envoyé un message privé" msgid "t'a mentionné sur " msgstr "t'a mentionné sur " -#: templates/email.html:7 +#: models.py:295 +#, fuzzy +#| msgid "t'a mentionné sur " +msgid "Notification sur " +msgstr "t'a mentionné sur " + +#: templates/email.html:8 msgid "de" msgstr "de" -#: templates/email.html:14 +#: templates/email.html:15 msgid "Ne réponds pas directement à cet e-mail, à la place rends-toi sur" msgstr "Ne réponds pas directement à cet e-mail, à la place rends-toi sur" diff --git a/djangoldp_notification/models.py b/djangoldp_notification/models.py index 09eeb3ea34d9c62dfe1b33a3d8dbc35d445c424e..978e904d96b2f928cf92a4d4b116219fcce8e7c6 100644 --- a/djangoldp_notification/models.py +++ b/djangoldp_notification/models.py @@ -292,7 +292,7 @@ def send_email_on_notification(sender, instance, created, **kwargs): ) send_mail( - 'Notification sur ' + on, + _('Notification sur ') + on, instance.summary, email_from, [instance.user.email],