Sha256: 01b81d54480ad6fa36248eb3a8568963a6989a06c9d6c22cfd03a28c2491db28
Contents?: true
Size: 658 Bytes
Versions: 19
Compression:
Stored size: 658 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
19 entries across 19 versions & 1 rubygems