diff --git a/evap/contributor/templates/contributor_evaluation_form.html b/evap/contributor/templates/contributor_evaluation_form.html index a96b3418e4..18c0dbc0c4 100644 --- a/evap/contributor/templates/contributor_evaluation_form.html +++ b/evap/contributor/templates/contributor_evaluation_form.html @@ -18,9 +18,9 @@
{% if editable %} - {% blocktranslate %}Please review the evaluation's details below, add all contributors and select suitable questionnaires. Once everything is okay, please approve the evaluation on the bottom of the page.{% endblocktrans %} + {% blocktranslate %}Please review the evaluation's details below, add all contributors and select suitable questionnaires. Once everything is okay, please approve the evaluation on the bottom of the page.{% endblocktranslate %} {% else %} - {% blocktranslate %}You cannot edit this evaluation because it has already been approved.{% endblocktrans %} + {% blocktranslate %}You cannot edit this evaluation because it has already been approved.{% endblocktranslate %} {% endif %}

@@ -99,7 +99,7 @@

{% translate 'Evaluation data' %}
{% blocktranslate trimmed %} Do you want to approve this evaluation? This will allow the evaluation team to proceed with the preparation, but you won't be able to make any further changes. - {% endblocktrans %} + {% endblocktranslate %} @@ -133,11 +133,11 @@ {% block modals %} {{ block.super }} - {% blocktranslate asvar title with evaluation_name=evaluation.full_name %}Request account creation for {{ evaluation_name }}{% endblocktrans %} + {% blocktranslate asvar title with evaluation_name=evaluation.full_name %}Request account creation for {{ evaluation_name }}{% endblocktranslate %} {% translate 'Please tell us which new account we should create. We need the name and email for all new accounts.' as teaser %} {% include 'contact_modal.html' with modal_id='createAccountRequestModal' user=request.user title=title teaser=teaser %} - {% blocktranslate asvar title with evaluation_name=evaluation.full_name %}Request evaluation changes for {{ evaluation_name }}{% endblocktrans %} + {% blocktranslate asvar title with evaluation_name=evaluation.full_name %}Request evaluation changes for {{ evaluation_name }}{% endblocktranslate %} {% translate 'Please tell us what changes to the evaluation we should make.' as teaser %} {% include 'contact_modal.html' with modal_id='changeEvaluationRequestModal' user=request.user title=title teaser=teaser %} {% endblock %} diff --git a/evap/evaluation/templates/contribution_formset.html b/evap/evaluation/templates/contribution_formset.html index 84d974980d..25324de6de 100644 --- a/evap/evaluation/templates/contribution_formset.html +++ b/evap/evaluation/templates/contribution_formset.html @@ -38,7 +38,7 @@
{% translate 'Contributors' %}
{% endfor %} {% include 'bootstrap_form_errors.html' with errors=form.contributor.errors %} {{ form.contributor }} -
+
@@ -58,7 +58,7 @@
{% translate 'Contributors' %}


{% translate 'Label' %}: + title="{% blocktranslate %}This text will be shown next to the contributor's name in the questionnaire.{% endblocktranslate %}">
diff --git a/evap/evaluation/templates/external_user_confirm_login.html b/evap/evaluation/templates/external_user_confirm_login.html index 44a13860ac..86bb5f1b54 100644 --- a/evap/evaluation/templates/external_user_confirm_login.html +++ b/evap/evaluation/templates/external_user_confirm_login.html @@ -18,7 +18,7 @@

{% csrf_token %}
- +

diff --git a/evap/evaluation/templates/log/changed_fields_entry.html b/evap/evaluation/templates/log/changed_fields_entry.html index 2f9180e013..74d5f6490f 100644 --- a/evap/evaluation/templates/log/changed_fields_entry.html +++ b/evap/evaluation/templates/log/changed_fields_entry.html @@ -16,7 +16,7 @@ {% elif action.type == "clear" %} {{ action.label }} {% translate "cleared" %} {% elif action.type == "delete" %} - {% blocktranslate with label=action.label count count=action.items|length %}{{ label }} was{% plural %}{{ label }} were{% endblocktrans %}: + {% blocktranslate with label=action.label count count=action.items|length %}{{ label }} was{% plural %}{{ label }} were{% endblocktranslate %}: {{ action.items|join:", " }} {% elif action.type == "change" %} {{ action.label }}: {{ action.items.0 }} → {{ action.items.1 }} diff --git a/evap/evaluation/templates/notebook.html b/evap/evaluation/templates/notebook.html index 4a4e18b4d8..274d06e1ab 100644 --- a/evap/evaluation/templates/notebook.html +++ b/evap/evaluation/templates/notebook.html @@ -20,7 +20,7 @@
{% translate 'Saved successfully' %}
- +
diff --git a/evap/evaluation/templates/profile.html b/evap/evaluation/templates/profile.html index a6f5a9b3b7..36841bcf66 100644 --- a/evap/evaluation/templates/profile.html +++ b/evap/evaluation/templates/profile.html @@ -55,7 +55,7 @@

