Sha256: e5c6595685e8541b430375f181e34edf4e964fd5bed147b38c90849a05ea73b8

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

# -*- coding: utf-8 -*-

require 'gettext'

class Simple
  include GetText
  bindtextdomain("test1", :path => Helper::Path.locale_path)

  def test
    _("language")
  end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gettext-3.4.1 test/fixtures/simple.rb
gettext-3.4.0 test/fixtures/simple.rb
gettext-3.3.9 test/fixtures/simple.rb
gettext-3.3.8 test/fixtures/simple.rb