{% load i18n %} {% load translations %} {% load icons %} {% for item in glossary %} {% if "forbidden" in item.all_flags %} {% elif "read-only" in item.all_flags %} {% else %} {% endif %} {{ item.source }} {% if "forbidden" in item.all_flags %} {% icon "cancel.svg" %} {% endif %} {% format_translation item.target unit.translation.language unit.translation.plural simple=True %} {% include "snippets/glossary-badge.html" with glossary=item.translation %} {% icon "pencil.svg" %} {% if item.note %} {{ item.note }} {% endif %} {% if item != item.source_unit and item.explanation %} {{ item.explanation|markdown }} {% endif %} {% if item.source_unit.explanation %} {{ item.source_unit.explanation|markdown }} {% endif %} {% empty %} {% trans "No related strings found in the glossary." %} {% endfor %}