aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/profile_photo.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-04-24 15:20:14 +0100
committerLouise Crow <louise.crow@gmail.com>2013-04-24 15:20:14 +0100
commit7195e67e525af76f264e278e22a2784040c45d46 (patch)
tree5825044ec29145b95b61fe781113b1046ca6c4ce /app/models/profile_photo.rb
parent4929b1e738d15d2178e131701027ef20492599d9 (diff)
parentd3aae5cc48c92473e06b2104bb9431305d5a92f0 (diff)
Merge branch 'release/0.9'0.9
Conflicts: locale/cs/app.po locale/he_IL/app.po locale/id/app.po locale/it/app.po locale/ro_RO/app.po locale/uk/app.po
Diffstat (limited to 'app/models/profile_photo.rb')
-rw-r--r--app/models/profile_photo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/profile_photo.rb b/app/models/profile_photo.rb
index 73d7ca12b..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, 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 }))
+ 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