{% translate 'Delegates and emails' %}

- {% blocktranslate %}You receive CC'ed emails for{% endblocktrans %}
+ {% blocktranslate %}You receive CC'ed emails for{% endblocktranslate %}
{% for ccing_user in ccing_users %} {{ ccing_user.full_name }}{% if not forloop.last %}, {% endif %} {% empty %} diff --git a/evap/evaluation/templates/textanswer_visibility_info.html b/evap/evaluation/templates/textanswer_visibility_info.html index e1ab6ce278..cb82cd6f39 100644 --- a/evap/evaluation/templates/textanswer_visibility_info.html +++ b/evap/evaluation/templates/textanswer_visibility_info.html @@ -1,10 +1,10 @@ diff --git a/evap/grades/templates/grades_course_view.html b/evap/grades/templates/grades_course_view.html index f6dd63d3f4..2d3414019d 100644 --- a/evap/grades/templates/grades_course_view.html +++ b/evap/grades/templates/grades_course_view.html @@ -40,7 +40,7 @@

{{ course.name }} ({{ semester.name }})

{% blocktranslate trimmed with description=grade_document.description %} Do you really want to delete the grade document {{ description }}? - {% endblocktrans %} + {% endblocktranslate %} @@ -46,7 +46,7 @@
{% translate 'From Excel file' %}
{% blocktranslate trimmed %} Do you really want to delete all existing participants and replace them with participant data from the Excel file? - {% endblocktrans %} + {% endblocktranslate %} @@ -74,7 +74,7 @@
{% translate 'From other evaluation' % {% blocktranslate trimmed %} Do you really want to copy the participants? - {% endblocktrans %} + {% endblocktranslate %} @@ -85,7 +85,7 @@
{% translate 'From other evaluation' % {% blocktranslate trimmed %} Do you really want to delete all existing participants and copy the participants into the evaluation? - {% endblocktrans %} + {% endblocktranslate %} @@ -124,7 +124,7 @@
{% translate 'From Excel file' %}
{% blocktranslate trimmed %} Do you really want to import the Excel file with contributor data? - {% endblocktrans %} + {% endblocktranslate %} @@ -135,7 +135,7 @@
{% translate 'From Excel file' %}
{% blocktranslate trimmed %} Do you really want to delete all existing contributors and replace them with contributor data from the Excel file? - {% endblocktrans %} + {% endblocktranslate %} @@ -163,7 +163,7 @@
{% translate 'From other evaluation' % {% blocktranslate trimmed %} Do you really want to copy the contributors? - {% endblocktrans %} + {% endblocktranslate %} @@ -174,7 +174,7 @@
{% translate 'From other evaluation' % {% blocktranslate trimmed %} Do you really want to delete all existing contributors and copy the contributors into the evaluation? - {% endblocktrans %} + {% endblocktranslate %} diff --git a/evap/staff/templates/staff_evaluation_textanswers.html b/evap/staff/templates/staff_evaluation_textanswers.html index 985745fa04..1df6cf722c 100644 --- a/evap/staff/templates/staff_evaluation_textanswers.html +++ b/evap/staff/templates/staff_evaluation_textanswers.html @@ -59,6 +59,6 @@

{{ evaluation.full_name }} ({{ evaluation.course.semester.name {% include 'evaluation_badges.html' with mode='manager' %}
- {% blocktranslate %}If you select "delete" for a text answer on this page, the respective answer will be deleted irrevocably when publishing the evaluation's results. If you edit an answer, the original answer will also be deleted when publishing the evaluation's results.{% endblocktrans %} + {% blocktranslate %}If you select "delete" for a text answer on this page, the respective answer will be deleted irrevocably when publishing the evaluation's results. If you edit an answer, the original answer will also be deleted when publishing the evaluation's results.{% endblocktranslate %}
{% endblock %} diff --git a/evap/staff/templates/staff_evaluation_textanswers_quick.html b/evap/staff/templates/staff_evaluation_textanswers_quick.html index 18aff3bdce..b8a9bf1049 100644 --- a/evap/staff/templates/staff_evaluation_textanswers_quick.html +++ b/evap/staff/templates/staff_evaluation_textanswers_quick.html @@ -124,7 +124,7 @@

{% endif %} {% for next_evaluation in next_evaluations %} - {% blocktranslate with name=next_evaluation.full_name count answers=next_evaluation.num_unreviewed_textanswers %}The next evaluation "{{ name }}" has got {{ answers }} unreviewed text answer.{% plural %}The next evaluation "{{ name }}" has got {{ answers }} unreviewed text answers.{% endblocktrans %} + {% blocktranslate with name=next_evaluation.full_name count answers=next_evaluation.num_unreviewed_textanswers %}The next evaluation "{{ name }}" has got {{ answers }} unreviewed text answer.{% plural %}The next evaluation "{{ name }}" has got {{ answers }} unreviewed text answers.{% endblocktranslate %} {% endfor %} @@ -150,7 +150,7 @@ {% translate 'Publish' %} + @@ -58,7 +58,7 @@ {% blocktranslate trimmed with questionnaire_name=questionnaire.name %} Do you really want to delete the questionnaire {{questionnaire_name}}? - {% endblocktrans %} + {% endblocktranslate %} @@ -127,7 +127,7 @@

{{ semester.name }}

Do you really want to delete the grade documents in the semester {{ semester_name }}? This will delete all existing grade documents for this semester's courses and will disable new uploads. You can't undo this action. - {% endblocktrans %} + {% endblocktranslate %} @@ -147,7 +147,7 @@

{{ semester.name }}

Do you really want to archive the results in the semester {{ semester_name }}? This will make the results of all evaluations inaccessible for all users except their contributors and managers. You can't undo this action. - {% endblocktrans %} + {% endblocktranslate %} @@ -183,7 +183,7 @@

{{ semester.name }}

Do you want to activate the reward points for the semester {{ semester_name }}? The activation will allow participants to receive reward points when voting and will also grant all eligible points for participants who have already voted so far. The process will take a while. - {% endblocktrans %} + {% endblocktranslate %} @@ -564,7 +564,7 @@

{{ semester.name }}

{% blocktranslate trimmed with course_name=course.name %} Do you really want to delete the course {{ course_name }}? - {% endblocktrans %} + {% endblocktranslate %} @@ -129,14 +129,14 @@
{% translate 'Export evaluation results' %}
{% blocktranslate trimmed with user_fullname=form.instance.full_name %} Do you really want to delete the user {{ user_fullname }}?
This person will also be removed from every other user having this person as a delegated or CC-user. - {% endblocktrans %} + {% endblocktranslate %} {% else %} - + diff --git a/evap/staff/templates/staff_user_import.html b/evap/staff/templates/staff_user_import.html index 13936511d4..ab3fe5a097 100644 --- a/evap/staff/templates/staff_user_import.html +++ b/evap/staff/templates/staff_user_import.html @@ -39,7 +39,7 @@

{% translate 'Import users' %}

{% blocktranslate trimmed %} Do you really want to import the users from the Excel file? - {% endblocktrans %} + {% endblocktranslate %} diff --git a/evap/staff/templates/staff_user_merge.html b/evap/staff/templates/staff_user_merge.html index c8a2da4772..7d89361035 100644 --- a/evap/staff/templates/staff_user_merge.html +++ b/evap/staff/templates/staff_user_merge.html @@ -131,7 +131,7 @@

{% translate 'Merge users' %}

- {% blocktranslate %}CC'ing users{% endblocktrans %} + {% blocktranslate %}CC'ing users{% endblocktranslate %} {% for user in main_user.ccing_users.all %} {{ user.full_name }}{% if not forloop.last %},{% endif %} @@ -239,7 +239,7 @@

{% translate 'Merge users' %}

{% if errors %} - {% blocktranslate %}The users can't be merged, because either contributions or participations for the same evaluation exist or the users are responsible for the same courses.{% endblocktrans %} + {% blocktranslate %}The users can't be merged, because either contributions or participations for the same evaluation exist or the users are responsible for the same courses.{% endblocktranslate %} {% elif warnings %} {% else %} diff --git a/evap/student/templates/student_index_semester_evaluations_list.html b/evap/student/templates/student_index_semester_evaluations_list.html index 98cea43c6d..506845165e 100644 --- a/evap/student/templates/student_index_semester_evaluations_list.html +++ b/evap/student/templates/student_index_semester_evaluations_list.html @@ -161,7 +161,7 @@ {% elif evaluation.state == evaluation.State.PUBLISHED %} {% include 'evaluation_result_widget.html' with course_or_evaluation=evaluation %} {% elif not evaluation.participates_in or evaluation.voted_for and evaluation.State.IN_EVALUATION <= evaluation.state and evaluation.state <= evaluation.State.REVIEWED %} -
+
{% include 'distribution_with_grade_disabled.html' with icon="fas fa-hourglass" weight_info=evaluation|weight_info %}
{% endif %} diff --git a/evap/student/templates/student_vote.html b/evap/student/templates/student_vote.html index 1ac890f9ec..d512f1e879 100644 --- a/evap/student/templates/student_vote.html +++ b/evap/student/templates/student_vote.html @@ -22,9 +22,9 @@
{% if contributor_errors_exist %} - {% blocktranslate %}Please make sure to vote for all rating questions. You can also click on "I can't give feedback" to skip the questions about a single person.{% endblocktrans %} + {% blocktranslate %}Please make sure to vote for all rating questions. You can also click on "I can't give feedback" to skip the questions about a single person.{% endblocktranslate %} {% else %} - {% blocktranslate %}Please make sure to vote for all rating questions.{% endblocktrans %} + {% blocktranslate %}Please make sure to vote for all rating questions.{% endblocktranslate %} {% endif %}
- {% blocktranslate %}Only a small number of people can take part in this evaluation. You should be aware that contributors might be able to guess who voted for a specific answer and who wrote a text answer. Results will only be published if two or more people participated in the evaluation.{% endblocktrans %} + {% blocktranslate %}Only a small number of people can take part in this evaluation. You should be aware that contributors might be able to guess who voted for a specific answer and who wrote a text answer. Results will only be published if two or more people participated in the evaluation.{% endblocktranslate %} {% if evaluation.num_voters == 0 %}
- {% blocktranslate %}You're the first person taking part in this evaluation. If you want your text answers to be shown to the contributors even if you remain the only person taking part, please check the box below. Otherwise your text answers will be deleted if no other person takes part in the evaluation.{% endblocktrans %} + {% blocktranslate %}You're the first person taking part in this evaluation. If you want your text answers to be shown to the contributors even if you remain the only person taking part, please check the box below. Otherwise your text answers will be deleted if no other person takes part in the evaluation.{% endblocktranslate %}
{{ evaluation.full_name }} ({{ evaluation.course.semester.name
{% if not preview %}
- {% blocktranslate %}Please vote for all contributors you worked with. Click on "I can't give feedback" to skip a person.{% endblocktrans %} + {% blocktranslate %}Please vote for all contributors you worked with. Click on "I can't give feedback" to skip a person.{% endblocktranslate %}
{% endif %} @@ -137,7 +137,7 @@

{{ evaluation.full_name }} ({{ evaluation.course.semester.name {% translate 'Small number of participants' %}

- {% blocktranslate %}You're the first person taking part in this evaluation. If you want your text answers to be shown to the contributors even if you remain the only person taking part, please check the box below. Otherwise your text answers will be deleted if no other person takes part in the evaluation.{% endblocktrans %} + {% blocktranslate %}You're the first person taking part in this evaluation. If you want your text answers to be shown to the contributors even if you remain the only person taking part, please check the box below. Otherwise your text answers will be deleted if no other person takes part in the evaluation.{% endblocktranslate %}
{{ evaluation.full_name }} ({{ evaluation.course.semester.name {% endif %}
diff --git a/evap/student/templates/student_vote_questionnaire_group.html b/evap/student/templates/student_vote_questionnaire_group.html index d6d7f89c3a..8a2d468091 100644 --- a/evap/student/templates/student_vote_questionnaire_group.html +++ b/evap/student/templates/student_vote_questionnaire_group.html @@ -11,7 +11,7 @@

- {% blocktranslate %}I can't give feedback about this contributor{% endblocktrans %} + {% blocktranslate %}I can't give feedback about this contributor{% endblocktranslate %}

{% endif%} @@ -78,7 +78,7 @@

{{ field.value|default_if_none:"" }}

- {% blocktranslate asvar intro_text %}After publishing, this text answer can be seen by:{% endblocktrans %} + {% blocktranslate asvar intro_text %}After publishing, this text answer can be seen by:{% endblocktranslate %} {% include 'textanswer_visibility_info.html' with intro_text=intro_text visible_by_contribution=textanswers_visible_to.visible_by_contribution visible_by_delegation_count=textanswers_visible_to.visible_by_delegation_count %}