From 5d92c0e4f2f816e081305db9e5a4c6fcee93e5d7 Mon Sep 17 00:00:00 2001 From: ricola Date: Wed, 21 Jan 2026 09:37:19 -0600 Subject: [PATCH] Fix typo --- views/votes_show_closed.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/votes_show_closed.erb b/views/votes_show_closed.erb index f06b740..2116d63 100644 --- a/views/votes_show_closed.erb +++ b/views/votes_show_closed.erb @@ -105,7 +105,7 @@ <% else %> <% losing = erb :rating_badge, :locals => { :value => settings.values.select { |e| e[:id] == a.mj }.first } %> <% winning = erb :rating_badge, :locals => { :value => settings.values.select { |e| e[:id] == b.mj }.first } %> - <%= _("Removing a vote of rating %{previous}, this candidate has a majority judgement of %{losing} but the winning candidate has a majority judgement of %{winning}.") % { previous: previous, losing: losing, winning: winning } %> + <%= _("Removing a vote of rating %{previous}, this candidate has a majority judgement of %{losing}, but the winning candidate has a majority judgement of %{winning}.") % { previous: previous, losing: losing, winning: winning } %> <% end %> <% end %> <% if n > 1 %> @@ -115,7 +115,7 @@ <% else %> <% losing = erb :rating_badge, :locals => { :value => settings.values.select { |e| e[:id] == a.mj }.first } %> <% winning = erb :rating_badge, :locals => { :value => settings.values.select { |e| e[:id] == b.mj }.first } %> - <%= _("Removing another vote of rating %{previous}, this candidate has a majority judgement of %{losing} but the winning candidate has a majority judgement of %{winning}.") % { previous: previous, losing: losing, winning: winning } %> + <%= _("Removing another vote of rating %{previous}, this candidate has a majority judgement of %{losing}, but the winning candidate has a majority judgement of %{winning}.") % { previous: previous, losing: losing, winning: winning } %> <% end %> <% end %> <% previous = erb :rating_badge, :locals => { :value => settings.values.select { |e| e[:id] == a.mj }.first } %>