aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-04-16 14:16:01 +0100
committerLouise Crow <louise.crow@gmail.com>2013-04-16 14:16:01 +0100
commit768ea68463b5fc063f1516e12537195dc2a975cd (patch)
tree41eab53e5c36e478e1e55a9c9cd0762e4cb06da2
parenta14e10efee917004ef548c37ed5f935271111c8a (diff)
Update outgoing message signoff translation
-rw-r--r--app/models/outgoing_message.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/outgoing_message.rb b/app/models/outgoing_message.rb
index c75894e6a..248125808 100644
--- a/app/models/outgoing_message.rb
+++ b/app/models/outgoing_message.rb
@@ -268,7 +268,7 @@ class OutgoingMessage < ActiveRecord::Base
end
end
if self.body =~ /#{get_signoff}\s*\Z/m
- errors.add(:body, _("Please sign at the bottom with your name, or alter the \"%{signoff}\" signature" % { :signoff => get_signoff }))
+ errors.add(:body, _("Please sign at the bottom with your name, or alter the \"{{signoff}}\" signature", :signoff => get_signoff))
end
if !MySociety::Validate.uses_mixed_capitals(self.body)
errors.add(:body, _('Please write your message using a mixture of capital and lower case letters. This makes it easier for others to read.'))