gettext 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/text/news.md +13 -0
- data/lib/gettext/runtime/mofile.rb +7 -6
- data/lib/gettext/version.rb +1 -1
- data/po/ja/gettext.po +1 -7
- data/samples/po/hello.pot +2 -2
- data/samples/po/hello2.pot +2 -2
- data/samples/po/hello_glade2.pot +2 -2
- data/samples/po/hello_gtk2.pot +2 -2
- data/samples/po/hello_noop.pot +2 -2
- data/samples/po/hello_plural.pot +2 -2
- data/samples/po/hello_tk.pot +2 -2
- data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/np_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/ns_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/p_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/s_.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/untranslated.mo +0 -0
- data/test/po/_.pot +3 -3
- data/test/po/backslash.pot +2 -2
- data/test/po/non_ascii.pot +2 -2
- data/test/po/np_.pot +2 -2
- data/test/po/ns_.pot +2 -2
- data/test/po/p_.pot +2 -2
- data/test/po/s_.pot +2 -2
- data/test/po/untranslated.pot +2 -2
- data/test/test_mofile.rb +1 -0
- metadata +136 -130
data/doc/text/news.md
CHANGED
@@ -1,4 +1,17 @@
|
|
1
1
|
# News
|
2
|
+
## <a id="2-3-2">2.3.2</a>: 2012-09-20
|
3
|
+
|
4
|
+
It's a bug fix release.
|
5
|
+
|
6
|
+
### Fixes
|
7
|
+
|
8
|
+
* Fixed the bug that untranslated messages are included in a .mo file.
|
9
|
+
[Github #11][Reported by Ramón Cahenzli]
|
10
|
+
|
11
|
+
### Thanks
|
12
|
+
|
13
|
+
* Ramón Cahenzli
|
14
|
+
|
2
15
|
## <a id="2-3-1">2.3.1</a>: 2012-09-13
|
3
16
|
|
4
17
|
It's a Bug and package fix release.
|
@@ -152,7 +152,6 @@ module GetText
|
|
152
152
|
@plural = "0" unless @plural
|
153
153
|
end
|
154
154
|
else
|
155
|
-
msgstr = nil if msgstr.empty?
|
156
155
|
unless msgstr.nil?
|
157
156
|
msgstr = convert_encoding(msgstr, msgid)
|
158
157
|
end
|
@@ -203,6 +202,12 @@ module GetText
|
|
203
202
|
|
204
203
|
#Save data as little endian format.
|
205
204
|
def save_to_stream(io)
|
205
|
+
# remove untranslated message
|
206
|
+
translated_messages = reject do |msgid, msgstr|
|
207
|
+
msgstr.nil?
|
208
|
+
end
|
209
|
+
|
210
|
+
size = translated_messages.size
|
206
211
|
header_size = 4 * 7
|
207
212
|
table_size = 4 * 2 * size
|
208
213
|
|
@@ -219,11 +224,7 @@ module GetText
|
|
219
224
|
)
|
220
225
|
io.write(header.to_a.pack('a4V*'))
|
221
226
|
|
222
|
-
ary = to_a
|
223
|
-
ary = ary.collect do |msgid, msgstr|
|
224
|
-
msgstr ||= ""
|
225
|
-
[msgid, msgstr]
|
226
|
-
end
|
227
|
+
ary = translated_messages.to_a
|
227
228
|
ary.sort!{|a, b| a[0] <=> b[0]} # sort by original string
|
228
229
|
|
229
230
|
pos = header.hash_table_size * 4 + header.hash_table_offset
|
data/lib/gettext/version.rb
CHANGED
data/po/ja/gettext.po
CHANGED
@@ -7,7 +7,7 @@ msgid ""
|
|
7
7
|
msgstr ""
|
8
8
|
"Project-Id-Version: gettext 2.3.1\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"POT-Creation-Date: 2012-09-
|
10
|
+
"POT-Creation-Date: 2012-09-20 14:51+0900\n"
|
11
11
|
"PO-Revision-Date: 2012-09-13 14:38+0900\n"
|
12
12
|
"Last-Translator: Haruka Yoshihara <yoshihara@clear-code.com>\n"
|
13
13
|
"Language-Team: Japanese\n"
|
@@ -624,9 +624,3 @@ msgstr[0] ""
|
|
624
624
|
msgid "single"
|
625
625
|
msgid_plural "plural"
|
626
626
|
msgstr[0] ""
|
627
|
-
|
628
|
-
|
629
|
-
#. #: ../lib/gettext/tools/msginit.rb:112 ../lib/gettext/tools/msgmerge.rb:485
|
630
|
-
#. msgid "Dispray this help and exit"
|
631
|
-
#. msgstr "このヘルプを表示します"
|
632
|
-
|
data/samples/po/hello.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello2.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_glade2.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_gtk2.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_noop.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_plural.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/samples/po/hello_tk.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/po/_.pot
CHANGED
@@ -8,13 +8,13 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-10
|
12
|
-
"PO-Revision-Date: 2012-09-10
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
16
16
|
"MIME-Version: 1.0\n"
|
17
|
-
"Content-Type: text/plain; charset=
|
17
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
19
|
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
20
20
|
|
data/test/po/backslash.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/test/po/non_ascii.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/test/po/np_.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/test/po/ns_.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/test/po/p_.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/test/po/s_.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/test/po/untranslated.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: gettext 2.3.1\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date: 2012-09-
|
12
|
-
"PO-Revision-Date: 2012-09-
|
11
|
+
"POT-Creation-Date: 2012-09-20 10:29+0900\n"
|
12
|
+
"PO-Revision-Date: 2012-09-20 10:29+0900\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
data/test/test_mofile.rb
CHANGED
metadata
CHANGED
@@ -1,154 +1,163 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: gettext
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.3.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 3
|
9
|
-
- 1
|
10
|
-
version: 2.3.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Kouhei Sutou
|
14
9
|
- Masao Mutoh
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 3
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
32
|
-
version_requirements: *id001
|
13
|
+
date: 2012-09-20 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
33
16
|
name: locale
|
34
|
-
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
35
23
|
type: :runtime
|
36
|
-
|
37
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
26
|
none: false
|
39
|
-
requirements:
|
40
|
-
- -
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
|
44
|
-
- 0
|
45
|
-
version: "0"
|
46
|
-
version_requirements: *id002
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
31
|
+
- !ruby/object:Gem::Dependency
|
47
32
|
name: rake
|
48
|
-
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
49
39
|
type: :development
|
50
|
-
|
51
|
-
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
42
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
|
58
|
-
- 0
|
59
|
-
version: "0"
|
60
|
-
version_requirements: *id003
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
61
48
|
name: racc
|
62
|
-
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
63
55
|
type: :development
|
64
|
-
|
65
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
58
|
none: false
|
67
|
-
requirements:
|
68
|
-
- -
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
|
71
|
-
|
72
|
-
- 0
|
73
|
-
version: "0"
|
74
|
-
version_requirements: *id004
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
75
64
|
name: yard
|
76
|
-
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
77
71
|
type: :development
|
78
|
-
|
79
|
-
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
74
|
none: false
|
81
|
-
requirements:
|
82
|
-
- -
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
|
85
|
-
|
86
|
-
- 0
|
87
|
-
version: "0"
|
88
|
-
version_requirements: *id005
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
- !ruby/object:Gem::Dependency
|
89
80
|
name: redcarpet
|
90
|
-
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
91
87
|
type: :development
|
92
|
-
|
93
|
-
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
90
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
98
|
-
|
99
|
-
|
100
|
-
- 0
|
101
|
-
version: "0"
|
102
|
-
version_requirements: *id006
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
- !ruby/object:Gem::Dependency
|
103
96
|
name: test-unit
|
104
|
-
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
105
103
|
type: :development
|
106
|
-
|
107
|
-
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
106
|
none: false
|
109
|
-
requirements:
|
110
|
-
- -
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
|
113
|
-
|
114
|
-
- 0
|
115
|
-
version: "0"
|
116
|
-
version_requirements: *id007
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
117
112
|
name: test-unit-notify
|
118
|
-
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '0'
|
119
119
|
type: :development
|
120
|
-
|
121
|
-
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
none: false
|
123
|
-
requirements:
|
124
|
-
- -
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
|
127
|
-
|
128
|
-
- 0
|
129
|
-
version: "0"
|
130
|
-
version_requirements: *id008
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
131
128
|
name: test-unit-rr
|
132
|
-
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
133
135
|
type: :development
|
134
|
-
|
135
|
-
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
description: ! 'Gettext is a GNU gettext-like program for Ruby.
|
144
|
+
|
136
145
|
The catalog file(po-file) is same format with GNU gettext.
|
146
|
+
|
137
147
|
So you can use GNU gettext tools for maintaining.
|
138
148
|
|
139
|
-
|
149
|
+
'
|
150
|
+
email:
|
140
151
|
- kou@clear-code.com
|
141
152
|
- mutomasa at gmail.com
|
142
|
-
executables:
|
153
|
+
executables:
|
143
154
|
- rmsginit
|
144
155
|
- rxgettext
|
145
156
|
- rmsgfmt
|
146
157
|
- rmsgmerge
|
147
158
|
extensions: []
|
148
|
-
|
149
159
|
extra_rdoc_files: []
|
150
|
-
|
151
|
-
files:
|
160
|
+
files:
|
152
161
|
- bin/rmsginit
|
153
162
|
- bin/rxgettext
|
154
163
|
- bin/rmsgfmt
|
@@ -927,41 +936,37 @@ files:
|
|
927
936
|
- Rakefile
|
928
937
|
- gettext.gemspec
|
929
938
|
- .yardopts
|
930
|
-
has_rdoc: true
|
931
939
|
homepage: http://ruby-gettext.github.com/
|
932
940
|
licenses: []
|
933
|
-
|
934
941
|
post_install_message:
|
935
942
|
rdoc_options: []
|
936
|
-
|
937
|
-
require_paths:
|
943
|
+
require_paths:
|
938
944
|
- lib
|
939
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
945
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
940
946
|
none: false
|
941
|
-
requirements:
|
942
|
-
- -
|
943
|
-
- !ruby/object:Gem::Version
|
944
|
-
|
945
|
-
segments:
|
947
|
+
requirements:
|
948
|
+
- - ! '>='
|
949
|
+
- !ruby/object:Gem::Version
|
950
|
+
version: '0'
|
951
|
+
segments:
|
946
952
|
- 0
|
947
|
-
|
948
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
953
|
+
hash: -3127648462262608263
|
954
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
949
955
|
none: false
|
950
|
-
requirements:
|
951
|
-
- -
|
952
|
-
- !ruby/object:Gem::Version
|
953
|
-
|
954
|
-
segments:
|
956
|
+
requirements:
|
957
|
+
- - ! '>='
|
958
|
+
- !ruby/object:Gem::Version
|
959
|
+
version: '0'
|
960
|
+
segments:
|
955
961
|
- 0
|
956
|
-
|
962
|
+
hash: -3127648462262608263
|
957
963
|
requirements: []
|
958
|
-
|
959
964
|
rubyforge_project: gettext
|
960
|
-
rubygems_version: 1.
|
965
|
+
rubygems_version: 1.8.23
|
961
966
|
signing_key:
|
962
967
|
specification_version: 3
|
963
968
|
summary: Gettext is a pure Ruby libary and tools to localize messages.
|
964
|
-
test_files:
|
969
|
+
test_files:
|
965
970
|
- test/test_locale_path.rb
|
966
971
|
- test/test_class_info.rb
|
967
972
|
- test/test_mofile.rb
|
@@ -975,3 +980,4 @@ test_files:
|
|
975
980
|
- test/test_po_generation.rb
|
976
981
|
- test/test_string.rb
|
977
982
|
- test/test_gettext.rb
|
983
|
+
has_rdoc:
|