Browse Source

Mark strings for translation in search

translation
Laouen Fernet 6 years ago
committed by chirac
parent
commit
5d4d9d71bf
  1. 2
      search/forms.py
  2. 2
      search/templates/search/index.html

2
search/forms.py

@ -34,7 +34,7 @@ CHOICES_USER = (
("1", _("Disabled")), ("1", _("Disabled")),
("2", _("Archived")), ("2", _("Archived")),
("3", _("Not yet active")), ("3", _("Not yet active")),
("4", _("Full archived")), ("4", _("Fully archived")),
) )
CHOICES_AFF = ( CHOICES_AFF = (

2
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 %} {% if not users and not machines and not factures and not whitelists and not bans and not rooms and not ports and not switches %}
<h3>{% trans "No result" %}</h3> <h3>{% trans "No result" %}</h3>
{% else %} {% else %}
<h6>{% blocktrans %}(Only the first {{ max_result }} results are displayed in each category){% endblocktrans %}</h6> <h6>{% blocktrans %}Only the first {{ max_result }} results are displayed in each category.{% endblocktrans %}</h6>
{% endif %} {% endif %}
<br /> <br />
<br /> <br />

Loading…
Cancel
Save