diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-04-23 13:43:20 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-04-23 13:43:20 +0100 |
commit | 0010d44962185ed42fd616d19f864cb20a6630f5 (patch) | |
tree | 81924cca7a8921d0855726b05584f291085dd96e | |
parent | 96352f4018d2f0269b704305f449344050902836 (diff) |
Restore call to N_
-rw-r--r-- | app/models/profile_photo.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/profile_photo.rb b/app/models/profile_photo.rb index 47ce221b2..f6aec6338 100644 --- a/app/models/profile_photo.rb +++ b/app/models/profile_photo.rb @@ -101,7 +101,7 @@ class ProfilePhoto < ActiveRecord::Base end if !self.draft && (self.image.columns != WIDTH || self.image.rows != HEIGHT) - errors.add(:data, _("Failed to convert image to the correct size: at {{cols}}x{{rows}}, need {{width}}x{{height}}", :cols => self.image.columns, :rows => self.image.rows, :width => WIDTH, :height => HEIGHT)) + errors.add(:data, N_("Failed to convert image to the correct size: at {{cols}}x{{rows}}, need {{width}}x{{height}}", :cols => self.image.columns, :rows => self.image.rows, :width => WIDTH, :height => HEIGHT)) end if self.draft && self.user_id |