Sha256: 5c0d77bb9f5d2a314deeebbf67911a7b10fd2c0f11c98e6c78b85b17d1b3a688
Contents?: true
Size: 623 Bytes
Versions: 28
Compression:
Stored size: 623 Bytes
Contents
require 'gettext' class TestSGetText include GetText def initialize bindtextdomain("test_sgettext", "locale") end 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
28 entries across 28 versions & 1 rubygems