{% load i18n %} {% if state == "submitted" %} {{ phrases.submission.submitted }} {% elif state == "review" %} {{ phrases.submission.in_review }} {% elif state == "rejected" %} {{ phrases.submission.not_accepted }} {% elif state == "accepted" %} {% translate "accepted" %} {% elif state == "confirmed" %} {% translate "confirmed" %} {% elif state == "canceled" %} {% translate "canceled" %} {% elif state == "withdrawn" %} {% translate "withdrawn" %} {% elif state == "deleted" %} {{ phrases.submission.deleted }} {% endif %}