globalize2_extension.rb in radiant-globalize2-extension-0.2.8 vs globalize2_extension.rb in radiant-globalize2-extension-0.3.0
- old
+ new
@@ -1,19 +1,20 @@
# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application'
require 'globalize2/form_builder_extensions'
class Globalize2Extension < Radiant::Extension
- version "0.2.8"
+ version "0.3.0"
description "Translate content in Radiant CMS using the Globalize2 Rails plugin."
url "http://blog.aissac.ro/radiant/globalize2-extension/"
GLOBALIZABLE_CONTENT = {
Page => [:title, :slug, :breadcrumb],
PagePart => [:content],
Layout => [:content],
- Snippet => [:content]
+ Snippet => [:content],
+ PageField => [:content]
}
def self.default_language
@@default_language ||= Radiant::Config['globalize.default_language']
end