aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/comment.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/comment.rb b/app/models/comment.rb
index a286aa1f5..cc8d0e94b 100644
--- a/app/models/comment.rb
+++ b/app/models/comment.rb
@@ -91,9 +91,9 @@ class Comment < ActiveRecord::Base
def check_body_uses_mixed_capitals
unless MySociety::Validate.uses_mixed_capitals(body)
- msg = 'Please write your annotation using a mixture of capital and ' \
- 'lower case letters. This makes it easier for others to read.'
- errors.add(:body, _(msg))
+ msg = _('Please write your annotation using a mixture of capital and ' \
+ 'lower case letters. This makes it easier for others to read.')
+ errors.add(:body, msg)
end
end