Sha256: ac81877a476ecd17e4829ef987916aa8d9c8e08daf97f0d35caf074862e908ed
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
module GettextI18nRails VERSION = File.read( File.join(File.dirname(__FILE__),'..','VERSION') ).strip extend self end begin gem 'fast_gettext', '>=0.4.8' rescue LoadError gem 'grosser-fast_gettext', '>=0.4.8' end # include translations into all the places it needs to go... Object.send(:include,FastGettext::Translation) require 'gettext_i18n_rails/backend' I18n.backend = GettextI18nRails::Backend.new require 'gettext_i18n_rails/i18n_hacks' require 'gettext_i18n_rails/active_record' require 'gettext_i18n_rails/action_controller'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gettext_i18n_rails-0.1.2 | lib/gettext_i18n_rails.rb |
gettext_i18n_rails-0.1.1 | lib/gettext_i18n_rails.rb |
gettext_i18n_rails-0.1.0 | lib/gettext_i18n_rails.rb |