Sha256: 80e73382c778b85513e5eda1e4d6c6f5bef0c2675cf6c3497842807121e4f169

Contents?: true

Size: 177 Bytes

Versions: 4

Compression:

Stored size: 177 Bytes

Contents

require 'i18n'

module Gitter
  module I18n

   def translate prefix, key
     ::I18n.translate "gitter.#{name}.#{prefix}.#{key}", default: key.to_s.humanize
   end
 
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gitter-1.1.6 lib/gitter/i18n.rb
gitter-1.1.5 lib/gitter/i18n.rb
gitter-1.1.4 lib/gitter/i18n.rb
gitter-1.1.3 lib/gitter/i18n.rb