[activescaffoldlocalize commit] r82 - trunk/lib

0 views
Skip to first unread message

codesite...@google.com

unread,
Dec 13, 2007, 12:46:12 PM12/13/07
to activescaffold...@googlegroups.com
Author: edwin.moss
Date: Thu Dec 13 09:45:31 2007
New Revision: 82

Modified:
trunk/lib/localization.rb

Log:
Remove log message.

Modified: trunk/lib/localization.rb
==============================================================================
--- trunk/lib/localization.rb (original)
+++ trunk/lib/localization.rb Thu Dec 13 09:45:31 2007
@@ -27,9 +27,6 @@
# example of format: { 0=>'nullar %d', 1=>'singular %d',
2=>'dual %d', 3=>"paucal %d", 5=>'plural %d'}
# empty/nil args will bypass the pluralization in order to be used
with external i18n plugins
def self.translate(string_to_localize, args=[])
-#FIXME 2007-12-05 (EJM) Level=0 - Why is this getting called after it
was translated?
-ActiveRecord::Base.logger.error "xxxxx: string_to_localize =
#{string_to_localize.pretty_inspect}, #{self.lang}" if
string_to_localize and string_to_localize.include?("too short")
-# ActiveRecord::Base.logger.error "yyyyy: l10s =
#{@@l10s[self.lang][string_to_localize].pretty_inspect}" if
string_to_localize and string_to_localize.include?("too short")
if @@l10s[self.lang].nil? or @@l10s[self.lang][string_to_localize].nil?
string_to_localize
else

codesite...@google.com

unread,
Dec 13, 2007, 12:46:12 PM12/13/07
to activescaffold...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages