gettext 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +194 -0
- data/NEWS +49 -0
- data/README +28 -9
- data/Rakefile +54 -41
- data/bin/rgettext +2 -0
- data/bin/rmsgfmt +2 -0
- data/bin/rmsgmerge +24 -0
- data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/lib/gettext.rb +17 -4
- data/lib/gettext/cgi.rb +34 -19
- data/lib/gettext/locale.rb +3 -13
- data/lib/gettext/locale_default.rb +2 -2
- data/lib/gettext/locale_win32.rb +27 -7
- data/lib/gettext/mo.rb +6 -1
- data/lib/gettext/parser/activerecord.rb +115 -0
- data/lib/gettext/parser/glade.rb +3 -1
- data/lib/gettext/parser/ruby.rb +56 -57
- data/lib/gettext/poparser.rb +297 -0
- data/lib/gettext/rails.rb +161 -3
- data/lib/gettext/rgettext.rb +19 -9
- data/lib/gettext/rmsgfmt.rb +7 -275
- data/lib/gettext/rmsgmerge.rb +381 -0
- data/lib/gettext/string.rb +26 -0
- data/lib/gettext/textdomain.rb +21 -18
- data/lib/gettext/utils.rb +55 -0
- data/lib/gettext/version.rb +1 -1
- data/po/cs/rails.po +83 -0
- data/po/cs/rgettext.po +104 -0
- data/po/de/rails.po +79 -0
- data/po/de/rgettext.po +72 -21
- data/po/es/rails.po +80 -0
- data/po/es/rgettext.po +75 -19
- data/po/fr/rails.po +81 -0
- data/po/fr/rgettext.po +75 -19
- data/po/it/rgettext.po +68 -17
- data/po/ja/rails.po +78 -0
- data/po/ja/rgettext.po +71 -20
- data/po/ko/rails.po +77 -0
- data/po/ko/rgettext.po +74 -22
- data/po/nl/rails.po +80 -0
- data/po/nl/rgettext.po +102 -0
- data/po/pt_BR/rails.po +79 -0
- data/po/pt_BR/rgettext.po +77 -24
- data/po/rails.pot +80 -0
- data/po/rgettext.pot +63 -13
- data/po/sv/rgettext.po +63 -15
- data/samples/cgi/cookie.cgi +5 -0
- data/samples/cgi/helloerb1.cgi +4 -0
- data/samples/cgi/helloerb2.cgi +5 -0
- data/samples/cgi/index.cgi +5 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/cs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/fr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/nl/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/cs/helloerb1.po +66 -0
- data/samples/cgi/po/cs/helloerb2.po +52 -0
- data/samples/cgi/po/cs/hellolib.po +25 -0
- data/samples/cgi/po/cs/main.po +78 -0
- data/samples/cgi/po/fr/main.po +8 -8
- data/samples/cgi/po/ko/helloerb1.po +2 -3
- data/samples/cgi/po/ko/helloerb2.po +1 -2
- data/samples/cgi/po/ko/hellolib.po +1 -2
- data/samples/cgi/po/ko/main.po +2 -3
- data/samples/cgi/po/nl/helloerb1.po +60 -0
- data/samples/cgi/po/nl/helloerb2.po +52 -0
- data/samples/cgi/po/nl/hellolib.po +24 -0
- data/samples/cgi/po/nl/main.po +76 -0
- data/samples/cgi/po/pt_BR/helloerb1.po +59 -0
- data/samples/cgi/po/pt_BR/helloerb2.po +51 -0
- data/samples/cgi/po/pt_BR/hellolib.po +22 -0
- data/samples/cgi/po/pt_BR/main.po +75 -0
- data/samples/locale/cs/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/cs/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/fr/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/ko/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/nl/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/pt_BR/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/cs/hello.po +23 -0
- data/samples/po/cs/hello2.po +31 -0
- data/samples/po/cs/hello_noop.po +27 -0
- data/samples/po/cs/hello_plural.po +26 -0
- data/samples/po/cs/helloglade2.po +37 -0
- data/samples/po/cs/hellogtk.po +23 -0
- data/samples/po/cs/hellotk.po +23 -0
- data/samples/po/fr/helloglade2.po +2 -2
- data/samples/po/hello.pot +1 -0
- data/samples/po/hello2.pot +1 -0
- data/samples/po/hello_noop.pot +2 -1
- data/samples/po/hello_plural.pot +6 -2
- data/samples/po/helloglade2.pot +8 -3
- data/samples/po/hellotk.pot +4 -0
- data/samples/po/ko/hello.po +1 -2
- data/samples/po/ko/hello2.po +1 -2
- data/samples/po/ko/hello_noop.po +1 -2
- data/samples/po/ko/hello_plural.po +1 -2
- data/samples/po/ko/helloglade2.po +2 -2
- data/samples/po/ko/hellogtk.po +1 -2
- data/samples/po/ko/hellotk.po +1 -2
- data/samples/po/nl/hello.po +24 -0
- data/samples/po/nl/hello2.po +32 -0
- data/samples/po/nl/hello_noop.po +28 -0
- data/samples/po/nl/hello_plural.po +26 -0
- data/samples/po/nl/helloglade2.po +31 -0
- data/samples/po/nl/hellogtk.po +24 -0
- data/samples/po/nl/hellotk.po +24 -0
- data/samples/po/pt_BR/hello.po +6 -5
- data/samples/po/pt_BR/hello2.po +6 -5
- data/samples/po/pt_BR/hello_noop.po +6 -5
- data/samples/po/pt_BR/hello_plural.po +6 -6
- data/samples/po/pt_BR/helloglade2.po +6 -5
- data/samples/po/pt_BR/hellogtk.po +6 -5
- data/samples/po/pt_BR/hellotk.po +6 -5
- data/samples/rails/README +21 -15
- data/samples/rails/Rakefile +10 -1
- data/samples/rails/app/controllers/application.rb +10 -18
- data/samples/rails/app/controllers/blog_controller.rb +1 -5
- data/samples/rails/app/helpers/blog_helper.rb +1 -1
- data/samples/rails/app/models/article.rb +15 -0
- data/samples/rails/app/views/blog/_form.rhtml +2 -2
- data/samples/rails/config/boot.rb +17 -0
- data/samples/rails/config/database.yml +5 -3
- data/samples/rails/config/environment.rb +40 -75
- data/samples/rails/config/environments/development.rb +12 -7
- data/samples/rails/config/environments/production.rb +17 -6
- data/samples/rails/config/environments/test.rb +8 -6
- data/samples/rails/locale/cs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/de/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/fr/LC_MESSAGES/{lang_helper.mo → gettext_plugin.mo} +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ja/LC_MESSAGES/{lang_helper.mo → gettext_plugin.mo} +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/po/blog.pot +57 -37
- data/samples/rails/po/cs/blog.po +116 -0
- data/samples/rails/po/cs/gettext_plugin.po +29 -0
- data/samples/rails/po/de/blog.po +70 -51
- data/samples/rails/po/de/{lang_helper.po → gettext_plugin.po} +4 -5
- data/samples/rails/po/en/blog.po +111 -0
- data/samples/rails/po/es/blog.po +67 -47
- data/samples/rails/po/es/{lang_helper.po → gettext_plugin.po} +5 -5
- data/samples/rails/po/fr/blog.po +65 -45
- data/samples/rails/po/fr/{lang_helper.po → gettext_plugin.po} +4 -4
- data/samples/rails/po/{lang_helper.pot → gettext_plugin.pot} +4 -4
- data/samples/rails/po/ja/blog.po +64 -44
- data/samples/rails/po/ja/{lang_helper.po → gettext_plugin.po} +4 -4
- data/samples/rails/po/ko/blog.po +65 -46
- data/samples/rails/po/ko/{lang_helper.po → gettext_plugin.po} +5 -6
- data/samples/rails/po/nl/blog.po +115 -0
- data/samples/rails/po/nl/gettext_plugin.po +28 -0
- data/samples/rails/po/pt_BR/blog.po +109 -0
- data/samples/rails/po/pt_BR/gettext_plugin.po +27 -0
- data/samples/rails/public/images/rails.png +0 -0
- data/samples/rails/public/index.html +272 -71
- data/samples/rails/public/javascripts/controls.js +441 -166
- data/samples/rails/public/javascripts/dragdrop.js +261 -279
- data/samples/rails/public/javascripts/effects.js +657 -277
- data/samples/rails/public/javascripts/prototype.js +911 -223
- data/samples/rails/public/robots.txt +1 -0
- data/samples/rails/public/stylesheets/scaffold.css +1 -1
- data/samples/rails/script/about +3 -0
- data/samples/rails/script/breakpointer +3 -4
- data/samples/rails/script/console +3 -23
- data/samples/rails/script/destroy +3 -7
- data/samples/rails/script/generate +3 -7
- data/samples/rails/script/performance/benchmarker +3 -0
- data/samples/rails/script/performance/profiler +3 -0
- data/samples/rails/script/plugin +3 -0
- data/samples/rails/script/process/reaper +3 -0
- data/samples/rails/script/process/spawner +3 -0
- data/samples/rails/script/process/spinner +3 -0
- data/samples/rails/script/runner +3 -29
- data/samples/rails/script/server +3 -49
- data/samples/rails/vendor/plugins/gettext/init.rb +19 -0
- data/samples/rails/vendor/{lang_helper.rb → plugins/gettext/lib/gettext_plugin.rb} +15 -11
- data/src/poparser.ry +171 -0
- data/test/gettext_runner.rb +3 -1
- data/test/gettext_test.rb +56 -31
- data/test/gettext_test_cgi.rb +12 -0
- data/test/gettext_test_parser.rb +3 -0
- data/test/gettext_test_string.rb +14 -0
- data/test/locale/cr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/da/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ir/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/la/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/li/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/po/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/sl/LC_MESSAGES/plural.mo +0 -0
- data/test/po/cr/plural.po +3 -3
- data/test/po/da/plural.po +2 -2
- data/test/po/da/plural_error.po +2 -1
- data/test/po/fr/plural.po +2 -2
- data/test/po/fr/plural_error.po +2 -1
- data/test/po/ir/plural.po +3 -3
- data/test/po/la/plural.po +3 -3
- data/test/po/li/plural.po +3 -3
- data/test/po/po/plural.po +3 -3
- data/test/po/sl/plural.po +4 -4
- data/test/test.sh +1 -0
- data/test/test_rubyparser.rb +20 -0
- metadata +678 -551
- data/README.ja +0 -115
- data/data/locale/de/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rmsgfmt.mo +0 -0
- data/po/de/rmsgfmt.po +0 -45
- data/po/es/rmsgfmt.po +0 -43
- data/po/fr/rmsgfmt.po +0 -43
- data/po/it/rmsgfmt.po +0 -44
- data/po/ja/rmsgfmt.po +0 -43
- data/po/ko/rmsgfmt.po +0 -40
- data/po/pt_BR/rmsgfmt.po +0 -42
- data/po/rmsgfmt.pot +0 -40
- data/po/sv/rmsgfmt.po +0 -43
- data/samples/rails/locale/de/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/es/LC_MESSAGES/lang_helper.mo +0 -0
- data/samples/rails/locale/ko/LC_MESSAGES/lang_helper.mo +0 -0
- data/src/rmsgfmt.ry +0 -233
data/test/gettext_runner.rb
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
require 'test/unit/testsuite'
|
|
2
2
|
require 'gettext_test'
|
|
3
3
|
require 'gettext_test_parser'
|
|
4
|
+
require 'gettext_test_string'
|
|
4
5
|
|
|
5
6
|
class GetTextTest
|
|
6
7
|
def suite
|
|
7
8
|
s = Test::Unit::TestSuite.new
|
|
8
9
|
s << TestGetText.suite
|
|
9
10
|
s << TestGetTextParser.suite
|
|
11
|
+
s << TestGetTextString.suite
|
|
10
12
|
s
|
|
11
13
|
end
|
|
12
14
|
end
|
|
13
15
|
|
|
14
|
-
if RUBY_VERSION >= '1.
|
|
16
|
+
if RUBY_VERSION >= '1.8.4'
|
|
15
17
|
Test::Unit::AutoRunner.run
|
|
16
18
|
else
|
|
17
19
|
Test::Unit::AutoRunner.run(GetTextTest)
|
data/test/gettext_test.rb
CHANGED
|
@@ -13,11 +13,14 @@ class TestGetText < Test::Unit::TestCase
|
|
|
13
13
|
include GetText
|
|
14
14
|
|
|
15
15
|
def test_bindtextdomain
|
|
16
|
+
GetText.locale = nil
|
|
16
17
|
return if /linux/ !~ RUBY_PLATFORM
|
|
17
18
|
GetText.bindtextdomain("libc")
|
|
18
19
|
GetText.locale = "ja_JP.eucJP"
|
|
19
20
|
GetText.charset = "euc-jp"
|
|
20
21
|
assert_equal("��λ���ޤ���", GetText._("Terminated"))
|
|
22
|
+
|
|
23
|
+
GetText.locale = nil
|
|
21
24
|
GetText.bindtextdomain("test1", "locale")
|
|
22
25
|
assert_equal("japanese", GetText._("language"))
|
|
23
26
|
|
|
@@ -37,21 +40,25 @@ class TestGetText < Test::Unit::TestCase
|
|
|
37
40
|
GetText.locale = "fr"
|
|
38
41
|
assert_equal("french", GetText._("language"))
|
|
39
42
|
|
|
43
|
+
GetText.locale = nil
|
|
40
44
|
GetText.bindtextdomain("test1", "locale", "ja")
|
|
41
45
|
assert_equal("japanese", GetText._("language"))
|
|
42
46
|
end
|
|
43
47
|
|
|
44
48
|
def test_bindtextdomain_include_module
|
|
49
|
+
GetText.locale = nil
|
|
45
50
|
bindtextdomain("test1", "locale")
|
|
46
51
|
assert_equal("japanese", _("language"))
|
|
47
52
|
end
|
|
48
53
|
|
|
49
54
|
def test_gettext
|
|
55
|
+
GetText.locale = nil
|
|
50
56
|
bindtextdomain("test1", "locale")
|
|
51
57
|
assert_equal("japanese", gettext("language"))
|
|
52
58
|
end
|
|
53
59
|
|
|
54
60
|
def test_class
|
|
61
|
+
GetText.locale = nil
|
|
55
62
|
bindtextdomain("test2", "locale")
|
|
56
63
|
|
|
57
64
|
testlib1 = TestLib1.new
|
|
@@ -64,22 +71,26 @@ class TestGetText < Test::Unit::TestCase
|
|
|
64
71
|
end
|
|
65
72
|
|
|
66
73
|
def test_subclass
|
|
74
|
+
GetText.locale = nil
|
|
67
75
|
testlib2 = TestLib2.new
|
|
68
76
|
assert_equal("JAPANESE", testlib2.test2)
|
|
69
77
|
assert_equal("japanese", testlib2.test)
|
|
70
78
|
end
|
|
71
79
|
|
|
72
80
|
def test_nested_module
|
|
81
|
+
GetText.locale = nil
|
|
73
82
|
testlib3 = TestLib3::Test3.new
|
|
74
83
|
assert_equal("JAPANESE", testlib3.test3)
|
|
75
84
|
end
|
|
76
85
|
|
|
77
86
|
def test_no_msgstr
|
|
87
|
+
GetText.locale = nil
|
|
78
88
|
bindtextdomain("test1", "locale", "ja")
|
|
79
89
|
assert_equal("nomsgstr", _("nomsgstr"))
|
|
80
90
|
end
|
|
81
91
|
|
|
82
92
|
def test_complex
|
|
93
|
+
GetText.locale = nil
|
|
83
94
|
testlib4 = TestRubyParser.new
|
|
84
95
|
assert_equal("AAA", testlib4.test_1)
|
|
85
96
|
assert_equal("AAA\n", testlib4.test_2)
|
|
@@ -94,10 +105,12 @@ DDD
|
|
|
94
105
|
end
|
|
95
106
|
|
|
96
107
|
def test_noop
|
|
108
|
+
GetText.locale = nil
|
|
97
109
|
assert_equal("test", N_("test"))
|
|
98
110
|
end
|
|
99
111
|
|
|
100
112
|
def test_sgettext
|
|
113
|
+
GetText.locale = nil
|
|
101
114
|
testlib5 = TestSGetText.new
|
|
102
115
|
assert_equal("MATCHED", testlib5.test_1)
|
|
103
116
|
assert_equal("MATCHED", testlib5.test_2)
|
|
@@ -111,64 +124,74 @@ DDD
|
|
|
111
124
|
end
|
|
112
125
|
|
|
113
126
|
def test_plural
|
|
127
|
+
GetText.locale = nil
|
|
114
128
|
bindtextdomain("plural", "locale", "ja")
|
|
115
129
|
assert_equal("all", n_("one", "two", 0))
|
|
116
130
|
assert_equal("all", n_("one", "two", 1))
|
|
117
131
|
assert_equal("all", n_("one", "two", 2))
|
|
118
132
|
|
|
119
133
|
setlocale("da")
|
|
120
|
-
assert_equal("
|
|
121
|
-
assert_equal("
|
|
122
|
-
assert_equal("
|
|
134
|
+
assert_equal("da_plural", n_("one", "two", 0))
|
|
135
|
+
assert_equal("da_one", n_("one", "two", 1))
|
|
136
|
+
assert_equal("da_plural", n_("one", "two", 2))
|
|
123
137
|
|
|
124
138
|
setlocale("fr")
|
|
125
|
-
assert_equal("
|
|
126
|
-
assert_equal("
|
|
127
|
-
assert_equal("
|
|
139
|
+
assert_equal("fr_one", ngettext("one", "two", 0))
|
|
140
|
+
assert_equal("fr_one", ngettext("one", "two", 1))
|
|
141
|
+
assert_equal("fr_plural", ngettext("one", "two", 2))
|
|
128
142
|
|
|
129
143
|
setlocale("la")
|
|
130
|
-
assert_equal("
|
|
131
|
-
assert_equal("
|
|
132
|
-
assert_equal("
|
|
133
|
-
assert_equal("
|
|
144
|
+
assert_equal("la_one", ngettext("one", "two", 21))
|
|
145
|
+
assert_equal("la_one", ngettext("one", "two", 1))
|
|
146
|
+
assert_equal("la_plural", ngettext("one", "two", 2))
|
|
147
|
+
assert_equal("la_zero", ngettext("one", "two", 0))
|
|
134
148
|
|
|
135
149
|
setlocale("ir")
|
|
136
|
-
assert_equal("
|
|
137
|
-
assert_equal("
|
|
138
|
-
assert_equal("
|
|
139
|
-
assert_equal("
|
|
150
|
+
assert_equal("ir_one", ngettext("one", "two", 1))
|
|
151
|
+
assert_equal("ir_two", ngettext("one", "two", 2))
|
|
152
|
+
assert_equal("ir_plural", ngettext("one", "two", 3))
|
|
153
|
+
assert_equal("ir_plural", ngettext("one", "two", 0))
|
|
140
154
|
|
|
141
155
|
setlocale("li")
|
|
142
|
-
assert_equal("
|
|
143
|
-
assert_equal("
|
|
144
|
-
assert_equal("
|
|
156
|
+
assert_equal("li_one", ngettext("one", "two", 1))
|
|
157
|
+
assert_equal("li_two", ngettext("one", "two", 22))
|
|
158
|
+
assert_equal("li_three", ngettext("one", "two", 11))
|
|
145
159
|
|
|
146
160
|
setlocale("cr")
|
|
147
|
-
assert_equal("
|
|
148
|
-
assert_equal("
|
|
149
|
-
assert_equal("
|
|
161
|
+
assert_equal("cr_one", ngettext("one", "two", 1))
|
|
162
|
+
assert_equal("cr_two", ngettext("one", "two", 2))
|
|
163
|
+
assert_equal("cr_three", ngettext("one", "two", 5))
|
|
150
164
|
|
|
151
165
|
setlocale("po")
|
|
152
|
-
assert_equal("
|
|
153
|
-
assert_equal("
|
|
154
|
-
assert_equal("
|
|
166
|
+
assert_equal("po_one", ngettext("one", "two", 1))
|
|
167
|
+
assert_equal("po_two", ngettext("one", "two", 2))
|
|
168
|
+
assert_equal("po_three", ngettext("one", "two", 5))
|
|
155
169
|
|
|
156
170
|
setlocale("sl")
|
|
157
|
-
assert_equal("
|
|
158
|
-
assert_equal("
|
|
159
|
-
assert_equal("
|
|
160
|
-
assert_equal("
|
|
161
|
-
assert_equal("
|
|
171
|
+
assert_equal("sl_one", ngettext("one", "two", 1))
|
|
172
|
+
assert_equal("sl_two", ngettext("one", "two", 2))
|
|
173
|
+
assert_equal("sl_three", ngettext("one", "two", 3))
|
|
174
|
+
assert_equal("sl_three", ngettext("one", "two", 4))
|
|
175
|
+
assert_equal("sl_four", ngettext("one", "two", 5))
|
|
176
|
+
end
|
|
162
177
|
|
|
178
|
+
def test_plural_format_invalid
|
|
179
|
+
setlocale(nil)
|
|
163
180
|
bindtextdomain("plural_error", "locale", "ja")
|
|
164
|
-
assert_equal("a", n_("one", "two", 0))
|
|
181
|
+
assert_equal("a", n_("one", "two", 0))
|
|
182
|
+
# Use default(plural = 0)
|
|
165
183
|
setlocale("fr")
|
|
166
|
-
assert_equal("
|
|
184
|
+
assert_equal("fr_one", n_("one", "two", 0))
|
|
185
|
+
assert_equal("fr_one", n_("one", "two", 1))
|
|
186
|
+
assert_equal("fr_one", n_("one", "two", 2))
|
|
167
187
|
setlocale("da")
|
|
168
|
-
assert_equal("
|
|
188
|
+
assert_equal("da_one", n_("one", "two", 0))
|
|
189
|
+
assert_equal("da_one", n_("one", "two", 1))
|
|
190
|
+
assert_equal("da_one", n_("one", "two", 2))
|
|
169
191
|
end
|
|
170
192
|
|
|
171
193
|
def test_setlocale
|
|
194
|
+
GetText.locale = nil
|
|
172
195
|
bindtextdomain("test1", "locale")
|
|
173
196
|
assert_equal("japanese", _("language"))
|
|
174
197
|
setlocale("en")
|
|
@@ -178,6 +201,7 @@ DDD
|
|
|
178
201
|
end
|
|
179
202
|
|
|
180
203
|
def test_locale
|
|
204
|
+
GetText.locale = nil
|
|
181
205
|
loc = Locale.set(Locale::CTYPE, "ja_JP.eucJP")
|
|
182
206
|
assert_equal("ja_JP.eucJP", loc)
|
|
183
207
|
assert_equal("ja_JP.eucJP", Locale.get)
|
|
@@ -192,6 +216,7 @@ DDD
|
|
|
192
216
|
end
|
|
193
217
|
|
|
194
218
|
def test_textdomain
|
|
219
|
+
GetText.locale = nil
|
|
195
220
|
Locale.setlocale(Locale::CTYPE, "ja_JP.eucJP")
|
|
196
221
|
testlib = TestLib4.new
|
|
197
222
|
assert_equal("japanese", testlib.test)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require 'test/unit'
|
|
2
|
+
require 'gettext/cgi'
|
|
3
|
+
|
|
4
|
+
class TestGetTextCGI < Test::Unit::TestCase
|
|
5
|
+
def test_locale_normalize
|
|
6
|
+
assert_equal("ja_JP", Locale.normalize("ja_JP"))
|
|
7
|
+
assert_equal("ja", Locale.normalize("ja,en-us;q=0.7,en;q=0.3"))
|
|
8
|
+
assert_equal("en_US", Locale.normalize("en-us,ja;q=0.7,en;q=0.3"))
|
|
9
|
+
assert_equal("ja_JP", Locale.normalize("ja-jp"))
|
|
10
|
+
assert_equal("ja", Locale.normalize("ja"))
|
|
11
|
+
end
|
|
12
|
+
end
|
data/test/gettext_test_parser.rb
CHANGED
|
@@ -21,6 +21,9 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
|
21
21
|
assert_equal(['lllmmm', 'test_rubyparser.rb:54'], ary[11])
|
|
22
22
|
assert_equal(['nnn\nooo', 'test_rubyparser.rb:62'], ary[12])
|
|
23
23
|
assert_equal(["\#", 'test_rubyparser.rb:66', 'test_rubyparser.rb:70'], ary[13])
|
|
24
|
+
assert_equal(["\\taaa", 'test_rubyparser.rb:74'], ary[14])
|
|
25
|
+
assert_equal(["Here document1\\nHere document2\\n", 'test_rubyparser.rb:78'], ary[15])
|
|
26
|
+
assert_equal(["Here document1\\nHere document2\\n", 'test_rubyparser.rb:92'], ary[16])
|
|
24
27
|
end
|
|
25
28
|
|
|
26
29
|
def test_ruby_N
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
require 'test/unit'
|
|
2
|
+
require 'gettext'
|
|
3
|
+
|
|
4
|
+
class TestGetTextString < Test::Unit::TestCase
|
|
5
|
+
def test_string_sprintf
|
|
6
|
+
assert_equal("foo is a number", "%{msg} is a number" % {:msg => "foo"})
|
|
7
|
+
assert_equal("bar is a number", "%s is a number" % ["bar"])
|
|
8
|
+
assert_equal("bar is a number", "%s is a number" % "bar")
|
|
9
|
+
assert_equal("1, test", "%{num}, %{record}" % {:num => 1, :record => "test"})
|
|
10
|
+
assert_equal("test, 1", "%{record}, %{num}" % {:num => 1, :record => "test"})
|
|
11
|
+
assert_equal("1, test", "%d, %s" % [1, "test"])
|
|
12
|
+
assert_equal("test, 1", "%2$s, %1$d" % [1, "test"])
|
|
13
|
+
end
|
|
14
|
+
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/test/po/cr/plural.po
CHANGED
data/test/po/da/plural.po
CHANGED
data/test/po/da/plural_error.po
CHANGED
data/test/po/fr/plural.po
CHANGED
data/test/po/fr/plural_error.po
CHANGED
data/test/po/ir/plural.po
CHANGED
data/test/po/la/plural.po
CHANGED
data/test/po/li/plural.po
CHANGED
data/test/po/po/plural.po
CHANGED
data/test/po/sl/plural.po
CHANGED
data/test/test.sh
CHANGED
data/test/test_rubyparser.rb
CHANGED
|
@@ -73,5 +73,25 @@ ddd
|
|
|
73
73
|
def test_16
|
|
74
74
|
_('\taaa')
|
|
75
75
|
end
|
|
76
|
+
|
|
77
|
+
def test_17
|
|
78
|
+
ret = _(<<EOF
|
|
79
|
+
Here document1
|
|
80
|
+
Here document2
|
|
81
|
+
EOF
|
|
82
|
+
)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
|
|
76
86
|
end
|
|
77
87
|
|
|
88
|
+
def test_17
|
|
89
|
+
a = []
|
|
90
|
+
a << 1
|
|
91
|
+
a << "2"
|
|
92
|
+
ret = _(<<EOF
|
|
93
|
+
Here document1
|
|
94
|
+
Here document2
|
|
95
|
+
EOF
|
|
96
|
+
)
|
|
97
|
+
end
|
metadata
CHANGED
|
@@ -3,11 +3,11 @@ rubygems_version: 0.8.11
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: gettext
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 1.
|
|
7
|
-
date: 2005-
|
|
6
|
+
version: 1.1.0
|
|
7
|
+
date: 2005-12-29 00:00:00 +09:00
|
|
8
8
|
summary: Ruby-GetText-Package is Native Language Support Library and Tools which modeled after GNU gettext package.
|
|
9
9
|
require_paths:
|
|
10
|
-
|
|
10
|
+
- lib
|
|
11
11
|
email: mutoh@highway.ne.jp
|
|
12
12
|
homepage: http://ponx.s5.xrea.com/hiki/ruby-gettext.html
|
|
13
13
|
rubyforge_project: gettext
|
|
@@ -18,563 +18,690 @@ bindir: bin
|
|
|
18
18
|
has_rdoc: false
|
|
19
19
|
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
20
20
|
requirements:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
version: 0.0.0
|
|
21
|
+
- - ">"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: 0.0.0
|
|
25
24
|
version:
|
|
26
25
|
platform: ruby
|
|
27
26
|
signing_key:
|
|
28
27
|
cert_chain:
|
|
29
28
|
authors:
|
|
30
|
-
|
|
29
|
+
- Masao Mutoh
|
|
31
30
|
files:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
31
|
+
- COPYING.ja
|
|
32
|
+
- README
|
|
33
|
+
- data
|
|
34
|
+
- src
|
|
35
|
+
- NEWS
|
|
36
|
+
- setup.rb
|
|
37
|
+
- samples
|
|
38
|
+
- ext
|
|
39
|
+
- pre-setup.rb
|
|
40
|
+
- po
|
|
41
|
+
- lib
|
|
42
|
+
- COPYING
|
|
43
|
+
- ChangeLog
|
|
44
|
+
- Rakefile
|
|
45
|
+
- post-setup.rb
|
|
46
|
+
- test
|
|
47
|
+
- bin
|
|
48
|
+
- data/locale
|
|
49
|
+
- data/locale/de
|
|
50
|
+
- data/locale/ko
|
|
51
|
+
- data/locale/ja
|
|
52
|
+
- data/locale/pt_BR
|
|
53
|
+
- data/locale/cs
|
|
54
|
+
- data/locale/sv
|
|
55
|
+
- data/locale/es
|
|
56
|
+
- data/locale/nl
|
|
57
|
+
- data/locale/it
|
|
58
|
+
- data/locale/fr
|
|
59
|
+
- data/locale/de/LC_MESSAGES
|
|
60
|
+
- data/locale/de/LC_MESSAGES/rails.mo
|
|
61
|
+
- data/locale/de/LC_MESSAGES/rgettext.mo
|
|
62
|
+
- data/locale/ko/LC_MESSAGES
|
|
63
|
+
- data/locale/ko/LC_MESSAGES/rails.mo
|
|
64
|
+
- data/locale/ko/LC_MESSAGES/rgettext.mo
|
|
65
|
+
- data/locale/ja/LC_MESSAGES
|
|
66
|
+
- data/locale/ja/LC_MESSAGES/rails.mo
|
|
67
|
+
- data/locale/ja/LC_MESSAGES/rgettext.mo
|
|
68
|
+
- data/locale/pt_BR/LC_MESSAGES
|
|
69
|
+
- data/locale/pt_BR/LC_MESSAGES/rails.mo
|
|
70
|
+
- data/locale/pt_BR/LC_MESSAGES/rgettext.mo
|
|
71
|
+
- data/locale/cs/LC_MESSAGES
|
|
72
|
+
- data/locale/cs/LC_MESSAGES/rails.mo
|
|
73
|
+
- data/locale/cs/LC_MESSAGES/rgettext.mo
|
|
74
|
+
- data/locale/sv/LC_MESSAGES
|
|
75
|
+
- data/locale/sv/LC_MESSAGES/rgettext.mo
|
|
76
|
+
- data/locale/es/LC_MESSAGES
|
|
77
|
+
- data/locale/es/LC_MESSAGES/rails.mo
|
|
78
|
+
- data/locale/es/LC_MESSAGES/rgettext.mo
|
|
79
|
+
- data/locale/nl/LC_MESSAGES
|
|
80
|
+
- data/locale/nl/LC_MESSAGES/rails.mo
|
|
81
|
+
- data/locale/nl/LC_MESSAGES/rgettext.mo
|
|
82
|
+
- data/locale/it/LC_MESSAGES
|
|
83
|
+
- data/locale/it/LC_MESSAGES/rgettext.mo
|
|
84
|
+
- data/locale/fr/LC_MESSAGES
|
|
85
|
+
- data/locale/fr/LC_MESSAGES/rails.mo
|
|
86
|
+
- data/locale/fr/LC_MESSAGES/rgettext.mo
|
|
87
|
+
- src/poparser.ry
|
|
88
|
+
- samples/helloglade2.glade
|
|
89
|
+
- samples/README
|
|
90
|
+
- samples/hello_textdomain.rb
|
|
91
|
+
- samples/hellogtk2.rb
|
|
92
|
+
- samples/rails
|
|
93
|
+
- samples/hello.rb
|
|
94
|
+
- samples/hellogtk.rb
|
|
95
|
+
- samples/hellotk.rb
|
|
96
|
+
- samples/cgi
|
|
97
|
+
- samples/po
|
|
98
|
+
- samples/hello_plural.rb
|
|
99
|
+
- samples/hello_noop.rb
|
|
100
|
+
- samples/hello2.rb
|
|
101
|
+
- samples/helloglade2.rb
|
|
102
|
+
- samples/locale
|
|
103
|
+
- samples/makemo.rb
|
|
104
|
+
- samples/rails/README
|
|
105
|
+
- samples/rails/config
|
|
106
|
+
- samples/rails/script
|
|
107
|
+
- samples/rails/db
|
|
108
|
+
- samples/rails/po
|
|
109
|
+
- samples/rails/public
|
|
110
|
+
- samples/rails/app
|
|
111
|
+
- samples/rails/Rakefile
|
|
112
|
+
- samples/rails/test
|
|
113
|
+
- samples/rails/locale
|
|
114
|
+
- samples/rails/vendor
|
|
115
|
+
- samples/rails/config/routes.rb
|
|
116
|
+
- samples/rails/config/boot.rb
|
|
117
|
+
- samples/rails/config/database.yml
|
|
118
|
+
- samples/rails/config/environment.rb
|
|
119
|
+
- samples/rails/config/environments
|
|
120
|
+
- samples/rails/config/environments/production.rb
|
|
121
|
+
- samples/rails/config/environments/test.rb
|
|
122
|
+
- samples/rails/config/environments/development.rb
|
|
123
|
+
- samples/rails/script/profiler
|
|
124
|
+
- samples/rails/script/plugin
|
|
125
|
+
- samples/rails/script/server
|
|
126
|
+
- samples/rails/script/performance
|
|
127
|
+
- samples/rails/script/process
|
|
128
|
+
- samples/rails/script/generate
|
|
129
|
+
- samples/rails/script/benchmarker
|
|
130
|
+
- samples/rails/script/runner
|
|
131
|
+
- samples/rails/script/about
|
|
132
|
+
- samples/rails/script/destroy
|
|
133
|
+
- samples/rails/script/console
|
|
134
|
+
- samples/rails/script/breakpointer
|
|
135
|
+
- samples/rails/script/performance/profiler
|
|
136
|
+
- samples/rails/script/performance/benchmarker
|
|
137
|
+
- samples/rails/script/process/spawner
|
|
138
|
+
- samples/rails/script/process/reaper
|
|
139
|
+
- samples/rails/script/process/spinner
|
|
140
|
+
- samples/rails/db/postgresql.sql
|
|
141
|
+
- samples/rails/db/mysql.sql
|
|
142
|
+
- samples/rails/po/de
|
|
143
|
+
- samples/rails/po/ko
|
|
144
|
+
- samples/rails/po/ja
|
|
145
|
+
- samples/rails/po/pt_BR
|
|
146
|
+
- samples/rails/po/cs
|
|
147
|
+
- samples/rails/po/es
|
|
148
|
+
- samples/rails/po/nl
|
|
149
|
+
- samples/rails/po/gettext_plugin.pot
|
|
150
|
+
- samples/rails/po/blog.pot
|
|
151
|
+
- samples/rails/po/en
|
|
152
|
+
- samples/rails/po/fr
|
|
153
|
+
- samples/rails/po/de/blog.po
|
|
154
|
+
- samples/rails/po/de/gettext_plugin.po
|
|
155
|
+
- samples/rails/po/ko/blog.po
|
|
156
|
+
- samples/rails/po/ko/gettext_plugin.po
|
|
157
|
+
- samples/rails/po/ja/blog.po
|
|
158
|
+
- samples/rails/po/ja/gettext_plugin.po
|
|
159
|
+
- samples/rails/po/pt_BR/blog.po
|
|
160
|
+
- samples/rails/po/pt_BR/gettext_plugin.po
|
|
161
|
+
- samples/rails/po/cs/blog.po
|
|
162
|
+
- samples/rails/po/cs/gettext_plugin.po
|
|
163
|
+
- samples/rails/po/es/blog.po
|
|
164
|
+
- samples/rails/po/es/gettext_plugin.po
|
|
165
|
+
- samples/rails/po/nl/blog.po
|
|
166
|
+
- samples/rails/po/nl/gettext_plugin.po
|
|
167
|
+
- samples/rails/po/en/blog.po
|
|
168
|
+
- samples/rails/po/fr/blog.po
|
|
169
|
+
- samples/rails/po/fr/gettext_plugin.po
|
|
170
|
+
- samples/rails/public/stylesheets
|
|
171
|
+
- samples/rails/public/index.html
|
|
172
|
+
- samples/rails/public/favicon.ico
|
|
173
|
+
- samples/rails/public/javascripts
|
|
174
|
+
- samples/rails/public/dispatch.cgi
|
|
175
|
+
- samples/rails/public/dispatch.rb
|
|
176
|
+
- samples/rails/public/404.html
|
|
177
|
+
- samples/rails/public/dispatch.fcgi
|
|
178
|
+
- samples/rails/public/robots.txt
|
|
179
|
+
- samples/rails/public/500.html
|
|
180
|
+
- samples/rails/public/images
|
|
181
|
+
- samples/rails/public/stylesheets/blog.css
|
|
182
|
+
- samples/rails/public/stylesheets/scaffold.css
|
|
183
|
+
- samples/rails/public/javascripts/controls.js
|
|
184
|
+
- samples/rails/public/javascripts/effects.js
|
|
185
|
+
- samples/rails/public/javascripts/dragdrop.js
|
|
186
|
+
- samples/rails/public/javascripts/prototype.js
|
|
187
|
+
- samples/rails/public/images/rails.png
|
|
188
|
+
- samples/rails/app/helpers
|
|
189
|
+
- samples/rails/app/views
|
|
190
|
+
- samples/rails/app/models
|
|
191
|
+
- samples/rails/app/controllers
|
|
192
|
+
- samples/rails/app/helpers/blog_helper.rb
|
|
193
|
+
- samples/rails/app/helpers/application_helper.rb
|
|
194
|
+
- samples/rails/app/views/blog
|
|
195
|
+
- samples/rails/app/views/layouts
|
|
196
|
+
- samples/rails/app/views/blog/new.rhtml
|
|
197
|
+
- samples/rails/app/views/blog/_form.rhtml
|
|
198
|
+
- samples/rails/app/views/blog/list.rhtml
|
|
199
|
+
- samples/rails/app/views/blog/edit.rhtml
|
|
200
|
+
- samples/rails/app/views/blog/show.rhtml
|
|
201
|
+
- samples/rails/app/views/layouts/blog.rhtml
|
|
202
|
+
- samples/rails/app/models/article.rb
|
|
203
|
+
- samples/rails/app/controllers/blog_controller.rb
|
|
204
|
+
- samples/rails/app/controllers/application.rb
|
|
205
|
+
- samples/rails/test/unit
|
|
206
|
+
- samples/rails/test/functional
|
|
207
|
+
- samples/rails/test/test_helper.rb
|
|
208
|
+
- samples/rails/test/fixtures
|
|
209
|
+
- samples/rails/test/unit/article_test.rb
|
|
210
|
+
- samples/rails/test/functional/blog_controller_test.rb
|
|
211
|
+
- samples/rails/test/fixtures/articles.yml
|
|
212
|
+
- samples/rails/locale/de
|
|
213
|
+
- samples/rails/locale/ko
|
|
214
|
+
- samples/rails/locale/ja
|
|
215
|
+
- samples/rails/locale/pt_BR
|
|
216
|
+
- samples/rails/locale/cs
|
|
217
|
+
- samples/rails/locale/es
|
|
218
|
+
- samples/rails/locale/nl
|
|
219
|
+
- samples/rails/locale/en
|
|
220
|
+
- samples/rails/locale/fr
|
|
221
|
+
- samples/rails/locale/de/LC_MESSAGES
|
|
222
|
+
- samples/rails/locale/de/LC_MESSAGES/blog.mo
|
|
223
|
+
- samples/rails/locale/de/LC_MESSAGES/gettext_plugin.mo
|
|
224
|
+
- samples/rails/locale/ko/LC_MESSAGES
|
|
225
|
+
- samples/rails/locale/ko/LC_MESSAGES/blog.mo
|
|
226
|
+
- samples/rails/locale/ko/LC_MESSAGES/gettext_plugin.mo
|
|
227
|
+
- samples/rails/locale/ja/LC_MESSAGES
|
|
228
|
+
- samples/rails/locale/ja/LC_MESSAGES/blog.mo
|
|
229
|
+
- samples/rails/locale/ja/LC_MESSAGES/gettext_plugin.mo
|
|
230
|
+
- samples/rails/locale/pt_BR/LC_MESSAGES
|
|
231
|
+
- samples/rails/locale/pt_BR/LC_MESSAGES/blog.mo
|
|
232
|
+
- samples/rails/locale/pt_BR/LC_MESSAGES/gettext_plugin.mo
|
|
233
|
+
- samples/rails/locale/cs/LC_MESSAGES
|
|
234
|
+
- samples/rails/locale/cs/LC_MESSAGES/blog.mo
|
|
235
|
+
- samples/rails/locale/cs/LC_MESSAGES/gettext_plugin.mo
|
|
236
|
+
- samples/rails/locale/es/LC_MESSAGES
|
|
237
|
+
- samples/rails/locale/es/LC_MESSAGES/blog.mo
|
|
238
|
+
- samples/rails/locale/es/LC_MESSAGES/gettext_plugin.mo
|
|
239
|
+
- samples/rails/locale/nl/LC_MESSAGES
|
|
240
|
+
- samples/rails/locale/nl/LC_MESSAGES/blog.mo
|
|
241
|
+
- samples/rails/locale/nl/LC_MESSAGES/gettext_plugin.mo
|
|
242
|
+
- samples/rails/locale/en/LC_MESSAGES
|
|
243
|
+
- samples/rails/locale/en/LC_MESSAGES/blog.mo
|
|
244
|
+
- samples/rails/locale/fr/LC_MESSAGES
|
|
245
|
+
- samples/rails/locale/fr/LC_MESSAGES/blog.mo
|
|
246
|
+
- samples/rails/locale/fr/LC_MESSAGES/gettext_plugin.mo
|
|
247
|
+
- samples/rails/vendor/plugins
|
|
248
|
+
- samples/rails/vendor/plugins/gettext
|
|
249
|
+
- samples/rails/vendor/plugins/gettext/lib
|
|
250
|
+
- samples/rails/vendor/plugins/gettext/init.rb
|
|
251
|
+
- samples/rails/vendor/plugins/gettext/lib/gettext_plugin.rb
|
|
252
|
+
- samples/cgi/README
|
|
253
|
+
- samples/cgi/ruby.bat
|
|
254
|
+
- samples/cgi/other.rhtml
|
|
255
|
+
- samples/cgi/gettext.css
|
|
256
|
+
- samples/cgi/hellolib.rb
|
|
257
|
+
- samples/cgi/helloerb1.cgi
|
|
258
|
+
- samples/cgi/cookie.cgi
|
|
259
|
+
- samples/cgi/helloerb.rhtml
|
|
260
|
+
- samples/cgi/index.cgi
|
|
261
|
+
- samples/cgi/po
|
|
262
|
+
- samples/cgi/Rakefile
|
|
263
|
+
- samples/cgi/helloerb2.cgi
|
|
264
|
+
- samples/cgi/locale
|
|
265
|
+
- samples/cgi/http.rb
|
|
266
|
+
- samples/cgi/po/helloerb2.pot
|
|
267
|
+
- samples/cgi/po/de
|
|
268
|
+
- samples/cgi/po/ko
|
|
269
|
+
- samples/cgi/po/ja
|
|
270
|
+
- samples/cgi/po/pt_BR
|
|
271
|
+
- samples/cgi/po/cs
|
|
272
|
+
- samples/cgi/po/hellolib.pot
|
|
273
|
+
- samples/cgi/po/es
|
|
274
|
+
- samples/cgi/po/main.pot
|
|
275
|
+
- samples/cgi/po/nl
|
|
276
|
+
- samples/cgi/po/it
|
|
277
|
+
- samples/cgi/po/helloerb1.pot
|
|
278
|
+
- samples/cgi/po/fr
|
|
279
|
+
- samples/cgi/po/de/helloerb2.po
|
|
280
|
+
- samples/cgi/po/de/main.po
|
|
281
|
+
- samples/cgi/po/de/helloerb1.po
|
|
282
|
+
- samples/cgi/po/de/hellolib.po
|
|
283
|
+
- samples/cgi/po/ko/helloerb2.po
|
|
284
|
+
- samples/cgi/po/ko/main.po
|
|
285
|
+
- samples/cgi/po/ko/helloerb1.po
|
|
286
|
+
- samples/cgi/po/ko/hellolib.po
|
|
287
|
+
- samples/cgi/po/ja/helloerb2.po
|
|
288
|
+
- samples/cgi/po/ja/main.po
|
|
289
|
+
- samples/cgi/po/ja/helloerb1.po
|
|
290
|
+
- samples/cgi/po/ja/hellolib.po
|
|
291
|
+
- samples/cgi/po/pt_BR/helloerb2.po
|
|
292
|
+
- samples/cgi/po/pt_BR/main.po
|
|
293
|
+
- samples/cgi/po/pt_BR/helloerb1.po
|
|
294
|
+
- samples/cgi/po/pt_BR/hellolib.po
|
|
295
|
+
- samples/cgi/po/cs/helloerb2.po
|
|
296
|
+
- samples/cgi/po/cs/main.po
|
|
297
|
+
- samples/cgi/po/cs/helloerb1.po
|
|
298
|
+
- samples/cgi/po/cs/hellolib.po
|
|
299
|
+
- samples/cgi/po/es/helloerb2.po
|
|
300
|
+
- samples/cgi/po/es/main.po
|
|
301
|
+
- samples/cgi/po/es/helloerb1.po
|
|
302
|
+
- samples/cgi/po/es/hellolib.po
|
|
303
|
+
- samples/cgi/po/nl/helloerb2.po
|
|
304
|
+
- samples/cgi/po/nl/main.po
|
|
305
|
+
- samples/cgi/po/nl/helloerb1.po
|
|
306
|
+
- samples/cgi/po/nl/hellolib.po
|
|
307
|
+
- samples/cgi/po/it/helloerb2.po
|
|
308
|
+
- samples/cgi/po/it/main.po
|
|
309
|
+
- samples/cgi/po/it/helloerb1.po
|
|
310
|
+
- samples/cgi/po/it/hellolib.po
|
|
311
|
+
- samples/cgi/po/fr/helloerb2.po
|
|
312
|
+
- samples/cgi/po/fr/main.po
|
|
313
|
+
- samples/cgi/po/fr/helloerb1.po
|
|
314
|
+
- samples/cgi/po/fr/hellolib.po
|
|
315
|
+
- samples/cgi/locale/de
|
|
316
|
+
- samples/cgi/locale/ko
|
|
317
|
+
- samples/cgi/locale/ja
|
|
318
|
+
- samples/cgi/locale/pt_BR
|
|
319
|
+
- samples/cgi/locale/cs
|
|
320
|
+
- samples/cgi/locale/es
|
|
321
|
+
- samples/cgi/locale/nl
|
|
322
|
+
- samples/cgi/locale/it
|
|
323
|
+
- samples/cgi/locale/fr
|
|
324
|
+
- samples/cgi/locale/de/LC_MESSAGES
|
|
325
|
+
- samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo
|
|
326
|
+
- samples/cgi/locale/de/LC_MESSAGES/hellolib.mo
|
|
327
|
+
- samples/cgi/locale/de/LC_MESSAGES/main.mo
|
|
328
|
+
- samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo
|
|
329
|
+
- samples/cgi/locale/ko/LC_MESSAGES
|
|
330
|
+
- samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo
|
|
331
|
+
- samples/cgi/locale/ko/LC_MESSAGES/hellolib.mo
|
|
332
|
+
- samples/cgi/locale/ko/LC_MESSAGES/main.mo
|
|
333
|
+
- samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo
|
|
334
|
+
- samples/cgi/locale/ja/LC_MESSAGES
|
|
335
|
+
- samples/cgi/locale/ja/LC_MESSAGES/helloerb1.mo
|
|
336
|
+
- samples/cgi/locale/ja/LC_MESSAGES/hellolib.mo
|
|
337
|
+
- samples/cgi/locale/ja/LC_MESSAGES/main.mo
|
|
338
|
+
- samples/cgi/locale/ja/LC_MESSAGES/helloerb2.mo
|
|
339
|
+
- samples/cgi/locale/pt_BR/LC_MESSAGES
|
|
340
|
+
- samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb1.mo
|
|
341
|
+
- samples/cgi/locale/pt_BR/LC_MESSAGES/hellolib.mo
|
|
342
|
+
- samples/cgi/locale/pt_BR/LC_MESSAGES/main.mo
|
|
343
|
+
- samples/cgi/locale/pt_BR/LC_MESSAGES/helloerb2.mo
|
|
344
|
+
- samples/cgi/locale/cs/LC_MESSAGES
|
|
345
|
+
- samples/cgi/locale/cs/LC_MESSAGES/helloerb1.mo
|
|
346
|
+
- samples/cgi/locale/cs/LC_MESSAGES/hellolib.mo
|
|
347
|
+
- samples/cgi/locale/cs/LC_MESSAGES/main.mo
|
|
348
|
+
- samples/cgi/locale/cs/LC_MESSAGES/helloerb2.mo
|
|
349
|
+
- samples/cgi/locale/es/LC_MESSAGES
|
|
350
|
+
- samples/cgi/locale/es/LC_MESSAGES/helloerb1.mo
|
|
351
|
+
- samples/cgi/locale/es/LC_MESSAGES/hellolib.mo
|
|
352
|
+
- samples/cgi/locale/es/LC_MESSAGES/main.mo
|
|
353
|
+
- samples/cgi/locale/es/LC_MESSAGES/helloerb2.mo
|
|
354
|
+
- samples/cgi/locale/nl/LC_MESSAGES
|
|
355
|
+
- samples/cgi/locale/nl/LC_MESSAGES/helloerb1.mo
|
|
356
|
+
- samples/cgi/locale/nl/LC_MESSAGES/hellolib.mo
|
|
357
|
+
- samples/cgi/locale/nl/LC_MESSAGES/main.mo
|
|
358
|
+
- samples/cgi/locale/nl/LC_MESSAGES/helloerb2.mo
|
|
359
|
+
- samples/cgi/locale/it/LC_MESSAGES
|
|
360
|
+
- samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo
|
|
361
|
+
- samples/cgi/locale/it/LC_MESSAGES/hellolib.mo
|
|
362
|
+
- samples/cgi/locale/it/LC_MESSAGES/main.mo
|
|
363
|
+
- samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo
|
|
364
|
+
- samples/cgi/locale/fr/LC_MESSAGES
|
|
365
|
+
- samples/cgi/locale/fr/LC_MESSAGES/helloerb1.mo
|
|
366
|
+
- samples/cgi/locale/fr/LC_MESSAGES/hellolib.mo
|
|
367
|
+
- samples/cgi/locale/fr/LC_MESSAGES/main.mo
|
|
368
|
+
- samples/cgi/locale/fr/LC_MESSAGES/helloerb2.mo
|
|
369
|
+
- samples/po/hello_plural.pot
|
|
370
|
+
- samples/po/de
|
|
371
|
+
- samples/po/ko
|
|
372
|
+
- samples/po/ja
|
|
373
|
+
- samples/po/pt_BR
|
|
374
|
+
- samples/po/cs
|
|
375
|
+
- samples/po/sv
|
|
376
|
+
- samples/po/hello.pot
|
|
377
|
+
- samples/po/es
|
|
378
|
+
- samples/po/hellogtk.pot
|
|
379
|
+
- samples/po/nl
|
|
380
|
+
- samples/po/it
|
|
381
|
+
- samples/po/hellotk.pot
|
|
382
|
+
- samples/po/hello_noop.pot
|
|
383
|
+
- samples/po/helloglade2.pot
|
|
384
|
+
- samples/po/hello2.pot
|
|
385
|
+
- samples/po/fr
|
|
386
|
+
- samples/po/de/hellotk.po
|
|
387
|
+
- samples/po/de/hellogtk.po
|
|
388
|
+
- samples/po/de/hello2.po
|
|
389
|
+
- samples/po/de/helloglade2.po
|
|
390
|
+
- samples/po/de/hello_noop.po
|
|
391
|
+
- samples/po/de/hello.po
|
|
392
|
+
- samples/po/de/hello_plural.po
|
|
393
|
+
- samples/po/ko/hellotk.po
|
|
394
|
+
- samples/po/ko/hellogtk.po
|
|
395
|
+
- samples/po/ko/hello2.po
|
|
396
|
+
- samples/po/ko/helloglade2.po
|
|
397
|
+
- samples/po/ko/hello_noop.po
|
|
398
|
+
- samples/po/ko/hello.po
|
|
399
|
+
- samples/po/ko/hello_plural.po
|
|
400
|
+
- samples/po/ja/hellotk.po
|
|
401
|
+
- samples/po/ja/hellogtk.po
|
|
402
|
+
- samples/po/ja/hello2.po
|
|
403
|
+
- samples/po/ja/helloglade2.po
|
|
404
|
+
- samples/po/ja/hello_noop.po
|
|
405
|
+
- samples/po/ja/hello.po
|
|
406
|
+
- samples/po/ja/hello_plural.po
|
|
407
|
+
- samples/po/pt_BR/hellotk.po
|
|
408
|
+
- samples/po/pt_BR/hellogtk.po
|
|
409
|
+
- samples/po/pt_BR/hello2.po
|
|
410
|
+
- samples/po/pt_BR/helloglade2.po
|
|
411
|
+
- samples/po/pt_BR/hello_noop.po
|
|
412
|
+
- samples/po/pt_BR/hello.po
|
|
413
|
+
- samples/po/pt_BR/hello_plural.po
|
|
414
|
+
- samples/po/cs/hellotk.po
|
|
415
|
+
- samples/po/cs/hellogtk.po
|
|
416
|
+
- samples/po/cs/hello2.po
|
|
417
|
+
- samples/po/cs/helloglade2.po
|
|
418
|
+
- samples/po/cs/hello_noop.po
|
|
419
|
+
- samples/po/cs/hello.po
|
|
420
|
+
- samples/po/cs/hello_plural.po
|
|
421
|
+
- samples/po/sv/hellotk.po
|
|
422
|
+
- samples/po/sv/hellogtk.po
|
|
423
|
+
- samples/po/sv/hello2.po
|
|
424
|
+
- samples/po/sv/helloglade2.po
|
|
425
|
+
- samples/po/sv/hello_noop.po
|
|
426
|
+
- samples/po/sv/hello.po
|
|
427
|
+
- samples/po/sv/hello_plural.po
|
|
428
|
+
- samples/po/es/hellotk.po
|
|
429
|
+
- samples/po/es/hellogtk.po
|
|
430
|
+
- samples/po/es/hello2.po
|
|
431
|
+
- samples/po/es/helloglade2.po
|
|
432
|
+
- samples/po/es/hello_noop.po
|
|
433
|
+
- samples/po/es/hello.po
|
|
434
|
+
- samples/po/es/hello_plural.po
|
|
435
|
+
- samples/po/nl/hellotk.po
|
|
436
|
+
- samples/po/nl/hellogtk.po
|
|
437
|
+
- samples/po/nl/hello2.po
|
|
438
|
+
- samples/po/nl/helloglade2.po
|
|
439
|
+
- samples/po/nl/hello_noop.po
|
|
440
|
+
- samples/po/nl/hello.po
|
|
441
|
+
- samples/po/nl/hello_plural.po
|
|
442
|
+
- samples/po/it/hellotk.po
|
|
443
|
+
- samples/po/it/hellogtk.po
|
|
444
|
+
- samples/po/it/hello2.po
|
|
445
|
+
- samples/po/it/helloglade2.po
|
|
446
|
+
- samples/po/it/hello_noop.po
|
|
447
|
+
- samples/po/it/hello.po
|
|
448
|
+
- samples/po/it/hello_plural.po
|
|
449
|
+
- samples/po/fr/hellotk.po
|
|
450
|
+
- samples/po/fr/hellogtk.po
|
|
451
|
+
- samples/po/fr/hello2.po
|
|
452
|
+
- samples/po/fr/helloglade2.po
|
|
453
|
+
- samples/po/fr/hello_noop.po
|
|
454
|
+
- samples/po/fr/hello.po
|
|
455
|
+
- samples/po/fr/hello_plural.po
|
|
456
|
+
- samples/locale/de
|
|
457
|
+
- samples/locale/ko
|
|
458
|
+
- samples/locale/ja
|
|
459
|
+
- samples/locale/pt_BR
|
|
460
|
+
- samples/locale/cs
|
|
461
|
+
- samples/locale/sv
|
|
462
|
+
- samples/locale/es
|
|
463
|
+
- samples/locale/nl
|
|
464
|
+
- samples/locale/it
|
|
465
|
+
- samples/locale/fr
|
|
466
|
+
- samples/locale/de/LC_MESSAGES
|
|
467
|
+
- samples/locale/de/LC_MESSAGES/helloglade2.mo
|
|
468
|
+
- samples/locale/de/LC_MESSAGES/hello.mo
|
|
469
|
+
- samples/locale/de/LC_MESSAGES/hello2.mo
|
|
470
|
+
- samples/locale/de/LC_MESSAGES/hellotk.mo
|
|
471
|
+
- samples/locale/de/LC_MESSAGES/hello_plural.mo
|
|
472
|
+
- samples/locale/de/LC_MESSAGES/hello_noop.mo
|
|
473
|
+
- samples/locale/de/LC_MESSAGES/hellogtk.mo
|
|
474
|
+
- samples/locale/ko/LC_MESSAGES
|
|
475
|
+
- samples/locale/ko/LC_MESSAGES/helloglade2.mo
|
|
476
|
+
- samples/locale/ko/LC_MESSAGES/hello.mo
|
|
477
|
+
- samples/locale/ko/LC_MESSAGES/hello2.mo
|
|
478
|
+
- samples/locale/ko/LC_MESSAGES/hellotk.mo
|
|
479
|
+
- samples/locale/ko/LC_MESSAGES/hello_plural.mo
|
|
480
|
+
- samples/locale/ko/LC_MESSAGES/hello_noop.mo
|
|
481
|
+
- samples/locale/ko/LC_MESSAGES/hellogtk.mo
|
|
482
|
+
- samples/locale/ja/LC_MESSAGES
|
|
483
|
+
- samples/locale/ja/LC_MESSAGES/helloglade2.mo
|
|
484
|
+
- samples/locale/ja/LC_MESSAGES/hello.mo
|
|
485
|
+
- samples/locale/ja/LC_MESSAGES/hello2.mo
|
|
486
|
+
- samples/locale/ja/LC_MESSAGES/hellotk.mo
|
|
487
|
+
- samples/locale/ja/LC_MESSAGES/hello_plural.mo
|
|
488
|
+
- samples/locale/ja/LC_MESSAGES/hello_noop.mo
|
|
489
|
+
- samples/locale/ja/LC_MESSAGES/hellogtk.mo
|
|
490
|
+
- samples/locale/pt_BR/LC_MESSAGES
|
|
491
|
+
- samples/locale/pt_BR/LC_MESSAGES/helloglade2.mo
|
|
492
|
+
- samples/locale/pt_BR/LC_MESSAGES/hello.mo
|
|
493
|
+
- samples/locale/pt_BR/LC_MESSAGES/hello2.mo
|
|
494
|
+
- samples/locale/pt_BR/LC_MESSAGES/hellotk.mo
|
|
495
|
+
- samples/locale/pt_BR/LC_MESSAGES/hello_plural.mo
|
|
496
|
+
- samples/locale/pt_BR/LC_MESSAGES/hello_noop.mo
|
|
497
|
+
- samples/locale/pt_BR/LC_MESSAGES/hellogtk.mo
|
|
498
|
+
- samples/locale/cs/LC_MESSAGES
|
|
499
|
+
- samples/locale/cs/LC_MESSAGES/helloglade2.mo
|
|
500
|
+
- samples/locale/cs/LC_MESSAGES/hello.mo
|
|
501
|
+
- samples/locale/cs/LC_MESSAGES/hello2.mo
|
|
502
|
+
- samples/locale/cs/LC_MESSAGES/hellotk.mo
|
|
503
|
+
- samples/locale/cs/LC_MESSAGES/hello_plural.mo
|
|
504
|
+
- samples/locale/cs/LC_MESSAGES/hello_noop.mo
|
|
505
|
+
- samples/locale/cs/LC_MESSAGES/hellogtk.mo
|
|
506
|
+
- samples/locale/sv/LC_MESSAGES
|
|
507
|
+
- samples/locale/sv/LC_MESSAGES/helloglade2.mo
|
|
508
|
+
- samples/locale/sv/LC_MESSAGES/hello.mo
|
|
509
|
+
- samples/locale/sv/LC_MESSAGES/hello2.mo
|
|
510
|
+
- samples/locale/sv/LC_MESSAGES/hellotk.mo
|
|
511
|
+
- samples/locale/sv/LC_MESSAGES/hello_plural.mo
|
|
512
|
+
- samples/locale/sv/LC_MESSAGES/hello_noop.mo
|
|
513
|
+
- samples/locale/sv/LC_MESSAGES/hellogtk.mo
|
|
514
|
+
- samples/locale/es/LC_MESSAGES
|
|
515
|
+
- samples/locale/es/LC_MESSAGES/helloglade2.mo
|
|
516
|
+
- samples/locale/es/LC_MESSAGES/hello.mo
|
|
517
|
+
- samples/locale/es/LC_MESSAGES/hello2.mo
|
|
518
|
+
- samples/locale/es/LC_MESSAGES/hellotk.mo
|
|
519
|
+
- samples/locale/es/LC_MESSAGES/hello_plural.mo
|
|
520
|
+
- samples/locale/es/LC_MESSAGES/hello_noop.mo
|
|
521
|
+
- samples/locale/es/LC_MESSAGES/hellogtk.mo
|
|
522
|
+
- samples/locale/nl/LC_MESSAGES
|
|
523
|
+
- samples/locale/nl/LC_MESSAGES/helloglade2.mo
|
|
524
|
+
- samples/locale/nl/LC_MESSAGES/hello.mo
|
|
525
|
+
- samples/locale/nl/LC_MESSAGES/hello2.mo
|
|
526
|
+
- samples/locale/nl/LC_MESSAGES/hellotk.mo
|
|
527
|
+
- samples/locale/nl/LC_MESSAGES/hello_plural.mo
|
|
528
|
+
- samples/locale/nl/LC_MESSAGES/hello_noop.mo
|
|
529
|
+
- samples/locale/nl/LC_MESSAGES/hellogtk.mo
|
|
530
|
+
- samples/locale/it/LC_MESSAGES
|
|
531
|
+
- samples/locale/it/LC_MESSAGES/helloglade2.mo
|
|
532
|
+
- samples/locale/it/LC_MESSAGES/hello.mo
|
|
533
|
+
- samples/locale/it/LC_MESSAGES/hello2.mo
|
|
534
|
+
- samples/locale/it/LC_MESSAGES/hellotk.mo
|
|
535
|
+
- samples/locale/it/LC_MESSAGES/hello_plural.mo
|
|
536
|
+
- samples/locale/it/LC_MESSAGES/hello_noop.mo
|
|
537
|
+
- samples/locale/it/LC_MESSAGES/hellogtk.mo
|
|
538
|
+
- samples/locale/fr/LC_MESSAGES
|
|
539
|
+
- samples/locale/fr/LC_MESSAGES/helloglade2.mo
|
|
540
|
+
- samples/locale/fr/LC_MESSAGES/hello.mo
|
|
541
|
+
- samples/locale/fr/LC_MESSAGES/hello2.mo
|
|
542
|
+
- samples/locale/fr/LC_MESSAGES/hellotk.mo
|
|
543
|
+
- samples/locale/fr/LC_MESSAGES/hello_plural.mo
|
|
544
|
+
- samples/locale/fr/LC_MESSAGES/hello_noop.mo
|
|
545
|
+
- samples/locale/fr/LC_MESSAGES/hellogtk.mo
|
|
546
|
+
- ext/gettext
|
|
547
|
+
- ext/gettext/gettext
|
|
548
|
+
- ext/gettext/gettext/extconf.rb
|
|
549
|
+
- ext/gettext/gettext/MANIFEST
|
|
550
|
+
- ext/gettext/gettext/_locale.c
|
|
551
|
+
- po/rgettext.pot
|
|
552
|
+
- po/de
|
|
553
|
+
- po/ko
|
|
554
|
+
- po/ja
|
|
555
|
+
- po/pt_BR
|
|
556
|
+
- po/cs
|
|
557
|
+
- po/sv
|
|
558
|
+
- po/es
|
|
559
|
+
- po/nl
|
|
560
|
+
- po/it
|
|
561
|
+
- po/rails.pot
|
|
562
|
+
- po/fr
|
|
563
|
+
- po/de/rgettext.po
|
|
564
|
+
- po/de/rails.po
|
|
565
|
+
- po/ko/rgettext.po
|
|
566
|
+
- po/ko/rails.po
|
|
567
|
+
- po/ja/rgettext.po
|
|
568
|
+
- po/ja/rails.po
|
|
569
|
+
- po/pt_BR/rgettext.po
|
|
570
|
+
- po/pt_BR/rails.po
|
|
571
|
+
- po/cs/rgettext.po
|
|
572
|
+
- po/cs/rails.po
|
|
573
|
+
- po/sv/rgettext.po
|
|
574
|
+
- po/es/rgettext.po
|
|
575
|
+
- po/es/rails.po
|
|
576
|
+
- po/nl/rgettext.po
|
|
577
|
+
- po/nl/rails.po
|
|
578
|
+
- po/it/rgettext.po
|
|
579
|
+
- po/fr/rgettext.po
|
|
580
|
+
- po/fr/rails.po
|
|
581
|
+
- lib/gettext
|
|
582
|
+
- lib/gettext.rb
|
|
583
|
+
- lib/gettext/locale_win32.rb
|
|
584
|
+
- lib/gettext/rmsgmerge.rb
|
|
585
|
+
- lib/gettext/locale_default.rb
|
|
586
|
+
- lib/gettext/poparser.rb
|
|
587
|
+
- lib/gettext/string.rb
|
|
588
|
+
- lib/gettext/container.rb
|
|
589
|
+
- lib/gettext/textdomain.rb
|
|
590
|
+
- lib/gettext/rgettext.rb
|
|
591
|
+
- lib/gettext/locale.rb
|
|
592
|
+
- lib/gettext/locale_table_win32.rb
|
|
593
|
+
- lib/gettext/iconv.rb
|
|
594
|
+
- lib/gettext/parser
|
|
595
|
+
- lib/gettext/utils.rb
|
|
596
|
+
- lib/gettext/mo.rb
|
|
597
|
+
- lib/gettext/version.rb
|
|
598
|
+
- lib/gettext/rmsgfmt.rb
|
|
599
|
+
- lib/gettext/rails.rb
|
|
600
|
+
- lib/gettext/cgi.rb
|
|
601
|
+
- lib/gettext/erb.rb
|
|
602
|
+
- lib/gettext/parser/activerecord.rb
|
|
603
|
+
- lib/gettext/parser/glade.rb
|
|
604
|
+
- lib/gettext/parser/ruby.rb
|
|
605
|
+
- lib/gettext/parser/erb.rb
|
|
606
|
+
- test/gettext_runner.rb
|
|
607
|
+
- test/gettext_test_parser.rb
|
|
608
|
+
- test/README
|
|
609
|
+
- test/testlib1.rb
|
|
610
|
+
- test/test_gladeparser.glade
|
|
611
|
+
- test/gettext_test.rb
|
|
612
|
+
- test/testlib2.rb
|
|
613
|
+
- test/test_sgettext.rb
|
|
614
|
+
- test/test_erb.rhtml
|
|
615
|
+
- test/test.sh
|
|
616
|
+
- test/testlib3.rb
|
|
617
|
+
- test/test_rubyparser_n.rb
|
|
618
|
+
- test/test_rubyparser_N.rb
|
|
619
|
+
- test/gettext_test_string.rb
|
|
620
|
+
- test/po
|
|
621
|
+
- test/test_rubyparser.rb
|
|
622
|
+
- test/locale
|
|
623
|
+
- test/gettext_test_cgi.rb
|
|
624
|
+
- test/testlib4.rb
|
|
625
|
+
- test/po/la
|
|
626
|
+
- test/po/ja
|
|
627
|
+
- test/po/cr
|
|
628
|
+
- test/po/li
|
|
629
|
+
- test/po/po
|
|
630
|
+
- test/po/ir
|
|
631
|
+
- test/po/da
|
|
632
|
+
- test/po/sl
|
|
633
|
+
- test/po/fr
|
|
634
|
+
- test/po/la/plural.po
|
|
635
|
+
- test/po/ja/plural_error.po
|
|
636
|
+
- test/po/ja/plural.po
|
|
637
|
+
- test/po/ja/test_sgettext.po
|
|
638
|
+
- test/po/ja/test_rubyparser.po
|
|
639
|
+
- test/po/ja/test1.po
|
|
640
|
+
- test/po/ja/test2.po
|
|
641
|
+
- test/po/cr/plural.po
|
|
642
|
+
- test/po/li/plural.po
|
|
643
|
+
- test/po/po/plural.po
|
|
644
|
+
- test/po/ir/plural.po
|
|
645
|
+
- test/po/da/plural_error.po
|
|
646
|
+
- test/po/da/plural.po
|
|
647
|
+
- test/po/sl/plural.po
|
|
648
|
+
- test/po/fr/plural_error.po
|
|
649
|
+
- test/po/fr/plural.po
|
|
650
|
+
- test/po/fr/test1.po
|
|
651
|
+
- test/po/fr/test2.po
|
|
652
|
+
- test/locale/la
|
|
653
|
+
- test/locale/ja
|
|
654
|
+
- test/locale/cr
|
|
655
|
+
- test/locale/li
|
|
656
|
+
- test/locale/po
|
|
657
|
+
- test/locale/ir
|
|
658
|
+
- test/locale/da
|
|
659
|
+
- test/locale/sl
|
|
660
|
+
- test/locale/fr
|
|
661
|
+
- test/locale/la/LC_MESSAGES
|
|
662
|
+
- test/locale/la/LC_MESSAGES/plural.mo
|
|
663
|
+
- test/locale/ja/LC_MESSAGES
|
|
664
|
+
- test/locale/ja/LC_MESSAGES/test_rubyparser.mo
|
|
665
|
+
- test/locale/ja/LC_MESSAGES/test1.mo
|
|
666
|
+
- test/locale/ja/LC_MESSAGES/test_sgettext.mo
|
|
667
|
+
- test/locale/ja/LC_MESSAGES/plural_error.mo
|
|
668
|
+
- test/locale/ja/LC_MESSAGES/test2.mo
|
|
669
|
+
- test/locale/ja/LC_MESSAGES/plural.mo
|
|
670
|
+
- test/locale/cr/LC_MESSAGES
|
|
671
|
+
- test/locale/cr/LC_MESSAGES/plural.mo
|
|
672
|
+
- test/locale/li/LC_MESSAGES
|
|
673
|
+
- test/locale/li/LC_MESSAGES/plural.mo
|
|
674
|
+
- test/locale/po/LC_MESSAGES
|
|
675
|
+
- test/locale/po/LC_MESSAGES/plural.mo
|
|
676
|
+
- test/locale/ir/LC_MESSAGES
|
|
677
|
+
- test/locale/ir/LC_MESSAGES/plural.mo
|
|
678
|
+
- test/locale/da/LC_MESSAGES
|
|
679
|
+
- test/locale/da/LC_MESSAGES/plural_error.mo
|
|
680
|
+
- test/locale/da/LC_MESSAGES/plural.mo
|
|
681
|
+
- test/locale/sl/LC_MESSAGES
|
|
682
|
+
- test/locale/sl/LC_MESSAGES/plural.mo
|
|
683
|
+
- test/locale/fr/LC_MESSAGES
|
|
684
|
+
- test/locale/fr/LC_MESSAGES/test1.mo
|
|
685
|
+
- test/locale/fr/LC_MESSAGES/plural_error.mo
|
|
686
|
+
- test/locale/fr/LC_MESSAGES/test2.mo
|
|
687
|
+
- test/locale/fr/LC_MESSAGES/plural.mo
|
|
688
|
+
- bin/rmsgfmt
|
|
689
|
+
- bin/rmsgmerge
|
|
690
|
+
- bin/rgettext
|
|
570
691
|
test_files: []
|
|
692
|
+
|
|
571
693
|
rdoc_options: []
|
|
694
|
+
|
|
572
695
|
extra_rdoc_files: []
|
|
696
|
+
|
|
573
697
|
executables:
|
|
574
|
-
|
|
575
|
-
|
|
698
|
+
- rmsgfmt
|
|
699
|
+
- rmsgmerge
|
|
700
|
+
- rgettext
|
|
576
701
|
extensions:
|
|
577
|
-
|
|
578
|
-
|
|
702
|
+
- ext/gettext/gettext/extconf.rb
|
|
703
|
+
- ext/gettext/gettext/extconf.rb
|
|
579
704
|
requirements: []
|
|
580
|
-
|
|
705
|
+
|
|
706
|
+
dependencies: []
|
|
707
|
+
|