Skip to content

Commit

Permalink
Translation: Add failing checks to Tools menu
Browse files Browse the repository at this point in the history
Also consolidate ordering with others.

Fixes #5317
  • Loading branch information
nijel committed Feb 2, 2021
1 parent c4fe72d commit b90675a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions weblate/templates/translation.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,17 @@
{% trans "Tools" %} <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="{% url 'data_project' project=object.component.project.slug %}">{% trans "Data exports" %}</a></li>
{% if autoform %}
<li><a href="#auto" data-toggle="tab">{% trans "Automatic translation" %}</a></li>
{% endif %}
{% if replace_form %}
<li><a href="#replace" data-toggle="tab">{% trans "Search and replace" %}</a></li>
{% endif %}
{% if bulk_state_form %}
<li><a href="#bulk-edit" data-toggle="tab">{% trans "Bulk edit" %}</a></li>
{% endif %}
{% if autoform %}
<li><a href="#auto" data-toggle="tab">{% trans "Automatic translation" %}</a></li>
{% endif %}
<li><a href="{% url 'data_project' project=object.component.project.slug %}">{% trans "Data exports" %}</a></li>
<li><a href="{% url 'checks' %}?project={{ object.component.project.slug}}&amp;component={{ object.component.slug }}&amp;language={{ object.language.code }}">{% trans "Failing checks" %}</a></li>
{% if user_can_add_unit %}
<li><a href="#new" data-toggle="tab">{% trans "Add new translation string" %}</a></li>
{% endif %}
Expand Down

0 comments on commit b90675a

Please sign in to comment.