Sha256: 252e3375402cf2f4eb5805e31807ceca76891d673e000eb62dbe67ef49a19511
Contents?: true
Size: 617 Bytes
Versions: 4
Compression:
Stored size: 617 Bytes
Contents
# encoding: utf-8 require 'gettext' class TestSGetText include GetText bindtextdomain("sgettext", :path => "locale") def test_1 s_("AAA|BBB") end def test_2 sgettext("AAA|BBB") end def test_3 s_("AAA") #not found end def test_4 s_("AAA|CCC") #not found end def test_5 s_("AAA|BBB|CCC") #not found end def test_6 s_("AAA$BBB", "$") #not found end def test_7 s_("AAA$B|BB", "$") #not found end def test_8 s_("AAA$B|CC", "$") end def test_9 s_("AAA|CCC|BBB") #not found end def setlocale(locale) __setlocale(locale) end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
gettext-2.2.1 | test/testlib/sgettext.rb |
gettext-2.2.0 | test/testlib/sgettext.rb |
ofm_gettext-2.0.1 | test/testlib/sgettext.rb |
ofm_gettext-2.0.0 | test/testlib/sgettext.rb |