From f7293997c624063a52d8c85c63c672b096339db1 Mon Sep 17 00:00:00 2001 From: Bart Mesuere Date: Sat, 21 Oct 2023 16:07:55 +0200 Subject: [PATCH] tweak wording --- app/views/feedbacks/show.html.erb | 4 ++-- config/locales/views/feedbacks/en.yml | 2 ++ config/locales/views/feedbacks/nl.yml | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/views/feedbacks/show.html.erb b/app/views/feedbacks/show.html.erb index 3ce1ac3e05..4166afb55c 100644 --- a/app/views/feedbacks/show.html.erb +++ b/app/views/feedbacks/show.html.erb @@ -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 %>

diff --git a/config/locales/views/feedbacks/en.yml b/config/locales/views/feedbacks/en.yml index 69768a2fef..6826f7686e 100644 --- a/config/locales/views/feedbacks/en.yml +++ b/config/locales/views/feedbacks/en.yml @@ -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." diff --git a/config/locales/views/feedbacks/nl.yml b/config/locales/views/feedbacks/nl.yml index 70388a8d9e..eb254885b6 100644 --- a/config/locales/views/feedbacks/nl.yml +++ b/config/locales/views/feedbacks/nl.yml @@ -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."