{% load i18n l10n %}
{% trans "Voice samples for next time" %} {% if voice_reference_candidate_groups %} {% for group in voice_reference_candidate_groups %}

{% if group.contributor %} {{ group.contributor.display_name }} {% else %} {{ group.speaker_label }} {% endif %}

{% if not group.contributor %}

{% trans "Map this speaker label to one contributor before creating a voice sample." %}

{% endif %} {% for row in group.rows %} {% endfor %}
{% trans "Speaker" %} {% trans "Start" %} {% trans "End" %} {% trans "Duration" %} {% trans "Text" %} {% trans "Audition" %} {% trans "Sample" %}
{{ row.candidate.speaker_label }} {{ row.candidate.start_timestamp_label }} {{ row.candidate.end_timestamp_label }} {{ row.candidate.duration_label }} {{ row.candidate.text }} {% if transcript_audio_sources %} {% else %} {% trans "No playable audio" %} {% endif %} {% if row.duplicate_reference %} {% trans "Existing sample" %} {% elif row.contributor %}
{% csrf_token %}
{% else %} {% trans "Needs contributor mapping" %} {% endif %}
{% endfor %} {% else %}

{% trans "No source-range candidates were found for this transcript." %}

{% endif %}