experteer-gettext 2.0.4.1 → 2.0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +80 -79
- data/VERSION +1 -1
- data/lib/gettext/core_ext/string.rb +2 -2
- data/lib/gettext/parser/ruby.rb +37 -60
- data/lib/gettext/poparser.rb +121 -126
- data/lib/gettext/textdomain_manager.rb +1 -1
- data/lib/gettext/tools/rgettext.rb +53 -18
- data/lib/gettext/version.rb +1 -1
- data/po/bg/rgettext.po +56 -56
- data/po/bs/rgettext.po +56 -56
- data/po/ca/rgettext.po +57 -56
- data/po/cs/rgettext.po +61 -60
- data/po/de/rgettext.po +56 -56
- data/po/el/rgettext.po +55 -54
- data/po/eo/rgettext.po +56 -56
- data/po/es/rgettext.po +55 -55
- data/po/et/rgettext.po +55 -54
- data/po/fr/rgettext.po +58 -57
- data/po/hr/rgettext.po +56 -56
- data/po/hu/rgettext.po +57 -56
- data/po/it/rgettext.po +58 -58
- data/po/ja/rgettext.po +57 -56
- data/po/ko/rgettext.po +62 -61
- data/po/lv/rgettext.po +57 -56
- data/po/nb/rgettext.po +57 -56
- data/po/nl/rgettext.po +61 -61
- data/po/pt_BR/rgettext.po +57 -56
- data/po/rgettext.pot +45 -45
- data/po/ru/rgettext.po +57 -56
- data/po/sr/rgettext.po +56 -56
- data/po/sv/rgettext.po +53 -53
- data/po/ua/rgettext.po +57 -56
- data/po/vi/rgettext.po +55 -55
- data/po/zh/rgettext.po +55 -54
- data/po/zh_TW/rgettext.po +55 -54
- data/samples/cgi/po/bg/main.po +1 -1
- data/test/test_gettext.rb +0 -1
- data/test/test_parser.rb +72 -116
- data/test/test_string.rb +0 -8
- data/test/testlib/gettext.rb +0 -17
- data/test/testlib/ngettext.rb +1 -6
- data/test/testlib/pgettext.rb +0 -5
- metadata +2 -66
- data/gettext.gemspec +0 -493
- data/lib/gettext/translation_target.rb +0 -93
- data/test/README +0 -1
- data/test/Rakefile +0 -17
- data/test/po/cr/plural.po +0 -23
- data/test/po/da/plural.po +0 -22
- data/test/po/da/plural_error.po +0 -22
- data/test/po/fr/plural.po +0 -28
- data/test/po/fr/plural_error.po +0 -20
- data/test/po/fr/test1.po +0 -23
- data/test/po/fr/test2.po +0 -19
- data/test/po/ir/plural.po +0 -23
- data/test/po/ja/npgettext.po +0 -46
- data/test/po/ja/nsgettext.po +0 -65
- data/test/po/ja/pgettext.po +0 -41
- data/test/po/ja/plural.po +0 -28
- data/test/po/ja/plural_error.po +0 -20
- data/test/po/ja/rubyparser.po +0 -43
- data/test/po/ja/sgettext.po +0 -47
- data/test/po/ja/test1.po +0 -23
- data/test/po/ja/test2.po +0 -19
- data/test/po/ja/test3.po +0 -19
- data/test/po/la/plural.po +0 -23
- data/test/po/la/plural_error.po +0 -21
- data/test/po/li/plural.po +0 -23
- data/test/po/li/plural_error.po +0 -27
- data/test/po/po/plural.po +0 -23
- data/test/po/sl/plural.po +0 -24
- data/test/test_po_generation.rb +0 -20
- data/test/test_translation_target.rb +0 -29
- data/test/testlib/erb.rhtml +0 -15
- data/test/testlib/erb.rxml +0 -16
- data/test/testlib/gladeparser.glade +0 -183
- data/test/tools/files/app.pot +0 -0
- data/test/tools/files/de/app.po +0 -0
- data/test/tools/files/en/app.po +0 -0
- data/test/tools/files/en/test.po +0 -21
- data/test/tools/files/simple_1.po +0 -2
- data/test/tools/files/simple_2.po +0 -2
- data/test/tools/files/version.po +0 -7
- data/test/tools/test.pot +0 -21
data/samples/cgi/po/bg/main.po
CHANGED
@@ -32,7 +32,7 @@ msgstr ""
|
|
32
32
|
|
33
33
|
#: index.cgi:38
|
34
34
|
msgid "an ERB/CGI sample (Auto-Detect charset)."
|
35
|
-
msgstr "ERB/CGI пример (автоматично разпознаване на кодирането)."
|
35
|
+
msgstr "ERB/CGI пример (автоматично разпознаване на кодирането).""
|
36
36
|
|
37
37
|
#: index.cgi:50 cookie.cgi:44
|
38
38
|
msgid "Sample script for CGI/ERB and Ruby-GetText-Package"
|
data/test/test_gettext.rb
CHANGED
data/test/test_parser.rb
CHANGED
@@ -7,79 +7,66 @@ require 'gettext/tools/rgettext'
|
|
7
7
|
|
8
8
|
class TestGetTextParser < Test::Unit::TestCase
|
9
9
|
def test_ruby
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
assert_match /proper name/, t.extracted_comment
|
30
|
-
assert_match /Pronunciation/, t.extracted_comment
|
31
|
-
end
|
32
|
-
assert_target "self explaining", ['testlib/gettext.rb:102'] do |t|
|
33
|
-
assert_nil t.extracted_comment
|
34
|
-
end
|
35
|
-
# TODO: assert_target "in_quote", ['testlib/gettext.rb:96']
|
10
|
+
ary = GetText::RubyParser.parse('testlib/gettext.rb')
|
11
|
+
|
12
|
+
assert_equal(['aaa', 'testlib/gettext.rb:8'], ary[0])
|
13
|
+
assert_equal(['aaa\n', 'testlib/gettext.rb:12'], ary[1])
|
14
|
+
assert_equal(['bbb\nccc', 'testlib/gettext.rb:16'], ary[2])
|
15
|
+
assert_equal(['bbb\nccc\nddd\n', 'testlib/gettext.rb:20'], ary[3])
|
16
|
+
assert_equal(['eee', 'testlib/gettext.rb:27', 'testlib/gettext.rb:31'], ary[4])
|
17
|
+
assert_equal(['fff', 'testlib/gettext.rb:31'], ary[5])
|
18
|
+
assert_equal(['ggghhhiii', 'testlib/gettext.rb:35'], ary[6])
|
19
|
+
assert_equal(['a"b"c"', 'testlib/gettext.rb:41'], ary[7])
|
20
|
+
assert_equal(['d"e"f"', 'testlib/gettext.rb:45'], ary[8])
|
21
|
+
assert_equal(['jjj', 'testlib/gettext.rb:49'], ary[9])
|
22
|
+
assert_equal(['kkk', 'testlib/gettext.rb:50'], ary[10])
|
23
|
+
assert_equal(['lllmmm', 'testlib/gettext.rb:54'], ary[11])
|
24
|
+
assert_equal(['nnn\nooo', 'testlib/gettext.rb:62'], ary[12])
|
25
|
+
assert_equal(["\#", 'testlib/gettext.rb:66', 'testlib/gettext.rb:70'], ary[13])
|
26
|
+
assert_equal(["\\taaa", 'testlib/gettext.rb:74'], ary[14])
|
27
|
+
assert_equal(["Here document1\\nHere document2\\n", 'testlib/gettext.rb:78'], ary[15])
|
28
|
+
# assert_equal(["in_quote", 'testlib/gettext.rb:96'], ary[16])
|
36
29
|
end
|
37
30
|
|
38
31
|
def test_ruby_N
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
32
|
+
ary = GetText::RubyParser.parse('testlib/N_.rb')
|
33
|
+
|
34
|
+
assert_equal(['aaa', 'testlib/N_.rb:8'], ary[0])
|
35
|
+
assert_equal(['aaa\n', 'testlib/N_.rb:12'], ary[1])
|
36
|
+
assert_equal(['bbb\nccc', 'testlib/N_.rb:16'], ary[2])
|
37
|
+
assert_equal(['bbb\nccc\nddd\n', 'testlib/N_.rb:20'], ary[3])
|
38
|
+
assert_equal(['eee', 'testlib/N_.rb:27', 'testlib/N_.rb:31'], ary[4])
|
39
|
+
assert_equal(['fff', 'testlib/N_.rb:31'], ary[5])
|
40
|
+
assert_equal(['ggghhhiii', 'testlib/N_.rb:35'], ary[6])
|
41
|
+
assert_equal(['a"b"c"', 'testlib/N_.rb:41'], ary[7])
|
42
|
+
assert_equal(['d"e"f"', 'testlib/N_.rb:45'], ary[8])
|
43
|
+
assert_equal(['jjj', 'testlib/N_.rb:49'], ary[9])
|
44
|
+
assert_equal(['kkk', 'testlib/N_.rb:50'], ary[10])
|
45
|
+
assert_equal(['lllmmm', 'testlib/N_.rb:54'], ary[11])
|
46
|
+
assert_equal(['nnn\nooo', 'testlib/N_.rb:62'], ary[12])
|
54
47
|
end
|
55
48
|
|
56
49
|
def test_ruby_n
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
assert_plural_target "comment", "comments", ['testlib/ngettext.rb:76'] do |t|
|
70
|
-
assert_equal "please provide translations for all \n the plural forms!", t.extracted_comment
|
71
|
-
end
|
50
|
+
ary = GetText::RubyParser.parse('testlib/ngettext.rb')
|
51
|
+
assert_equal(["aaa\000aaa2", 'testlib/ngettext.rb:8'], ary[0])
|
52
|
+
assert_equal(["bbb\\n\000ccc2\\nccc2", 'testlib/ngettext.rb:12'], ary[1])
|
53
|
+
assert_equal(["ddd\\nddd\000ddd2\\nddd2", 'testlib/ngettext.rb:16'], ary[2])
|
54
|
+
assert_equal(["eee\\neee\\n\000eee2\\neee2\\n", 'testlib/ngettext.rb:21'], ary[3])
|
55
|
+
assert_equal(["ddd\\neee\\n\000ddd\\neee2", 'testlib/ngettext.rb:27'], ary[4])
|
56
|
+
assert_equal(["fff\000fff2", 'testlib/ngettext.rb:34', 'testlib/ngettext.rb:38'], ary[5])
|
57
|
+
assert_equal(["ggg\000ggg2", 'testlib/ngettext.rb:38'], ary[6])
|
58
|
+
assert_equal(["ggghhhiii\000jjjkkklll", 'testlib/ngettext.rb:42'], ary[7])
|
59
|
+
assert_equal(["a\"b\"c\"\000a\"b\"c\"2", 'testlib/ngettext.rb:51'], ary[8])
|
60
|
+
assert_equal(["mmmmmm\000mmm2mmm2", 'testlib/ngettext.rb:59'], ary[10])
|
61
|
+
assert_equal(["nnn\000nnn2", 'testlib/ngettext.rb:60'], ary[11])
|
72
62
|
end
|
73
63
|
|
74
64
|
def test_ruby_p
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
assert_target_in_context "program", "name", ['testlib/pgettext.rb:34'] do |t|
|
81
|
-
assert_equal "please translate 'name' in the context of 'program'.\n Hint: the translation should NOT contain the translation of 'program'.", t.extracted_comment
|
82
|
-
end
|
65
|
+
ary = GetText::RubyParser.parse('testlib/pgettext.rb')
|
66
|
+
assert_equal(["AAA\004BBB", "testlib/pgettext.rb:8", "testlib/pgettext.rb:12"], ary[0])
|
67
|
+
assert_equal(["AAA|BBB\004CCC", "testlib/pgettext.rb:16"], ary[1])
|
68
|
+
assert_equal(["AAA\004CCC", "testlib/pgettext.rb:20"], ary[2])
|
69
|
+
assert_equal(["CCC\004BBB", "testlib/pgettext.rb:24"], ary[3])
|
83
70
|
end
|
84
71
|
|
85
72
|
def test_glade
|
@@ -95,63 +82,32 @@ class TestGetTextParser < Test::Unit::TestCase
|
|
95
82
|
end
|
96
83
|
|
97
84
|
def testlib_erb
|
98
|
-
|
85
|
+
ary = GetText::ErbParser.parse('testlib/erb.rhtml')
|
99
86
|
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
87
|
+
assert_equal(['aaa', 'testlib/erb.rhtml:8'], ary[0])
|
88
|
+
assert_equal(['aaa\n', 'testlib/erb.rhtml:11'], ary[1])
|
89
|
+
assert_equal(['bbb', 'testlib/erb.rhtml:12'], ary[2])
|
90
|
+
assert_equal(["ccc1\000ccc2", 'testlib/erb.rhtml:13'], ary[3])
|
104
91
|
end
|
105
92
|
|
106
93
|
def test_rgettext_parse
|
107
94
|
GetText::ErbParser.init(:extnames => ['.rhtml', '.rxml'])
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
private
|
126
|
-
|
127
|
-
def assert_target(msgid, occurrences = nil)
|
128
|
-
t = @ary.detect {|elem| elem.msgid == msgid}
|
129
|
-
if t
|
130
|
-
if occurrences
|
131
|
-
assert_equal occurrences.sort, t.occurrences.sort, 'Translation target occurrences do not match.'
|
132
|
-
end
|
133
|
-
yield t if block_given?
|
134
|
-
else
|
135
|
-
flunk "Expected a translation target with id '#{msgid}'. Not found."
|
136
|
-
end
|
95
|
+
ary = GetText::RGetText.parse(['testlib/erb.rhtml'])
|
96
|
+
assert_equal(['aaa', 'testlib/erb.rhtml:8'], ary[0])
|
97
|
+
assert_equal(['aaa\n', 'testlib/erb.rhtml:11'], ary[1])
|
98
|
+
assert_equal(['bbb', 'testlib/erb.rhtml:12'], ary[2])
|
99
|
+
assert_equal(["ccc1\000ccc2", 'testlib/erb.rhtml:13'], ary[3])
|
100
|
+
|
101
|
+
ary = GetText::RGetText.parse(['testlib/erb.rxml'])
|
102
|
+
assert_equal(['aaa', 'testlib/erb.rxml:9'], ary[0])
|
103
|
+
assert_equal(['aaa\n', 'testlib/erb.rxml:12'], ary[1])
|
104
|
+
assert_equal(['bbb', 'testlib/erb.rxml:13'], ary[2])
|
105
|
+
assert_equal(["ccc1\000ccc2", 'testlib/erb.rxml:14'], ary[3])
|
106
|
+
|
107
|
+
|
108
|
+
ary = GetText::RGetText.parse(['testlib/ngettext.rb'])
|
109
|
+
assert_equal(["ooo\000ppp", 'testlib/ngettext.rb:64', 'testlib/ngettext.rb:65'], ary[12])
|
110
|
+
assert_equal(["qqq\000rrr", 'testlib/ngettext.rb:69', 'testlib/ngettext.rb:70'], ary[13])
|
137
111
|
end
|
138
112
|
|
139
|
-
def assert_plural_target(msgid, plural, occurrences = nil)
|
140
|
-
assert_target msgid, occurrences do |t|
|
141
|
-
assert_equal plural, t.plural, 'Expected plural form'
|
142
|
-
yield t if block_given?
|
143
|
-
end
|
144
|
-
end
|
145
|
-
|
146
|
-
def assert_target_in_context(msgid, msgctxt, occurrences = nil)
|
147
|
-
t = @ary.detect {|elem| elem.msgid == msgid && elem.msgctxt == msgctxt}
|
148
|
-
if t
|
149
|
-
if occurrences
|
150
|
-
assert_equal occurrences.sort, t.occurrences.sort, 'Translation target occurrences do not match.'
|
151
|
-
end
|
152
|
-
yield t if block_given?
|
153
|
-
else
|
154
|
-
flunk "Expected a translation target with id '#{msgid}' and context '#{msgctxt}'. Not found."
|
155
|
-
end
|
156
|
-
end
|
157
113
|
end
|
data/test/test_string.rb
CHANGED
@@ -12,13 +12,6 @@ class TestGetTextString < Test::Unit::TestCase
|
|
12
12
|
assert_raise(ArgumentError) { "%-%" % [1] }
|
13
13
|
end
|
14
14
|
|
15
|
-
def test_sprintf_placeholder_include_non_english
|
16
|
-
assert_equal("a", "%{foo+foo}" % {"foo+foo".to_sym => "a"})
|
17
|
-
assert_equal("a", "%{foo.foo}" % {"foo.foo".to_sym => "a"})
|
18
|
-
assert_equal("a }", "%{foo+foo} }" % {"foo+foo".to_sym => "a"})
|
19
|
-
assert_equal("a { b }", "%{foo+foo} { %{bar bar-} }" % {"foo+foo".to_sym => "a", "bar bar-".to_sym => "b"})
|
20
|
-
end
|
21
|
-
|
22
15
|
def test_percent
|
23
16
|
assert_equal("% 1", "%% %<num>d" % {:num => 1.0})
|
24
17
|
assert_equal("%{num} %<num>d", "%%{num} %%<num>d" % {:num => 1})
|
@@ -46,7 +39,6 @@ class TestGetTextString < Test::Unit::TestCase
|
|
46
39
|
assert_equal(" 1", "%<num>3.0f" % {:num => 1.0})
|
47
40
|
assert_equal("100.00", "%<num>2.2f" % {:num => 100.0})
|
48
41
|
assert_equal("0x64", "%<num>#x" % {:num => 100.0})
|
49
|
-
assert_equal("a", "%<foo.foo>s" % {"foo.foo".to_sym => "a"})
|
50
42
|
assert_raise(ArgumentError) { "%<num>,d" % {:num => 100} }
|
51
43
|
assert_raise(ArgumentError) { "%<num>/d" % {:num => 100} }
|
52
44
|
end
|
data/test/testlib/gettext.rb
CHANGED
@@ -85,23 +85,6 @@ EOF
|
|
85
85
|
def test_18
|
86
86
|
"<div>#{_('in_quote')}</div>"
|
87
87
|
end
|
88
|
-
|
89
|
-
def about
|
90
|
-
puts (
|
91
|
-
# TRANSLATORS: This is a proper name. See the gettext
|
92
|
-
# manual, section Names. Note this is actually a non-ASCII
|
93
|
-
# name: The first name is (with Unicode escapes)
|
94
|
-
# "Fran\u00e7ois" or (with HTML entities) "François".
|
95
|
-
# Pronunciation is like "fraa-swa pee-nar".
|
96
|
-
# This is an example from GNU gettext documentation.
|
97
|
-
_("Francois Pinard"))
|
98
|
-
|
99
|
-
puts (
|
100
|
-
# This comment should not be extracted because it does
|
101
|
-
# not start with 'TRANSLATORS:'
|
102
|
-
_('self explaining'))
|
103
|
-
end
|
104
|
-
|
105
88
|
end
|
106
89
|
|
107
90
|
module ActionController
|
data/test/testlib/ngettext.rb
CHANGED
@@ -67,13 +67,8 @@ eee2", 1)
|
|
67
67
|
|
68
68
|
def test_11
|
69
69
|
n_("qqq", "rrr", 1)
|
70
|
-
n_("qqq", "sss", 1) # This is merged to "qqq"
|
70
|
+
n_("qqq", "sss", 1) # This is merged to "qqq\000rrr".
|
71
71
|
end
|
72
72
|
|
73
|
-
def extracted_comments
|
74
|
-
# TRANSLATORS:please provide translations for all
|
75
|
-
# the plural forms!
|
76
|
-
n_('comment', 'comments', 2)
|
77
|
-
end
|
78
73
|
end
|
79
74
|
|
data/test/testlib/pgettext.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: experteer-gettext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.4.
|
4
|
+
version: 2.0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masao Mutoh
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-23 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -45,7 +45,6 @@ files:
|
|
45
45
|
- bin/rgettext
|
46
46
|
- bin/rmsgfmt
|
47
47
|
- bin/rmsgmerge
|
48
|
-
- gettext.gemspec
|
49
48
|
- lib/gettext.rb
|
50
49
|
- lib/gettext/cgi.rb
|
51
50
|
- lib/gettext/class_info.rb
|
@@ -64,7 +63,6 @@ files:
|
|
64
63
|
- lib/gettext/tools/rgettext.rb
|
65
64
|
- lib/gettext/tools/rmsgfmt.rb
|
66
65
|
- lib/gettext/tools/rmsgmerge.rb
|
67
|
-
- lib/gettext/translation_target.rb
|
68
66
|
- lib/gettext/utils.rb
|
69
67
|
- lib/gettext/version.rb
|
70
68
|
- po/bg/rgettext.po
|
@@ -398,66 +396,6 @@ files:
|
|
398
396
|
- samples/po/zh_TW/hello_noop.po
|
399
397
|
- samples/po/zh_TW/hello_plural.po
|
400
398
|
- samples/po/zh_TW/hello_tk.po
|
401
|
-
- test/README
|
402
|
-
- test/Rakefile
|
403
|
-
- test/po/cr/plural.po
|
404
|
-
- test/po/da/plural.po
|
405
|
-
- test/po/da/plural_error.po
|
406
|
-
- test/po/fr/plural.po
|
407
|
-
- test/po/fr/plural_error.po
|
408
|
-
- test/po/fr/test1.po
|
409
|
-
- test/po/fr/test2.po
|
410
|
-
- test/po/ir/plural.po
|
411
|
-
- test/po/ja/npgettext.po
|
412
|
-
- test/po/ja/nsgettext.po
|
413
|
-
- test/po/ja/pgettext.po
|
414
|
-
- test/po/ja/plural.po
|
415
|
-
- test/po/ja/plural_error.po
|
416
|
-
- test/po/ja/rubyparser.po
|
417
|
-
- test/po/ja/sgettext.po
|
418
|
-
- test/po/ja/test1.po
|
419
|
-
- test/po/ja/test2.po
|
420
|
-
- test/po/ja/test3.po
|
421
|
-
- test/po/la/plural.po
|
422
|
-
- test/po/la/plural_error.po
|
423
|
-
- test/po/li/plural.po
|
424
|
-
- test/po/li/plural_error.po
|
425
|
-
- test/po/po/plural.po
|
426
|
-
- test/po/sl/plural.po
|
427
|
-
- test/test_class_info.rb
|
428
|
-
- test/test_gettext.rb
|
429
|
-
- test/test_locale_path.rb
|
430
|
-
- test/test_parser.rb
|
431
|
-
- test/test_po_generation.rb
|
432
|
-
- test/test_string.rb
|
433
|
-
- test/test_textdomain_bind.rb
|
434
|
-
- test/test_textdomain_multi.rb
|
435
|
-
- test/test_textdomain_toplevel.rb
|
436
|
-
- test/test_thread.rb
|
437
|
-
- test/test_translation_target.rb
|
438
|
-
- test/testlib/N_.rb
|
439
|
-
- test/testlib/erb.rhtml
|
440
|
-
- test/testlib/erb.rxml
|
441
|
-
- test/testlib/gettext.rb
|
442
|
-
- test/testlib/gladeparser.glade
|
443
|
-
- test/testlib/helper.rb
|
444
|
-
- test/testlib/multi_textdomain.rb
|
445
|
-
- test/testlib/ngettext.rb
|
446
|
-
- test/testlib/npgettext.rb
|
447
|
-
- test/testlib/nsgettext.rb
|
448
|
-
- test/testlib/pgettext.rb
|
449
|
-
- test/testlib/sgettext.rb
|
450
|
-
- test/testlib/simple.rb
|
451
|
-
- test/tools/files/app.pot
|
452
|
-
- test/tools/files/de/app.po
|
453
|
-
- test/tools/files/en/app.po
|
454
|
-
- test/tools/files/en/test.po
|
455
|
-
- test/tools/files/simple_1.po
|
456
|
-
- test/tools/files/simple_2.po
|
457
|
-
- test/tools/files/simple_translation.rb
|
458
|
-
- test/tools/files/version.po
|
459
|
-
- test/tools/test.pot
|
460
|
-
- test/tools/test_tools.rb
|
461
399
|
has_rdoc: false
|
462
400
|
homepage: http://gettext.rubyforge.org/
|
463
401
|
licenses:
|
@@ -505,7 +443,5 @@ test_files:
|
|
505
443
|
- test/tools/files/simple_translation.rb
|
506
444
|
- test/tools/test_tools.rb
|
507
445
|
- test/test_parser.rb
|
508
|
-
- test/test_translation_target.rb
|
509
|
-
- test/test_po_generation.rb
|
510
446
|
- test/test_textdomain_multi.rb
|
511
447
|
- test/test_textdomain_toplevel.rb
|
data/gettext.gemspec
DELETED
@@ -1,493 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{gettext}
|
8
|
-
s.version = "2.0.4.1"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Masao Mutoh"]
|
12
|
-
s.date = %q{2009-09-08}
|
13
|
-
s.description = %q{ Ruby-GetText-Package is a GNU GetText-like program for Ruby.
|
14
|
-
The catalog file(po-file) is same format with GNU GetText.
|
15
|
-
So you can use GNU GetText tools for maintaining.
|
16
|
-
}
|
17
|
-
s.email = %q{mutomasa at gmail.com}
|
18
|
-
s.executables = ["rgettext", "rmsgfmt", "rmsgmerge"]
|
19
|
-
s.extra_rdoc_files = [
|
20
|
-
"ChangeLog",
|
21
|
-
"ChangeLog-1",
|
22
|
-
"README.rdoc"
|
23
|
-
]
|
24
|
-
s.files = [
|
25
|
-
"COPYING",
|
26
|
-
"ChangeLog",
|
27
|
-
"ChangeLog-1",
|
28
|
-
"NEWS-1",
|
29
|
-
"README.rdoc",
|
30
|
-
"Rakefile",
|
31
|
-
"VERSION",
|
32
|
-
"bin/rgettext",
|
33
|
-
"bin/rmsgfmt",
|
34
|
-
"bin/rmsgmerge",
|
35
|
-
"gettext.gemspec",
|
36
|
-
"lib/gettext.rb",
|
37
|
-
"lib/gettext/cgi.rb",
|
38
|
-
"lib/gettext/class_info.rb",
|
39
|
-
"lib/gettext/core_ext/iconv.rb",
|
40
|
-
"lib/gettext/core_ext/string.rb",
|
41
|
-
"lib/gettext/locale_path.rb",
|
42
|
-
"lib/gettext/mofile.rb",
|
43
|
-
"lib/gettext/parser/erb.rb",
|
44
|
-
"lib/gettext/parser/glade.rb",
|
45
|
-
"lib/gettext/parser/ruby.rb",
|
46
|
-
"lib/gettext/poparser.rb",
|
47
|
-
"lib/gettext/textdomain.rb",
|
48
|
-
"lib/gettext/textdomain_group.rb",
|
49
|
-
"lib/gettext/textdomain_manager.rb",
|
50
|
-
"lib/gettext/tools.rb",
|
51
|
-
"lib/gettext/tools/rgettext.rb",
|
52
|
-
"lib/gettext/tools/rmsgfmt.rb",
|
53
|
-
"lib/gettext/tools/rmsgmerge.rb",
|
54
|
-
"lib/gettext/translation_target.rb",
|
55
|
-
"lib/gettext/utils.rb",
|
56
|
-
"lib/gettext/version.rb",
|
57
|
-
"po/bg/rgettext.po",
|
58
|
-
"po/bs/rgettext.po",
|
59
|
-
"po/ca/rgettext.po",
|
60
|
-
"po/cs/rgettext.po",
|
61
|
-
"po/de/rgettext.po",
|
62
|
-
"po/el/rgettext.po",
|
63
|
-
"po/eo/rgettext.po",
|
64
|
-
"po/es/rgettext.po",
|
65
|
-
"po/et/rgettext.po",
|
66
|
-
"po/fr/rgettext.po",
|
67
|
-
"po/hr/rgettext.po",
|
68
|
-
"po/hu/rgettext.po",
|
69
|
-
"po/it/rgettext.po",
|
70
|
-
"po/ja/rgettext.po",
|
71
|
-
"po/ko/rgettext.po",
|
72
|
-
"po/lv/rgettext.po",
|
73
|
-
"po/nb/rgettext.po",
|
74
|
-
"po/nl/rgettext.po",
|
75
|
-
"po/pt_BR/rgettext.po",
|
76
|
-
"po/rgettext.pot",
|
77
|
-
"po/ru/rgettext.po",
|
78
|
-
"po/sr/rgettext.po",
|
79
|
-
"po/sv/rgettext.po",
|
80
|
-
"po/ua/rgettext.po",
|
81
|
-
"po/vi/rgettext.po",
|
82
|
-
"po/zh/rgettext.po",
|
83
|
-
"po/zh_TW/rgettext.po",
|
84
|
-
"samples/README",
|
85
|
-
"samples/cgi/README",
|
86
|
-
"samples/cgi/Rakefile",
|
87
|
-
"samples/cgi/cookie.cgi",
|
88
|
-
"samples/cgi/gettext.css",
|
89
|
-
"samples/cgi/helloerb.rhtml",
|
90
|
-
"samples/cgi/helloerb1.cgi",
|
91
|
-
"samples/cgi/helloerb2.cgi",
|
92
|
-
"samples/cgi/hellolib.rb",
|
93
|
-
"samples/cgi/http.rb",
|
94
|
-
"samples/cgi/index.cgi",
|
95
|
-
"samples/cgi/other.rhtml",
|
96
|
-
"samples/cgi/po/bg/helloerb1.po",
|
97
|
-
"samples/cgi/po/bg/helloerb2.po",
|
98
|
-
"samples/cgi/po/bg/hellolib.po",
|
99
|
-
"samples/cgi/po/bg/main.po",
|
100
|
-
"samples/cgi/po/bs/helloerb1.po",
|
101
|
-
"samples/cgi/po/bs/helloerb2.po",
|
102
|
-
"samples/cgi/po/bs/hellolib.po",
|
103
|
-
"samples/cgi/po/bs/main.po",
|
104
|
-
"samples/cgi/po/ca/helloerb1.po",
|
105
|
-
"samples/cgi/po/ca/helloerb2.po",
|
106
|
-
"samples/cgi/po/ca/hellolib.po",
|
107
|
-
"samples/cgi/po/ca/main.po",
|
108
|
-
"samples/cgi/po/cs/helloerb1.po",
|
109
|
-
"samples/cgi/po/cs/helloerb2.po",
|
110
|
-
"samples/cgi/po/cs/hellolib.po",
|
111
|
-
"samples/cgi/po/cs/main.po",
|
112
|
-
"samples/cgi/po/de/helloerb1.po",
|
113
|
-
"samples/cgi/po/de/helloerb2.po",
|
114
|
-
"samples/cgi/po/de/hellolib.po",
|
115
|
-
"samples/cgi/po/de/main.po",
|
116
|
-
"samples/cgi/po/el/helloerb1.po",
|
117
|
-
"samples/cgi/po/el/helloerb2.po",
|
118
|
-
"samples/cgi/po/el/hellolib.po",
|
119
|
-
"samples/cgi/po/el/main.po",
|
120
|
-
"samples/cgi/po/eo/helloerb1.po",
|
121
|
-
"samples/cgi/po/eo/helloerb2.po",
|
122
|
-
"samples/cgi/po/eo/hellolib.po",
|
123
|
-
"samples/cgi/po/eo/main.po",
|
124
|
-
"samples/cgi/po/es/helloerb1.po",
|
125
|
-
"samples/cgi/po/es/helloerb2.po",
|
126
|
-
"samples/cgi/po/es/hellolib.po",
|
127
|
-
"samples/cgi/po/es/main.po",
|
128
|
-
"samples/cgi/po/fr/helloerb1.po",
|
129
|
-
"samples/cgi/po/fr/helloerb2.po",
|
130
|
-
"samples/cgi/po/fr/hellolib.po",
|
131
|
-
"samples/cgi/po/fr/main.po",
|
132
|
-
"samples/cgi/po/helloerb1.pot",
|
133
|
-
"samples/cgi/po/helloerb2.pot",
|
134
|
-
"samples/cgi/po/hellolib.pot",
|
135
|
-
"samples/cgi/po/hr/helloerb1.po",
|
136
|
-
"samples/cgi/po/hr/helloerb2.po",
|
137
|
-
"samples/cgi/po/hr/hellolib.po",
|
138
|
-
"samples/cgi/po/hr/main.po",
|
139
|
-
"samples/cgi/po/hu/helloerb1.po",
|
140
|
-
"samples/cgi/po/hu/helloerb2.po",
|
141
|
-
"samples/cgi/po/hu/hellolib.po",
|
142
|
-
"samples/cgi/po/hu/main.po",
|
143
|
-
"samples/cgi/po/it/helloerb1.po",
|
144
|
-
"samples/cgi/po/it/helloerb2.po",
|
145
|
-
"samples/cgi/po/it/hellolib.po",
|
146
|
-
"samples/cgi/po/it/main.po",
|
147
|
-
"samples/cgi/po/ja/helloerb1.po",
|
148
|
-
"samples/cgi/po/ja/helloerb2.po",
|
149
|
-
"samples/cgi/po/ja/hellolib.po",
|
150
|
-
"samples/cgi/po/ja/main.po",
|
151
|
-
"samples/cgi/po/ko/helloerb1.po",
|
152
|
-
"samples/cgi/po/ko/helloerb2.po",
|
153
|
-
"samples/cgi/po/ko/hellolib.po",
|
154
|
-
"samples/cgi/po/ko/main.po",
|
155
|
-
"samples/cgi/po/lv/helloerb1.po",
|
156
|
-
"samples/cgi/po/lv/helloerb2.po",
|
157
|
-
"samples/cgi/po/lv/hellolib.po",
|
158
|
-
"samples/cgi/po/lv/main.po",
|
159
|
-
"samples/cgi/po/main.pot",
|
160
|
-
"samples/cgi/po/nb/helloerb1.po",
|
161
|
-
"samples/cgi/po/nb/helloerb2.po",
|
162
|
-
"samples/cgi/po/nb/hellolib.po",
|
163
|
-
"samples/cgi/po/nb/main.po",
|
164
|
-
"samples/cgi/po/nl/helloerb1.po",
|
165
|
-
"samples/cgi/po/nl/helloerb2.po",
|
166
|
-
"samples/cgi/po/nl/hellolib.po",
|
167
|
-
"samples/cgi/po/nl/main.po",
|
168
|
-
"samples/cgi/po/pt_BR/helloerb1.po",
|
169
|
-
"samples/cgi/po/pt_BR/helloerb2.po",
|
170
|
-
"samples/cgi/po/pt_BR/hellolib.po",
|
171
|
-
"samples/cgi/po/pt_BR/main.po",
|
172
|
-
"samples/cgi/po/ru/helloerb1.po",
|
173
|
-
"samples/cgi/po/ru/helloerb2.po",
|
174
|
-
"samples/cgi/po/ru/hellolib.po",
|
175
|
-
"samples/cgi/po/ru/main.po",
|
176
|
-
"samples/cgi/po/sr/helloerb1.po",
|
177
|
-
"samples/cgi/po/sr/helloerb2.po",
|
178
|
-
"samples/cgi/po/sr/hellolib.po",
|
179
|
-
"samples/cgi/po/sr/main.po",
|
180
|
-
"samples/cgi/po/ua/helloerb1.po",
|
181
|
-
"samples/cgi/po/ua/helloerb2.po",
|
182
|
-
"samples/cgi/po/ua/hellolib.po",
|
183
|
-
"samples/cgi/po/ua/main.po",
|
184
|
-
"samples/cgi/po/vi/helloerb1.po",
|
185
|
-
"samples/cgi/po/vi/helloerb2.po",
|
186
|
-
"samples/cgi/po/vi/hellolib.po",
|
187
|
-
"samples/cgi/po/vi/main.po",
|
188
|
-
"samples/cgi/po/zh/helloerb1.po",
|
189
|
-
"samples/cgi/po/zh/helloerb2.po",
|
190
|
-
"samples/cgi/po/zh/hellolib.po",
|
191
|
-
"samples/cgi/po/zh/main.po",
|
192
|
-
"samples/cgi/po/zh_TW/helloerb1.po",
|
193
|
-
"samples/cgi/po/zh_TW/helloerb2.po",
|
194
|
-
"samples/cgi/po/zh_TW/hellolib.po",
|
195
|
-
"samples/cgi/po/zh_TW/main.po",
|
196
|
-
"samples/hello.rb",
|
197
|
-
"samples/hello2.rb",
|
198
|
-
"samples/hello_glade2.glade",
|
199
|
-
"samples/hello_glade2.rb",
|
200
|
-
"samples/hello_gtk2.rb",
|
201
|
-
"samples/hello_noop.rb",
|
202
|
-
"samples/hello_plural.rb",
|
203
|
-
"samples/hello_tk.rb",
|
204
|
-
"samples/makemo.rb",
|
205
|
-
"samples/po/bg/hello.po",
|
206
|
-
"samples/po/bg/hello2.po",
|
207
|
-
"samples/po/bg/hello_glade2.po",
|
208
|
-
"samples/po/bg/hello_gtk.po",
|
209
|
-
"samples/po/bg/hello_noop.po",
|
210
|
-
"samples/po/bg/hello_plural.po",
|
211
|
-
"samples/po/bg/hello_tk.po",
|
212
|
-
"samples/po/bs/hello.po",
|
213
|
-
"samples/po/bs/hello2.po",
|
214
|
-
"samples/po/bs/hello_glade2.po",
|
215
|
-
"samples/po/bs/hello_gtk.po",
|
216
|
-
"samples/po/bs/hello_noop.po",
|
217
|
-
"samples/po/bs/hello_plural.po",
|
218
|
-
"samples/po/bs/hello_tk.po",
|
219
|
-
"samples/po/ca/hello.po",
|
220
|
-
"samples/po/ca/hello2.po",
|
221
|
-
"samples/po/ca/hello_glade2.po",
|
222
|
-
"samples/po/ca/hello_gtk.po",
|
223
|
-
"samples/po/ca/hello_noop.po",
|
224
|
-
"samples/po/ca/hello_plural.po",
|
225
|
-
"samples/po/ca/hello_tk.po",
|
226
|
-
"samples/po/cs/hello.po",
|
227
|
-
"samples/po/cs/hello2.po",
|
228
|
-
"samples/po/cs/hello_glade2.po",
|
229
|
-
"samples/po/cs/hello_gtk.po",
|
230
|
-
"samples/po/cs/hello_noop.po",
|
231
|
-
"samples/po/cs/hello_plural.po",
|
232
|
-
"samples/po/cs/hello_tk.po",
|
233
|
-
"samples/po/de/hello.po",
|
234
|
-
"samples/po/de/hello2.po",
|
235
|
-
"samples/po/de/hello_glade2.po",
|
236
|
-
"samples/po/de/hello_gtk.po",
|
237
|
-
"samples/po/de/hello_noop.po",
|
238
|
-
"samples/po/de/hello_plural.po",
|
239
|
-
"samples/po/de/hello_tk.po",
|
240
|
-
"samples/po/el/hello.po",
|
241
|
-
"samples/po/el/hello2.po",
|
242
|
-
"samples/po/el/hello_glade2.po",
|
243
|
-
"samples/po/el/hello_gtk.po",
|
244
|
-
"samples/po/el/hello_noop.po",
|
245
|
-
"samples/po/el/hello_plural.po",
|
246
|
-
"samples/po/el/hello_tk.po",
|
247
|
-
"samples/po/eo/hello.po",
|
248
|
-
"samples/po/eo/hello2.po",
|
249
|
-
"samples/po/eo/hello_glade2.po",
|
250
|
-
"samples/po/eo/hello_gtk.po",
|
251
|
-
"samples/po/eo/hello_noop.po",
|
252
|
-
"samples/po/eo/hello_plural.po",
|
253
|
-
"samples/po/eo/hello_tk.po",
|
254
|
-
"samples/po/es/hello.po",
|
255
|
-
"samples/po/es/hello2.po",
|
256
|
-
"samples/po/es/hello_glade2.po",
|
257
|
-
"samples/po/es/hello_gtk.po",
|
258
|
-
"samples/po/es/hello_noop.po",
|
259
|
-
"samples/po/es/hello_plural.po",
|
260
|
-
"samples/po/es/hello_tk.po",
|
261
|
-
"samples/po/fr/hello.po",
|
262
|
-
"samples/po/fr/hello2.po",
|
263
|
-
"samples/po/fr/hello_glade2.po",
|
264
|
-
"samples/po/fr/hello_gtk.po",
|
265
|
-
"samples/po/fr/hello_noop.po",
|
266
|
-
"samples/po/fr/hello_plural.po",
|
267
|
-
"samples/po/fr/hello_tk.po",
|
268
|
-
"samples/po/hello.pot",
|
269
|
-
"samples/po/hello2.pot",
|
270
|
-
"samples/po/hello_glade2.pot",
|
271
|
-
"samples/po/hello_gtk.pot",
|
272
|
-
"samples/po/hello_noop.pot",
|
273
|
-
"samples/po/hello_plural.pot",
|
274
|
-
"samples/po/hello_tk.pot",
|
275
|
-
"samples/po/hr/hello.po",
|
276
|
-
"samples/po/hr/hello2.po",
|
277
|
-
"samples/po/hr/hello_glade2.po",
|
278
|
-
"samples/po/hr/hello_gtk.po",
|
279
|
-
"samples/po/hr/hello_noop.po",
|
280
|
-
"samples/po/hr/hello_plural.po",
|
281
|
-
"samples/po/hr/hello_tk.po",
|
282
|
-
"samples/po/hu/hello.po",
|
283
|
-
"samples/po/hu/hello2.po",
|
284
|
-
"samples/po/hu/hello_glade2.po",
|
285
|
-
"samples/po/hu/hello_gtk.po",
|
286
|
-
"samples/po/hu/hello_noop.po",
|
287
|
-
"samples/po/hu/hello_plural.po",
|
288
|
-
"samples/po/hu/hello_tk.po",
|
289
|
-
"samples/po/it/hello.po",
|
290
|
-
"samples/po/it/hello2.po",
|
291
|
-
"samples/po/it/hello_glade2.po",
|
292
|
-
"samples/po/it/hello_gtk.po",
|
293
|
-
"samples/po/it/hello_noop.po",
|
294
|
-
"samples/po/it/hello_plural.po",
|
295
|
-
"samples/po/it/hello_tk.po",
|
296
|
-
"samples/po/ja/hello.po",
|
297
|
-
"samples/po/ja/hello2.po",
|
298
|
-
"samples/po/ja/hello_glade2.po",
|
299
|
-
"samples/po/ja/hello_gtk.po",
|
300
|
-
"samples/po/ja/hello_noop.po",
|
301
|
-
"samples/po/ja/hello_plural.po",
|
302
|
-
"samples/po/ja/hello_tk.po",
|
303
|
-
"samples/po/ko/hello.po",
|
304
|
-
"samples/po/ko/hello2.po",
|
305
|
-
"samples/po/ko/hello_glade2.po",
|
306
|
-
"samples/po/ko/hello_gtk.po",
|
307
|
-
"samples/po/ko/hello_noop.po",
|
308
|
-
"samples/po/ko/hello_plural.po",
|
309
|
-
"samples/po/ko/hello_tk.po",
|
310
|
-
"samples/po/lv/hello.po",
|
311
|
-
"samples/po/lv/hello2.po",
|
312
|
-
"samples/po/lv/hello_glade2.po",
|
313
|
-
"samples/po/lv/hello_gtk.po",
|
314
|
-
"samples/po/lv/hello_noop.po",
|
315
|
-
"samples/po/lv/hello_plural.po",
|
316
|
-
"samples/po/lv/hello_tk.po",
|
317
|
-
"samples/po/nb/hello.po",
|
318
|
-
"samples/po/nb/hello2.po",
|
319
|
-
"samples/po/nb/hello_glade2.po",
|
320
|
-
"samples/po/nb/hello_gtk.po",
|
321
|
-
"samples/po/nb/hello_noop.po",
|
322
|
-
"samples/po/nb/hello_plural.po",
|
323
|
-
"samples/po/nb/hello_tk.po",
|
324
|
-
"samples/po/nl/hello.po",
|
325
|
-
"samples/po/nl/hello2.po",
|
326
|
-
"samples/po/nl/hello_glade2.po",
|
327
|
-
"samples/po/nl/hello_gtk.po",
|
328
|
-
"samples/po/nl/hello_noop.po",
|
329
|
-
"samples/po/nl/hello_plural.po",
|
330
|
-
"samples/po/nl/hello_tk.po",
|
331
|
-
"samples/po/pt_BR/hello.po",
|
332
|
-
"samples/po/pt_BR/hello2.po",
|
333
|
-
"samples/po/pt_BR/hello_glade2.po",
|
334
|
-
"samples/po/pt_BR/hello_gtk.po",
|
335
|
-
"samples/po/pt_BR/hello_noop.po",
|
336
|
-
"samples/po/pt_BR/hello_plural.po",
|
337
|
-
"samples/po/pt_BR/hello_tk.po",
|
338
|
-
"samples/po/ru/hello.po",
|
339
|
-
"samples/po/ru/hello2.po",
|
340
|
-
"samples/po/ru/hello_glade2.po",
|
341
|
-
"samples/po/ru/hello_gtk.po",
|
342
|
-
"samples/po/ru/hello_noop.po",
|
343
|
-
"samples/po/ru/hello_plural.po",
|
344
|
-
"samples/po/ru/hello_tk.po",
|
345
|
-
"samples/po/sr/hello.po",
|
346
|
-
"samples/po/sr/hello2.po",
|
347
|
-
"samples/po/sr/hello_glade2.po",
|
348
|
-
"samples/po/sr/hello_gtk.po",
|
349
|
-
"samples/po/sr/hello_noop.po",
|
350
|
-
"samples/po/sr/hello_plural.po",
|
351
|
-
"samples/po/sr/hello_tk.po",
|
352
|
-
"samples/po/sv/hello.po",
|
353
|
-
"samples/po/sv/hello2.po",
|
354
|
-
"samples/po/sv/hello_glade2.po",
|
355
|
-
"samples/po/sv/hello_gtk.po",
|
356
|
-
"samples/po/sv/hello_noop.po",
|
357
|
-
"samples/po/sv/hello_plural.po",
|
358
|
-
"samples/po/sv/hello_tk.po",
|
359
|
-
"samples/po/test.rb",
|
360
|
-
"samples/po/ua/hello.po",
|
361
|
-
"samples/po/ua/hello2.po",
|
362
|
-
"samples/po/ua/hello_glade2.po",
|
363
|
-
"samples/po/ua/hello_gtk.po",
|
364
|
-
"samples/po/ua/hello_noop.po",
|
365
|
-
"samples/po/ua/hello_plural.po",
|
366
|
-
"samples/po/ua/hello_tk.po",
|
367
|
-
"samples/po/vi/hello.po",
|
368
|
-
"samples/po/vi/hello2.po",
|
369
|
-
"samples/po/vi/hello_glade2.po",
|
370
|
-
"samples/po/vi/hello_gtk.po",
|
371
|
-
"samples/po/vi/hello_noop.po",
|
372
|
-
"samples/po/vi/hello_plural.po",
|
373
|
-
"samples/po/vi/hello_tk.po",
|
374
|
-
"samples/po/zh/hello.po",
|
375
|
-
"samples/po/zh/hello2.po",
|
376
|
-
"samples/po/zh/hello_glade2.po",
|
377
|
-
"samples/po/zh/hello_gtk.po",
|
378
|
-
"samples/po/zh/hello_noop.po",
|
379
|
-
"samples/po/zh/hello_plural.po",
|
380
|
-
"samples/po/zh/hello_tk.po",
|
381
|
-
"samples/po/zh_TW/hello.po",
|
382
|
-
"samples/po/zh_TW/hello2.po",
|
383
|
-
"samples/po/zh_TW/hello_glade2.po",
|
384
|
-
"samples/po/zh_TW/hello_gtk.po",
|
385
|
-
"samples/po/zh_TW/hello_noop.po",
|
386
|
-
"samples/po/zh_TW/hello_plural.po",
|
387
|
-
"samples/po/zh_TW/hello_tk.po",
|
388
|
-
"test/README",
|
389
|
-
"test/Rakefile",
|
390
|
-
"test/po/cr/plural.po",
|
391
|
-
"test/po/da/plural.po",
|
392
|
-
"test/po/da/plural_error.po",
|
393
|
-
"test/po/fr/plural.po",
|
394
|
-
"test/po/fr/plural_error.po",
|
395
|
-
"test/po/fr/test1.po",
|
396
|
-
"test/po/fr/test2.po",
|
397
|
-
"test/po/ir/plural.po",
|
398
|
-
"test/po/ja/npgettext.po",
|
399
|
-
"test/po/ja/nsgettext.po",
|
400
|
-
"test/po/ja/pgettext.po",
|
401
|
-
"test/po/ja/plural.po",
|
402
|
-
"test/po/ja/plural_error.po",
|
403
|
-
"test/po/ja/rubyparser.po",
|
404
|
-
"test/po/ja/sgettext.po",
|
405
|
-
"test/po/ja/test1.po",
|
406
|
-
"test/po/ja/test2.po",
|
407
|
-
"test/po/ja/test3.po",
|
408
|
-
"test/po/la/plural.po",
|
409
|
-
"test/po/la/plural_error.po",
|
410
|
-
"test/po/li/plural.po",
|
411
|
-
"test/po/li/plural_error.po",
|
412
|
-
"test/po/po/plural.po",
|
413
|
-
"test/po/sl/plural.po",
|
414
|
-
"test/test_class_info.rb",
|
415
|
-
"test/test_gettext.rb",
|
416
|
-
"test/test_locale_path.rb",
|
417
|
-
"test/test_parser.rb",
|
418
|
-
"test/test_po_generation.rb",
|
419
|
-
"test/test_string.rb",
|
420
|
-
"test/test_textdomain_bind.rb",
|
421
|
-
"test/test_textdomain_multi.rb",
|
422
|
-
"test/test_textdomain_toplevel.rb",
|
423
|
-
"test/test_thread.rb",
|
424
|
-
"test/test_translation_target.rb",
|
425
|
-
"test/testlib/N_.rb",
|
426
|
-
"test/testlib/erb.rhtml",
|
427
|
-
"test/testlib/erb.rxml",
|
428
|
-
"test/testlib/gettext.rb",
|
429
|
-
"test/testlib/gladeparser.glade",
|
430
|
-
"test/testlib/helper.rb",
|
431
|
-
"test/testlib/multi_textdomain.rb",
|
432
|
-
"test/testlib/ngettext.rb",
|
433
|
-
"test/testlib/npgettext.rb",
|
434
|
-
"test/testlib/nsgettext.rb",
|
435
|
-
"test/testlib/pgettext.rb",
|
436
|
-
"test/testlib/sgettext.rb",
|
437
|
-
"test/testlib/simple.rb",
|
438
|
-
"test/tools/files/app.pot",
|
439
|
-
"test/tools/files/de/app.po",
|
440
|
-
"test/tools/files/en/app.po",
|
441
|
-
"test/tools/files/en/test.po",
|
442
|
-
"test/tools/files/simple_1.po",
|
443
|
-
"test/tools/files/simple_2.po",
|
444
|
-
"test/tools/files/simple_translation.rb",
|
445
|
-
"test/tools/files/version.po",
|
446
|
-
"test/tools/test.pot",
|
447
|
-
"test/tools/test_tools.rb"
|
448
|
-
]
|
449
|
-
s.homepage = %q{http://gettext.rubyforge.org/}
|
450
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
451
|
-
s.require_paths = ["lib"]
|
452
|
-
s.rubyforge_project = %q{gettext}
|
453
|
-
s.rubygems_version = %q{1.3.5}
|
454
|
-
s.summary = %q{Ruby-GetText-Package is a library and tools to localize messages.}
|
455
|
-
s.test_files = [
|
456
|
-
"test/test_thread.rb",
|
457
|
-
"test/testlib/N_.rb",
|
458
|
-
"test/testlib/sgettext.rb",
|
459
|
-
"test/testlib/ngettext.rb",
|
460
|
-
"test/testlib/multi_textdomain.rb",
|
461
|
-
"test/testlib/npgettext.rb",
|
462
|
-
"test/testlib/simple.rb",
|
463
|
-
"test/testlib/helper.rb",
|
464
|
-
"test/testlib/nsgettext.rb",
|
465
|
-
"test/testlib/pgettext.rb",
|
466
|
-
"test/testlib/gettext.rb",
|
467
|
-
"test/test_string.rb",
|
468
|
-
"test/test_class_info.rb",
|
469
|
-
"test/test_locale_path.rb",
|
470
|
-
"test/test_textdomain_bind.rb",
|
471
|
-
"test/test_gettext.rb",
|
472
|
-
"test/tools/files/simple_translation.rb",
|
473
|
-
"test/tools/test_tools.rb",
|
474
|
-
"test/test_parser.rb",
|
475
|
-
"test/test_translation_target.rb",
|
476
|
-
"test/test_po_generation.rb",
|
477
|
-
"test/test_textdomain_multi.rb",
|
478
|
-
"test/test_textdomain_toplevel.rb"
|
479
|
-
]
|
480
|
-
|
481
|
-
if s.respond_to? :specification_version then
|
482
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
483
|
-
s.specification_version = 3
|
484
|
-
|
485
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
486
|
-
s.add_runtime_dependency(%q<locale>, [">= 2.0.4"])
|
487
|
-
else
|
488
|
-
s.add_dependency(%q<locale>, [">= 2.0.4"])
|
489
|
-
end
|
490
|
-
else
|
491
|
-
s.add_dependency(%q<locale>, [">= 2.0.4"])
|
492
|
-
end
|
493
|
-
end
|