Sha256: c699aa1900d50476cccf36b568de003241f5c34474a3ddbf4ee9e4ffc1d49608
Contents?: true
Size: 479 Bytes
Versions: 6
Compression:
Stored size: 479 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) case subject # case is what i18n gem uses here so doing the same when Array # Do nothing, we only send missing translations with text defaults else Localeapp.missing_translations.add(locale, object, subject, options) end return result end end
Version data entries
6 entries across 6 versions & 1 rubygems