summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-19 07:19:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-19 07:19:55 +0000
commit324495643ba05d24f6edc016f85fd4c8c6dbbf19 (patch)
tree2e9132be546e1738845c28574b4a5096c2363da3 /vendor
parent1701e0bd79aa4ed81b51a9bf63f07e0464460078 (diff)
downloadredmine-324495643ba05d24f6edc016f85fd4c8c6dbbf19.tar.gz
redmine-324495643ba05d24f6edc016f85fd4c8c6dbbf19.zip
Small fix to gloc error messages translation.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1676 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r--vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb2
1 files changed, 1 insertions, 1 deletions
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