Sha256: d15754795a4be91453fb0ab86dff55384211934ea4ad048f7d93c412ec8038e6

Contents?: true

Size: 213 Bytes

Versions: 14

Compression:

Stored size: 213 Bytes

Contents

# encoding: utf-8

require 'gettext'

class Simple
  include GetText
  bindtextdomain("test1", :path => "locale")

  def test
    _("language")
  end

  def test_formatted_string
    _("one is %d.") % 1
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
gettext-2.3.9 test/fixtures/simple.rb
gettext-2.3.8 test/fixtures/simple.rb
gettext-2.3.7 test/fixtures/simple.rb
gettext-2.3.6 test/fixtures/simple.rb
gettext-2.3.5 test/fixtures/simple.rb
gettext-2.3.4 test/fixtures/simple.rb
gettext-2.3.3 test/fixtures/simple.rb
gettext-2.3.2 test/fixtures/simple.rb
gettext-2.3.1 test/fixtures/simple.rb
gettext-2.3.0 test/fixtures/simple.rb
gettext-2.2.1 test/testlib/simple.rb
gettext-2.2.0 test/testlib/simple.rb
ofm_gettext-2.0.1 test/testlib/simple.rb
ofm_gettext-2.0.0 test/testlib/simple.rb