{% if comment.resolved %}
{% trans "Resolved comment" %}
{% elif comment.unit.is_source %}
{% trans "Source string comment" %}
{% else %}
{% trans "Translation comment" %}
{% endif %}
{% perm 'comment.delete' comment as user_can_delete_comment %}
{% perm 'comment.resolve' comment as user_can_resolve_comment %}
{% if user_can_delete_comment or user_can_resolve_comment %}
{% if user_can_resolve_comment and not comment.resolved %}
{% endif %}
{% if user_can_delete_comment %}
{% endif %}
{% if comment.resolved %} {% trans "Resolved comment" %} {% elif comment.unit.is_source %} {% trans "Source string comment" %} {% else %} {% trans "Translation comment" %} {% endif %}