Skip to content

Commit

Permalink
Merge pull request #5056 from dodona-edu/fix/evaluation-wording
Browse files Browse the repository at this point in the history
  • Loading branch information
bmesuere authored Oct 23, 2023
2 parents d2df903 + f729399 commit 9a03cd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/feedbacks/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
<% end %>
<% if @feedback.later_attempts + @feedback.previous_attempts > 0 %>
<%= link_to edit_feedback_path(@feedback) do %>
<%= t("feedbacks.edit.short_title") %>
<%= t("feedbacks.edit.select_another_submission") %>
<% end %>
<% end %>
<% elsif @feedback.total_attempts > 0 %>
<%= t('.submission.total_attempts_html', count: @feedback.total_attempts) %>
<%= link_to edit_feedback_path(@feedback) do %>
<%= t("feedbacks.edit.short_title") %>
<%= t("feedbacks.edit.select_a_submission") %>
<% end %>
<% end %>
</p>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/views/feedbacks/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ en:
edit:
title: "Change submission of %{user} for %{exercise}"
short_title: "Select another submission."
select_a_submission: "Do select a submission."
select_another_submission: "Select another submission."
submissions_table:
update-submission: "Change to this submission"
confirm: "Are you sure? All comments on the previous submission will be deleted."
Expand Down
2 changes: 2 additions & 0 deletions config/locales/views/feedbacks/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ nl:
edit:
title: "Oplossing van %{user} voor %{exercise} veranderen"
short_title: "Selecteer een andere ingediende oplossing."
select_a_submission: "Selecteer toch een ingediende oplossing."
select_another_submission: "Selecteer een andere ingediende oplossing."
submissions_table:
update-submission: "Veranderen naar deze oplossing"
confirm: "Ben je zeker? Alle opmerkingen op de vorige oplossing zullen verwijderd worden."
Expand Down

0 comments on commit 9a03cd9

Please sign in to comment.