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.3.7 test/fixtures/simple.rb
gettext-3.3.6 test/fixtures/simple.rb
gettext-3.3.5 test/fixtures/simple.rb
gettext-3.3.4 test/fixtures/simple.rb
gettext-3.3.3 test/fixtures/simple.rb
gettext-3.3.2 test/fixtures/simple.rb
gettext-3.3.1 test/fixtures/simple.rb
gettext-3.3.0 test/fixtures/simple.rb
gettext-3.2.9 test/fixtures/simple.rb
gettext-3.2.8 test/fixtures/simple.rb
gettext-3.2.7 test/fixtures/simple.rb
gettext-3.2.6 test/fixtures/simple.rb
gettext-3.2.5 test/fixtures/simple.rb
gettext-3.2.4 test/fixtures/simple.rb
gettext-3.2.3 test/fixtures/simple.rb
gettext-3.2.2 test/fixtures/simple.rb
gettext-3.2.1 test/fixtures/simple.rb
gettext-3.2.0 test/fixtures/simple.rb
gettext-3.1.9 test/fixtures/simple.rb
gettext-3.1.8 test/fixtures/simple.rb