Top Level Namespace
Defined Under Namespace
Modules: ExtendedContentTranslation, OaiDcHelpersOverrides, TaggingControllerOverrides, TaggingOverrides, TinymceControllerValidActionOverride, TranslationFromVersion Classes: AudioRecording, Basket, Comment, Document, Kete, StillImage, SystemSetting, Tag, Topic, User, Video, WebLink
Instance Method Summary collapse
Instance Method Details
#kete_translatable_content_ready? ⇒ Boolean
46 47 48 49 50 51 52 53 54 |
# File 'lib/kete_translatable_content.rb', line 46 def kete_translatable_content_ready? kete_translatable_content_ready = true Kete.translatables.keys.each do |name| translatable = name.camelize.constantize.send(:new) rescue false kete_translatable_content_ready = translatable && translatable.respond_to?(:original_locale) break if kete_translatable_content_ready == false end kete_translatable_content_ready end |