From 324495643ba05d24f6edc016f85fd4c8c6dbbf19 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 19 Jul 2008 07:19:55 +0000 Subject: [PATCH] Small fix to gloc error messages translation. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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