Sha256: e8e2b017def74cdec22209159be175bc5b5651f2a1408bb946f8c7f2c24e6a15
Contents?: true
Size: 670 Bytes
Versions: 18
Compression:
Stored size: 670 Bytes
Contents
# -*- encoding : utf-8 -*- require 'phrase/delegate/fast_gettext' module FastGettext module Translation def __with_phrase(*args) Phrase::Delegate::FastGettext.new(:_, *args) end alias_method :__without_phrase, :_ alias_method :_, :__with_phrase def n__with_phrase(*args) Phrase::Delegate::FastGettext.new(:n_, *args) end alias_method :n__without_phrase, :n_ alias_method :n_, :n__with_phrase def s__with_phrase(*args) Phrase::Delegate::FastGettext.new(:s_, *args) end alias_method :s__without_phrase, :s_ alias_method :s_, :s__with_phrase end end if defined? FastGettext::Translation
Version data entries
18 entries across 18 versions & 1 rubygems