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

Version Path
phrase-0.4.33 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.32 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.31 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.30 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.29 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.28 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.27 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.26 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.25 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.24 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.23 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.22 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.21 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.20 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.19 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.18 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.17 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.16 lib/phrase/adapters/fast_gettext.rb
phrase-0.4.15 lib/phrase/adapters/fast_gettext.rb