Sha256: a3a7a8156b1a794e247461f64bca956a2b79b796b2f813eeb00d0d80664c4f57
Contents?: true
Size: 416 Bytes
Versions: 2
Compression:
Stored size: 416 Bytes
Contents
require 'gettext' class TestPGetText include GetText def initialize bindtextdomain("test_pgettext", "locale") end def test_1 p_("AAA", "BBB") end def test_2 pgettext("AAA", "BBB") end def test_3 pgettext("AAA|BBB", "CCC") end def test_4 p_("AAA", "CCC") #not found end def test_5 p_("CCC", "BBB") end def test_6 # not pgettext. _("BBB") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gettext-1.92.0 | test/testlib/pgettext.rb |
gettext-1.93.0 | test/testlib/pgettext.rb |