From: Jean-Philippe Lang Date: Sat, 19 Jul 2008 07:19:55 +0000 (+0000) Subject: Small fix to gloc error messages translation. X-Git-Tag: 0.8.0-RC1~343 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=324495643ba05d24f6edc016f85fd4c8c6dbbf19;p=redmine.git Small fix to gloc error messages translation. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1676 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb b/vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb index aa65991b0..f05c4cddb 100644 --- a/vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb +++ b/vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb @@ -168,7 +168,7 @@ module ActiveRecord #:nodoc: if attr == "base" full_messages << (msg.is_a?(Symbol) ? l(msg) : msg) else - full_messages << @base.class.human_attribute_name(attr) + " " + (msg.is_a?(Symbol) ? l(msg) : msg) + full_messages << @base.class.human_attribute_name(attr) + " " + (msg.is_a?(Symbol) ? l(msg) : msg.to_s) end end end