add i18n for layout and snippet

This commit is contained in:
Wen-Tien Chang committed 2009-07-06 16:23:34 +08:00
1 parent 28612514e3
commit ff2dffaeb4
14 files changed
+65 -49

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ class CouchFoo::Base
def self.property_i18n(property_name, property_type)
VALID_LOCALES.each do |locale|
property "#{property_name.to_s}_#{locale}", property_type
property "#{property_name.to_s}_#{locale}".to_sym, property_type
end
end