Sha256: cefde43cae78017366c03216f9d0cb41cd6f74b2aa66a1b28da85f79ab9c65ae
Contents?: true
Size: 379 Bytes
Versions: 34
Compression:
Stored size: 379 Bytes
Contents
require 'riak/i18n' module Riak module Util # Methods for doing i18n string lookup module Translation # The scope of i18n messages def i18n_scope :riak end # Provides the translation for a given internationalized message def t(message, options={}) I18n.t("#{i18n_scope}.#{message}", options) end end end end
Version data entries
34 entries across 24 versions & 3 rubygems