Sha256: d057948a5a09fec11ade75749c292057f6d2b08571b9d7fbf498e460762d0279

Contents?: true

Size: 249 Bytes

Versions: 4

Compression:

Stored size: 249 Bytes

Contents

def _(msgid, options = {})
  I18n.translate(msgid, {default: msgid.to_s}.merge(options))
end

# Disable the storage of subtrees by passing `false`.
I18n.backend = I18n::Backend::Chain.new(I18n::Backend::KeyValue.new(Redis.new, false), I18n.backend)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 config/initializers/i18n.rb
citizen_budget_model-0.0.3 config/initializers/i18n.rb
citizen_budget_model-0.0.2 config/initializers/i18n.rb
citizen_budget_model-0.0.1 config/initializers/i18n.rb