Sha256: 3cd35f26a694d3b766af0f8e68258182dcd151ae8a4d20983bd65713a758a900
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
module I18n::Backend::Base alias_method :default_without_handler, :default def default(locale, object, subject, options = {}) result = default_without_handler(locale, object, subject, options) return result if ::Localeapp.configuration.sending_disabled? if result sender = Localeapp::Sender.new # Make the default value a complete translation sender.post_translation(locale, object, options, result) end return result end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
localeapp-0.5.2 | lib/localeapp/default_value_handler.rb |
localeapp-0.5.1 | lib/localeapp/default_value_handler.rb |
localeapp-0.5.0 | lib/localeapp/default_value_handler.rb |