Sha256: 87281a34bfbfe01b546e5e099edef4c39eaafc4f2282cefd7a208fd5a5165f94

Contents?: true

Size: 219 Bytes

Versions: 38

Compression:

Stored size: 219 Bytes

Contents

# -*- coding: 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

38 entries across 38 versions & 1 rubygems

Version Path
gettext-3.1.7 test/fixtures/simple.rb
gettext-3.1.6 test/fixtures/simple.rb
gettext-3.1.5 test/fixtures/simple.rb
gettext-3.1.4 test/fixtures/simple.rb
gettext-3.1.3 test/fixtures/simple.rb
gettext-3.1.2 test/fixtures/simple.rb
gettext-3.1.1 test/fixtures/simple.rb
gettext-3.1.0 test/fixtures/simple.rb
gettext-3.0.9 test/fixtures/simple.rb
gettext-3.0.8 test/fixtures/simple.rb
gettext-3.0.7 test/fixtures/simple.rb
gettext-3.0.6 test/fixtures/simple.rb
gettext-3.0.5 test/fixtures/simple.rb
gettext-3.0.4 test/fixtures/simple.rb
gettext-3.0.3 test/fixtures/simple.rb
gettext-3.0.2 test/fixtures/simple.rb
gettext-3.0.1 test/fixtures/simple.rb
gettext-3.0.0 test/fixtures/simple.rb