Sha256: 28a2bef4cc7cee4ce9fae6ff8a9c70f71dc31d72fb3fc0484a8a3a05c4a5fa12
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
# Hack, ActiveSupport currently uses differrent version # gem 'i18n', '>= 0.4.1' # require 'i18n' require "i18n/backend/pluralization" I18n::Backend::Simple.send(:include, I18n::Backend::Pluralization) I18n.load_path += Dir["#{__FILE__.dirname}/i18n/locales/*/*.{rb,yml}"] # # Helpers for Rad # [Rad::Controller::Abstract, Rad::Controller::Context].each do |klass| klass.delegate :t, to: I18n end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rad_kit-0.0.10 | lib/kit/i18n.rb |
rad_kit-0.0.9 | lib/kit/i18n.rb |