From 5556420740cbf8dcc14292a79acef23561e68192 Mon Sep 17 00:00:00 2001 From: goobertron Date: Sat, 5 Apr 2014 17:06:40 +0100 Subject: [PATCH] Fix missing translation in #4905. --- app/models/poll_participation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/poll_participation.rb b/app/models/poll_participation.rb index 590a62830..23bd6dd78 100644 --- a/app/models/poll_participation.rb +++ b/app/models/poll_participation.rb @@ -45,7 +45,7 @@ class PollParticipation < ActiveRecord::Base other_participations = PollParticipation.where(author_id: self.author.id, poll_id: self.poll.id).to_a-[self] if other_participations.present? - self.errors.add(:poll, I18n.t("activerecord.errors.models.poll_participations.attributes.poll.already_participated")) + self.errors.add(:poll, I18n.t("activerecord.errors.models.poll_participation.attributes.poll.already_participated")) end end