Sha256: 2e9c79b96e770e4d2efb37a851d403f62085d45280c51d4defde926e9c95a449
Contents?: true
Size: 405 Bytes
Versions: 8
Compression:
Stored size: 405 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
8 entries across 8 versions & 2 rubygems