From f8b7bd07107d5da5879a2cee487fbe108a0b9683 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Fri, 26 Feb 2021 14:18:29 +0000 Subject: [PATCH] fix: https://git.startinblox.com/applications/hubl/issues/943 --- djangoldp_notification/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/djangoldp_notification/models.py b/djangoldp_notification/models.py index 90e2fce..6a23f30 100644 --- a/djangoldp_notification/models.py +++ b/djangoldp_notification/models.py @@ -215,7 +215,7 @@ def send_email_on_notification(sender, instance, created, **kwargs): else: who = requests.get(instance.author).json()['name'] except: - who = "Personne inconnue" + who = "Quelqu'un" # get identifier for resource triggering notification, and store in where try: @@ -224,7 +224,7 @@ def send_email_on_notification(sender, instance, created, **kwargs): else: where = requests.get(instance.object).json()['name'] except: - where = "Endroit inconnu" + where = "le chat" if who == where: where = "t'a envoyé un message privé"