From 5d4d9d71bfcc9c434b06a6a29c787553172da862 Mon Sep 17 00:00:00 2001 From: Laouen Fernet Date: Sat, 16 Nov 2019 14:12:54 +0000 Subject: [PATCH] Mark strings for translation in search --- search/forms.py | 2 +- search/templates/search/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/search/forms.py b/search/forms.py index 0c979458..259f739c 100644 --- a/search/forms.py +++ b/search/forms.py @@ -34,7 +34,7 @@ CHOICES_USER = ( ("1", _("Disabled")), ("2", _("Archived")), ("3", _("Not yet active")), - ("4", _("Full archived")), + ("4", _("Fully archived")), ) CHOICES_AFF = ( diff --git a/search/templates/search/index.html b/search/templates/search/index.html index 8f1174fb..e7f05a88 100644 --- a/search/templates/search/index.html +++ b/search/templates/search/index.html @@ -68,7 +68,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% if not users and not machines and not factures and not whitelists and not bans and not rooms and not ports and not switches %}

{% trans "No result" %}

{% else %} -
{% blocktrans %}(Only the first {{ max_result }} results are displayed in each category){% endblocktrans %}
+
{% blocktrans %}Only the first {{ max_result }} results are displayed in each category.{% endblocktrans %}
{% endif %}