diff --git a/core/templates/core/user_account_detail.jinja b/core/templates/core/user_account_detail.jinja index ccf41cfb..ff9deea3 100644 --- a/core/templates/core/user_account_detail.jinja +++ b/core/templates/core/user_account_detail.jinja @@ -30,7 +30,11 @@ - {{ purchase.date|localtime|time(DATETIME_FORMAT) }} {{ purchase.counter }} - {{ purchase.seller.get_display_name() }} + {% if not purchase.seller %} + {% trans %}Deleted User{% endtrans %} + {% else %} + {{ purchase.seller.get_display_name() }} + {% endif %} {{ purchase.label }} {{ purchase.quantity }} {{ purchase.quantity * purchase.unit_price }} € diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 95a2dad7..7bfce885 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -2344,6 +2344,10 @@ msgstr "Etickets" msgid "User has no account" msgstr "L'utilisateur n'a pas de compte" +#: core/templates/core/user_account_detail.jinja +msgid "Deleted User" +msgstr "Utilisateur supprimé" + #: core/templates/core/user_account_detail.jinja #: counter/templates/counter/last_ops.jinja #: counter/templates/counter/refilling_list.jinja @@ -5515,3 +5519,6 @@ msgstr "Vous ne pouvez plus écrire de commentaires, la date est passée." #, python-format msgid "Maximum characters: %(max_length)s" msgstr "Nombre de caractères max: %(max_length)s" + +#~ msgid "There is no page in this website." +#~ msgstr "Il n'y a pas de page sur ce site web."