add i18n for layout and snippet
This commit is contained in:
1 parent
28612514e3
commit
ff2dffaeb4
14 files changed
+65
-49
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user