diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-21 14:00:20 +1100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-04-15 09:36:08 +0100 |
commit | 77ecc648e9d68927c2ddc8c5a30906d5946db5fc (patch) | |
tree | 7f4da466bc3fc8460ac0e6bf9b5bed7052731f2f /app/models | |
parent | bc78d89e0db7e2a7049b06d20831f485786b699a (diff) |
In translation strings replace %{} with {{}} formatting
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/outgoing_message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/outgoing_message.rb b/app/models/outgoing_message.rb index 441813e5f..3cb0ebf49 100644 --- a/app/models/outgoing_message.rb +++ b/app/models/outgoing_message.rb @@ -152,7 +152,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.')) |