##// END OF EJS Templates
Small fix to gloc error messages translation....
Jean-Philippe Lang -
r1659:324495643ba0
parent child
Show More
@@ -168,7 +168,7 module ActiveRecord #:nodoc:
168 if attr == "base"
168 if attr == "base"
169 full_messages << (msg.is_a?(Symbol) ? l(msg) : msg)
169 full_messages << (msg.is_a?(Symbol) ? l(msg) : msg)
170 else
170 else
171 full_messages << @base.class.human_attribute_name(attr) + " " + (msg.is_a?(Symbol) ? l(msg) : msg)
171 full_messages << @base.class.human_attribute_name(attr) + " " + (msg.is_a?(Symbol) ? l(msg) : msg.to_s)
172 end
172 end
173 end
173 end
174 end
174 end
General Comments 0
You need to be logged in to leave comments. Login now