Sha256: b71010cb08cd55740f7b0d4dd19820c8a00052a3c1f1037e2da469e50ff73670

Contents?: true

Size: 211 Bytes

Versions: 14

Compression:

Stored size: 211 Bytes

Contents

require 'gettext'

class TestLib1
  include GetText
  def initialize
    bindtextdomain("test1", "locale")
  end
  def test
    _("language")
  end

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gettext-1.10.0-mswin32 test/testlib1.rb
gettext-1.9.0-mswin32 test/testlib1.rb
gettext-1.8.0-mswin32 test/testlib1.rb
gettext-1.7.0-mswin32 test/testlib1.rb
gettext-1.6.0-mswin32 test/testlib1.rb
gettext-1.10.0 test/testlib1.rb
gettext-1.6.0 test/testlib1.rb
gettext-1.8.0 test/testlib1.rb
gettext-1.7.0 test/testlib1.rb
gettext-1.91.0 test/testlib/testlib1.rb
gettext-1.90.0 test/testlib/testlib1.rb
gettext-1.92.0 test/testlib/testlib1.rb
gettext-1.9.0 test/testlib1.rb
gettext-1.93.0 test/testlib/testlib1.rb