Sha256: 04bd0fef26133cfeb1a8198a576bce6bed25c9d97d7de2fc92613237efb1cd64
Contents?: true
Size: 242 Bytes
Versions: 3
Compression:
Stored size: 242 Bytes
Contents
# -*- encoding : utf-8 -*- module I18n class << self def translate_with_phrase(*args) Phrase.backend.translate(*args) end alias_method_chain :translate, :phrase alias_method :t, :translate end end if defined?(I18n)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
phrase-0.3.4 | lib/phrase/adapters/i18n.rb |
phrase-0.3.3 | lib/phrase/adapters/i18n.rb |
phrase-0.3.2 | lib/phrase/adapters/i18n.rb |