{% load i18n %} {% if state == 'submitted' %} {% trans "submitted" %} {% elif state == 'rejected' %} {% trans "not accepted" %} {% elif state == 'accepted' %} {% trans "accepted" %} {% elif state == 'confirmed' %} {% trans "confirmed" %} {% elif state == 'canceled' %} {% trans "canceled" %} {% elif state == 'withdrawn' %} {% trans "withdrawn" %} {% elif state == 'deleted' %} {% trans "deleted" %} {% endif %}