module ActiveSupport::NumberHelper
def translate_number_value_with_default(key, i18n_options = {}) #:nodoc:
def translate_number_value_with_default(key, i18n_options = {}) #:nodoc: default = key.split('.').reduce(DEFAULTS) { |defaults, k| defaults[k.to_sym] } I18n.translate(key, { default: default, scope: :number }.merge!(i18n_options)) end