]> source.dussan.org Git - redmine.git/commitdiff
Small fix to gloc error messages translation.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Jul 2008 07:19:55 +0000 (07:19 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Jul 2008 07:19:55 +0000 (07:19 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1676 e93f8b46-1217-0410-a6f0-8f06a7374b81

vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb

index aa65991b0ebf914663b189d3fd7c4b315facb8be..f05c4cddbe847b0be2965f001bd6216e3823cc92 100644 (file)
@@ -168,7 +168,7 @@ module ActiveRecord #:nodoc:
           if attr == "base"\r
             full_messages << (msg.is_a?(Symbol) ? l(msg) : msg)\r
           else\r
-            full_messages << @base.class.human_attribute_name(attr) + " " + (msg.is_a?(Symbol) ? l(msg) : msg)\r
+            full_messages << @base.class.human_attribute_name(attr) + " " + (msg.is_a?(Symbol) ? l(msg) : msg.to_s)\r
           end\r
         end\r
       end\r