gettext 3.3.8 → 3.4.9
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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/Rakefile +1 -3
- data/doc/text/news.md +132 -0
- data/gettext.gemspec +7 -5
- data/lib/gettext/mo.rb +5 -14
- data/lib/gettext/po_entry.rb +31 -21
- data/lib/gettext/po_parser.rb +65 -59
- data/lib/gettext/text_domain_manager.rb +6 -5
- data/lib/gettext/tools/msgcat.rb +9 -2
- data/lib/gettext/tools/msginit.rb +11 -6
- data/lib/gettext/tools/msgmerge.rb +11 -6
- data/lib/gettext/tools/parser/erubi.rb +88 -0
- data/lib/gettext/tools/task.rb +3 -5
- data/lib/gettext/tools/xgettext.rb +15 -4
- data/lib/gettext/version.rb +3 -3
- data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
- data/po/bg/gettext.edit.po +80 -75
- data/po/bg/gettext.po +6 -0
- data/po/bs/gettext.edit.po +80 -75
- data/po/bs/gettext.po +6 -0
- data/po/ca/gettext.edit.po +80 -75
- data/po/ca/gettext.po +6 -0
- data/po/cs/gettext.edit.po +80 -75
- data/po/cs/gettext.po +6 -0
- data/po/de/gettext.edit.po +80 -75
- data/po/de/gettext.po +6 -0
- data/po/el/gettext.edit.po +80 -75
- data/po/el/gettext.po +6 -0
- data/po/eo/gettext.edit.po +80 -75
- data/po/eo/gettext.po +6 -0
- data/po/es/gettext.edit.po +80 -75
- data/po/es/gettext.po +6 -0
- data/po/et/gettext.edit.po +80 -75
- data/po/et/gettext.po +6 -0
- data/po/fr/gettext.edit.po +80 -75
- data/po/fr/gettext.po +6 -0
- data/po/gettext.pot +92 -83
- data/po/hr/gettext.edit.po +80 -75
- data/po/hr/gettext.po +6 -0
- data/po/hu/gettext.edit.po +80 -75
- data/po/hu/gettext.po +6 -0
- data/po/it/gettext.edit.po +80 -75
- data/po/it/gettext.po +6 -0
- data/po/ja/gettext.edit.po +81 -76
- data/po/ja/gettext.po +7 -1
- data/po/ko/gettext.edit.po +80 -75
- data/po/ko/gettext.po +6 -0
- data/po/lv/gettext.edit.po +80 -75
- data/po/lv/gettext.po +6 -0
- data/po/nb/gettext.edit.po +80 -75
- data/po/nb/gettext.po +6 -0
- data/po/nl/gettext.edit.po +80 -75
- data/po/nl/gettext.po +6 -0
- data/po/pt_BR/gettext.edit.po +80 -75
- data/po/pt_BR/gettext.po +6 -0
- data/po/ru/gettext.edit.po +80 -75
- data/po/ru/gettext.po +6 -0
- data/po/sr/gettext.edit.po +80 -75
- data/po/sr/gettext.po +6 -0
- data/po/sv/gettext.edit.po +80 -72
- data/po/sv/gettext.po +6 -0
- data/po/uk/gettext.edit.po +80 -75
- data/po/uk/gettext.po +6 -0
- data/po/vi/gettext.edit.po +80 -75
- data/po/vi/gettext.po +6 -0
- data/po/zh/gettext.edit.po +80 -75
- data/po/zh/gettext.po +6 -0
- data/po/zh_TW/gettext.edit.po +80 -75
- data/po/zh_TW/gettext.po +6 -0
- data/samples/cgi/po/helloerb1.pot +3 -3
- data/samples/cgi/po/helloerb2.pot +3 -3
- data/samples/cgi/po/hellolib.pot +3 -3
- data/samples/cgi/po/main.pot +3 -3
- data/samples/po/bg/hello_gtk_builder.edit.po +15 -0
- data/samples/po/bg/hello_gtk_builder.po +12 -0
- data/samples/po/bs/hello_gtk_builder.edit.po +15 -0
- data/samples/po/bs/hello_gtk_builder.po +12 -0
- data/samples/po/ca/hello_gtk_builder.edit.po +15 -0
- data/samples/po/ca/hello_gtk_builder.po +12 -0
- data/samples/po/cs/hello_gtk_builder.edit.po +15 -0
- data/samples/po/cs/hello_gtk_builder.po +12 -0
- data/samples/po/de/hello_gtk_builder.edit.po +15 -0
- data/samples/po/de/hello_gtk_builder.po +12 -0
- data/samples/po/el/hello_gtk_builder.edit.po +15 -0
- data/samples/po/el/hello_gtk_builder.po +12 -0
- data/samples/po/eo/hello_gtk_builder.edit.po +15 -0
- data/samples/po/eo/hello_gtk_builder.po +12 -0
- data/samples/po/es/hello_gtk_builder.edit.po +15 -0
- data/samples/po/es/hello_gtk_builder.po +12 -0
- data/samples/po/fr/hello_gtk_builder.edit.po +15 -0
- data/samples/po/fr/hello_gtk_builder.po +12 -0
- data/samples/po/hello.pot +3 -3
- data/samples/po/hello2.pot +4 -4
- data/samples/po/hello_glade2.pot +8 -5
- data/samples/po/hello_gtk2.pot +4 -4
- data/samples/po/hello_gtk_builder.pot +18 -4
- data/samples/po/hello_noop.pot +4 -4
- data/samples/po/hello_plural.pot +4 -4
- data/samples/po/hello_tk.pot +4 -4
- data/samples/po/hr/hello_gtk_builder.edit.po +15 -0
- data/samples/po/hr/hello_gtk_builder.po +12 -0
- data/samples/po/hu/hello_gtk_builder.edit.po +15 -0
- data/samples/po/hu/hello_gtk_builder.po +12 -0
- data/samples/po/it/hello_gtk_builder.edit.po +15 -0
- data/samples/po/it/hello_gtk_builder.po +12 -0
- data/samples/po/ja/hello_gtk_builder.edit.po +15 -0
- data/samples/po/ja/hello_gtk_builder.po +12 -0
- data/samples/po/ko/hello_gtk_builder.edit.po +15 -0
- data/samples/po/ko/hello_gtk_builder.po +12 -0
- data/samples/po/lv/hello_gtk_builder.edit.po +15 -0
- data/samples/po/lv/hello_gtk_builder.po +12 -0
- data/samples/po/nb/hello_gtk_builder.edit.po +15 -0
- data/samples/po/nb/hello_gtk_builder.po +12 -0
- data/samples/po/nl/hello_gtk_builder.edit.po +15 -0
- data/samples/po/nl/hello_gtk_builder.po +12 -0
- data/samples/po/pt_BR/hello_gtk_builder.edit.po +15 -0
- data/samples/po/pt_BR/hello_gtk_builder.po +12 -0
- data/samples/po/ru/hello_gtk_builder.edit.po +15 -0
- data/samples/po/ru/hello_gtk_builder.po +12 -0
- data/samples/po/sr/hello_gtk_builder.edit.po +15 -0
- data/samples/po/sr/hello_gtk_builder.po +12 -0
- data/samples/po/sv/hello_gtk_builder.edit.po +15 -0
- data/samples/po/sv/hello_gtk_builder.po +12 -0
- data/samples/po/uk/hello_gtk_builder.edit.po +15 -0
- data/samples/po/uk/hello_gtk_builder.po +12 -0
- data/samples/po/vi/hello_gtk_builder.edit.po +15 -0
- data/samples/po/vi/hello_gtk_builder.po +12 -0
- data/samples/po/zh/hello_gtk_builder.edit.po +15 -0
- data/samples/po/zh/hello_gtk_builder.po +12 -0
- data/samples/po/zh_TW/hello_gtk_builder.edit.po +15 -0
- data/samples/po/zh_TW/hello_gtk_builder.po +12 -0
- data/src/po_parser.ry +48 -42
- data/test/fixtures/erb/case.rhtml +16 -0
- data/test/fixtures/simple.rb +4 -0
- data/test/locale/fr/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/fr_BE/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/fr_BE_Foo/LC_MESSAGES/test1.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
- data/test/po/_.pot +3 -3
- data/test/po/backslash.pot +6 -4
- data/test/po/fr/test1.po +7 -0
- data/test/po/fr_BE/test1.po +24 -0
- data/test/po/fr_BE_Foo/test1.po +20 -0
- data/test/po/hello.pot +3 -3
- data/test/po/ja/_.edit.po +3 -3
- data/test/po/ja/_.po +15 -0
- data/test/po/ja/hello.edit.po +0 -1
- data/test/po/non_ascii.pot +4 -4
- data/test/po/np_.pot +3 -3
- data/test/po/ns_.pot +3 -3
- data/test/po/p_.pot +3 -3
- data/test/po/s_.pot +3 -3
- data/test/po/untranslated.pot +4 -4
- data/test/test_gettext.rb +23 -0
- data/test/test_locale_path.rb +12 -4
- data/test/test_parser.rb +62 -0
- data/test/test_po_entry.rb +20 -4
- data/test/test_po_parser.rb +44 -1
- data/test/tools/test_msgcat.rb +21 -1
- data/test/tools/test_msginit.rb +7 -2
- data/test/tools/test_msgmerge.rb +41 -3
- data/test/tools/test_xgettext.rb +100 -3
- metadata +49 -15
- data/test/fixtures/gtk_builder_ui_definitions.ui~ +0 -68
data/po/zh/gettext.edit.po
CHANGED
|
@@ -23,109 +23,113 @@ msgstr ""
|
|
|
23
23
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
24
24
|
"X-Generator: KBabel 1.9.1\n"
|
|
25
25
|
|
|
26
|
-
#: ../lib/gettext/text_domain_manager.rb:
|
|
26
|
+
#: ../lib/gettext/text_domain_manager.rb:149
|
|
27
27
|
#, fuzzy
|
|
28
28
|
msgid "ngettext: 3rd parmeter is wrong: value = %{number}"
|
|
29
29
|
msgstr "第三个参数错误:value = %{number}"
|
|
30
30
|
|
|
31
|
-
#: ../lib/gettext/text_domain_manager.rb:
|
|
31
|
+
#: ../lib/gettext/text_domain_manager.rb:155
|
|
32
32
|
msgid "ngettext: 3rd parameter should be a number, not nil."
|
|
33
33
|
msgstr ""
|
|
34
34
|
|
|
35
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
35
|
+
#: ../lib/gettext/tools/msgcat.rb:243
|
|
36
36
|
msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
|
|
37
37
|
msgstr ""
|
|
38
38
|
|
|
39
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
39
|
+
#: ../lib/gettext/tools/msgcat.rb:245
|
|
40
40
|
msgid "Concatenates and merges PO files."
|
|
41
41
|
msgstr ""
|
|
42
42
|
|
|
43
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
43
|
+
#: ../lib/gettext/tools/msgcat.rb:247 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:98 ../lib/gettext/tools/msgmerge.rb:368 ../lib/gettext/tools/xgettext.rb:247
|
|
44
44
|
msgid "Specific options:"
|
|
45
45
|
msgstr "具体选项:"
|
|
46
46
|
|
|
47
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
47
|
+
#: ../lib/gettext/tools/msgcat.rb:250 ../lib/gettext/tools/msgmerge.rb:376
|
|
48
48
|
#, fuzzy
|
|
49
49
|
msgid "Write output to specified file"
|
|
50
50
|
msgstr "输出到指定文件"
|
|
51
51
|
|
|
52
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
52
|
+
#: ../lib/gettext/tools/msgcat.rb:251
|
|
53
53
|
msgid "(default: the standard output)"
|
|
54
54
|
msgstr ""
|
|
55
55
|
|
|
56
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
56
|
+
#: ../lib/gettext/tools/msgcat.rb:256 ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:381 ../lib/gettext/tools/msgmerge.rb:400 ../lib/gettext/tools/xgettext.rb:301
|
|
57
57
|
msgid "Sort output by msgid"
|
|
58
58
|
msgstr ""
|
|
59
59
|
|
|
60
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
60
|
+
#: ../lib/gettext/tools/msgcat.rb:261 ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:388 ../lib/gettext/tools/msgmerge.rb:395
|
|
61
61
|
msgid "Sort output by location"
|
|
62
62
|
msgstr ""
|
|
63
63
|
|
|
64
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
64
|
+
#: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgmerge.rb:389
|
|
65
65
|
msgid "It is same as --sort-by-location"
|
|
66
66
|
msgstr ""
|
|
67
67
|
|
|
68
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
68
|
+
#: ../lib/gettext/tools/msgcat.rb:268 ../lib/gettext/tools/msgcat.rb:275 ../lib/gettext/tools/msgmerge.rb:383 ../lib/gettext/tools/msgmerge.rb:390
|
|
69
69
|
msgid "Just for GNU gettext's msgcat compatibility"
|
|
70
70
|
msgstr ""
|
|
71
71
|
|
|
72
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
72
|
+
#: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:382
|
|
73
73
|
msgid "It is same as --sort-by-msgid"
|
|
74
74
|
msgstr ""
|
|
75
75
|
|
|
76
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
76
|
+
#: ../lib/gettext/tools/msgcat.rb:280
|
|
77
77
|
msgid "Remove location information"
|
|
78
78
|
msgstr ""
|
|
79
79
|
|
|
80
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
80
|
+
#: ../lib/gettext/tools/msgcat.rb:285
|
|
81
81
|
msgid "Remove translator comment"
|
|
82
82
|
msgstr ""
|
|
83
83
|
|
|
84
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
84
|
+
#: ../lib/gettext/tools/msgcat.rb:290
|
|
85
85
|
msgid "Remove extracted comment"
|
|
86
86
|
msgstr ""
|
|
87
87
|
|
|
88
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
88
|
+
#: ../lib/gettext/tools/msgcat.rb:295
|
|
89
89
|
msgid "Remove flag comment"
|
|
90
90
|
msgstr ""
|
|
91
91
|
|
|
92
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
92
|
+
#: ../lib/gettext/tools/msgcat.rb:300
|
|
93
93
|
msgid "Remove previous comment"
|
|
94
94
|
msgstr ""
|
|
95
95
|
|
|
96
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
96
|
+
#: ../lib/gettext/tools/msgcat.rb:305
|
|
97
97
|
msgid "Remove all comments"
|
|
98
98
|
msgstr ""
|
|
99
99
|
|
|
100
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
100
|
+
#: ../lib/gettext/tools/msgcat.rb:310 ../lib/gettext/tools/msgmerge.rb:410 ../lib/gettext/tools/xgettext.rb:311
|
|
101
101
|
msgid "Set output page width"
|
|
102
102
|
msgstr ""
|
|
103
103
|
|
|
104
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
104
|
+
#: ../lib/gettext/tools/msgcat.rb:316 ../lib/gettext/tools/msgmerge.rb:416 ../lib/gettext/tools/xgettext.rb:317
|
|
105
105
|
msgid "Break long message lines, longer than the output page width, into several lines"
|
|
106
106
|
msgstr ""
|
|
107
107
|
|
|
108
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
108
|
+
#: ../lib/gettext/tools/msgcat.rb:327 ../lib/gettext/tools/msgmerge.rb:427 ../lib/gettext/tools/xgettext.rb:328
|
|
109
|
+
msgid "Use one line for each reference comment"
|
|
110
|
+
msgstr ""
|
|
111
|
+
|
|
112
|
+
#: ../lib/gettext/tools/msgcat.rb:333
|
|
109
113
|
msgid "Ignore fuzzy entries"
|
|
110
114
|
msgstr ""
|
|
111
115
|
|
|
112
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
116
|
+
#: ../lib/gettext/tools/msgcat.rb:338 ../lib/gettext/tools/msgmerge.rb:439
|
|
113
117
|
msgid "Don't report warning messages"
|
|
114
118
|
msgstr ""
|
|
115
119
|
|
|
116
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
120
|
+
#: ../lib/gettext/tools/msgcat.rb:343 ../lib/gettext/tools/msgmerge.rb:444
|
|
117
121
|
msgid "Don't output obsolete entries"
|
|
118
122
|
msgstr ""
|
|
119
123
|
|
|
120
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
124
|
+
#: ../lib/gettext/tools/msgcat.rb:348
|
|
121
125
|
msgid "Update PO-Revision-Date header field"
|
|
122
126
|
msgstr ""
|
|
123
127
|
|
|
124
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
128
|
+
#: ../lib/gettext/tools/msgcat.rb:353
|
|
125
129
|
msgid "Remove FIELD from header"
|
|
126
130
|
msgstr ""
|
|
127
131
|
|
|
128
|
-
#: ../lib/gettext/tools/msgcat.rb:
|
|
132
|
+
#: ../lib/gettext/tools/msgcat.rb:354
|
|
129
133
|
msgid "Specify this option multiple times to remove multiple header fields"
|
|
130
134
|
msgstr ""
|
|
131
135
|
|
|
@@ -142,196 +146,197 @@ msgstr "使用方法: %s input.po [-o output.mo]"
|
|
|
142
146
|
msgid "Generate binary message catalog from textual translation description."
|
|
143
147
|
msgstr "从文本叙述翻译生成二进制信息目录。"
|
|
144
148
|
|
|
145
|
-
#: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:
|
|
149
|
+
#: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:250
|
|
146
150
|
msgid "write output to specified file"
|
|
147
151
|
msgstr "输出到指定文件"
|
|
148
152
|
|
|
149
|
-
#: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:
|
|
153
|
+
#: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:360
|
|
150
154
|
msgid "display version information and exit"
|
|
151
155
|
msgstr "显示版本信息并退出"
|
|
152
156
|
|
|
153
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
157
|
+
#: ../lib/gettext/tools/msginit.rb:94
|
|
154
158
|
msgid "Create a new .po file from initializing .pot file with user's environment and input."
|
|
155
159
|
msgstr ""
|
|
156
160
|
|
|
157
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
161
|
+
#: ../lib/gettext/tools/msginit.rb:100
|
|
158
162
|
msgid "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file existing the current directory."
|
|
159
163
|
msgstr ""
|
|
160
164
|
|
|
161
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
165
|
+
#: ../lib/gettext/tools/msginit.rb:107
|
|
162
166
|
msgid "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on LOCALE or the current locale on your environment."
|
|
163
167
|
msgstr ""
|
|
164
168
|
|
|
165
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
169
|
+
#: ../lib/gettext/tools/msginit.rb:114
|
|
166
170
|
msgid "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current locale on your environment."
|
|
167
171
|
msgstr ""
|
|
168
172
|
|
|
169
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
173
|
+
#: ../lib/gettext/tools/msginit.rb:122
|
|
170
174
|
msgid "Whether set translator information or not"
|
|
171
175
|
msgstr ""
|
|
172
176
|
|
|
173
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
177
|
+
#: ../lib/gettext/tools/msginit.rb:123
|
|
174
178
|
msgid "(set)"
|
|
175
179
|
msgstr ""
|
|
176
180
|
|
|
177
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
181
|
+
#: ../lib/gettext/tools/msginit.rb:128
|
|
178
182
|
msgid "Use NAME as translator name"
|
|
179
183
|
msgstr ""
|
|
180
184
|
|
|
181
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
185
|
+
#: ../lib/gettext/tools/msginit.rb:133
|
|
182
186
|
msgid "Use EMAIL as translator email address"
|
|
183
187
|
msgstr ""
|
|
184
188
|
|
|
185
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
189
|
+
#: ../lib/gettext/tools/msginit.rb:137 ../lib/gettext/tools/msgmerge.rb:448
|
|
186
190
|
msgid "Display this help and exit"
|
|
187
191
|
msgstr ""
|
|
188
192
|
|
|
189
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
193
|
+
#: ../lib/gettext/tools/msginit.rb:142
|
|
190
194
|
#, fuzzy
|
|
191
195
|
msgid "Display version and exit"
|
|
192
196
|
msgstr "显示版本信息并退出"
|
|
193
197
|
|
|
194
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
198
|
+
#: ../lib/gettext/tools/msginit.rb:160
|
|
195
199
|
msgid ".pot file does not exist in the current directory."
|
|
196
200
|
msgstr ""
|
|
197
201
|
|
|
198
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
202
|
+
#: ../lib/gettext/tools/msginit.rb:165
|
|
199
203
|
#, fuzzy
|
|
200
204
|
msgid "file '%s' does not exist."
|
|
201
205
|
msgstr "文件'%s'已经存在。"
|
|
202
206
|
|
|
203
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
207
|
+
#: ../lib/gettext/tools/msginit.rb:177
|
|
204
208
|
msgid "Locale '%s' is invalid. Please check if your specified locale is usable."
|
|
205
209
|
msgstr ""
|
|
206
210
|
|
|
207
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
211
|
+
#: ../lib/gettext/tools/msginit.rb:187
|
|
208
212
|
#, fuzzy
|
|
209
213
|
msgid "file '%s' has already existed."
|
|
210
214
|
msgstr "文件'%s'已经存在。"
|
|
211
215
|
|
|
212
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
216
|
+
#: ../lib/gettext/tools/msginit.rb:229
|
|
213
217
|
msgid "Please enter your full name"
|
|
214
218
|
msgstr ""
|
|
215
219
|
|
|
216
|
-
#: ../lib/gettext/tools/msginit.rb:
|
|
220
|
+
#: ../lib/gettext/tools/msginit.rb:258
|
|
217
221
|
msgid "Please enter your email address"
|
|
218
222
|
msgstr ""
|
|
219
223
|
|
|
220
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
224
|
+
#: ../lib/gettext/tools/msgmerge.rb:357
|
|
221
225
|
msgid "Usage: %s [OPTIONS] definition.po reference.pot"
|
|
222
226
|
msgstr ""
|
|
223
227
|
|
|
224
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
228
|
+
#: ../lib/gettext/tools/msgmerge.rb:360
|
|
225
229
|
#, fuzzy
|
|
226
230
|
msgid "Merges two Uniforum style .po files together. The definition.po file is an existing PO file with translations. The reference.pot file is the last created PO file with up-to-date source references. The reference.pot is generally created by rxgettext."
|
|
227
231
|
msgstr "合并两个同样形式的 po 文件, def.po 是原來有翻译的文件,ref.pot 是经过原始码更新过的新文件,ref.pot 一般是由 rgettext 建立的。"
|
|
228
232
|
|
|
229
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
233
|
+
#: ../lib/gettext/tools/msgmerge.rb:371
|
|
230
234
|
msgid "Update definition.po"
|
|
231
235
|
msgstr ""
|
|
232
236
|
|
|
233
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
237
|
+
#: ../lib/gettext/tools/msgmerge.rb:405 ../lib/gettext/tools/xgettext.rb:306
|
|
234
238
|
msgid "Preserve '#: FILENAME:LINE' lines"
|
|
235
239
|
msgstr ""
|
|
236
240
|
|
|
237
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
241
|
+
#: ../lib/gettext/tools/msgmerge.rb:433
|
|
238
242
|
msgid "Disable fuzzy matching"
|
|
239
243
|
msgstr ""
|
|
240
244
|
|
|
241
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
245
|
+
#: ../lib/gettext/tools/msgmerge.rb:434
|
|
242
246
|
msgid "(enable)"
|
|
243
247
|
msgstr ""
|
|
244
248
|
|
|
245
|
-
#: ../lib/gettext/tools/msgmerge.rb:
|
|
249
|
+
#: ../lib/gettext/tools/msgmerge.rb:454
|
|
246
250
|
#, fuzzy
|
|
247
251
|
msgid "Display version information and exit"
|
|
248
252
|
msgstr "显示版本信息并退出"
|
|
249
253
|
|
|
250
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
254
|
+
#: ../lib/gettext/tools/xgettext.rb:63
|
|
251
255
|
msgid "'%{klass}' is ignored."
|
|
252
256
|
msgstr "'%{klass}'被忽略。"
|
|
253
257
|
|
|
254
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
258
|
+
#: ../lib/gettext/tools/xgettext.rb:169
|
|
255
259
|
msgid "Error parsing %{path}"
|
|
256
260
|
msgstr ""
|
|
257
261
|
|
|
258
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
262
|
+
#: ../lib/gettext/tools/xgettext.rb:228
|
|
259
263
|
msgid "no input files"
|
|
260
264
|
msgstr "没有输入文件"
|
|
261
265
|
|
|
262
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
266
|
+
#: ../lib/gettext/tools/xgettext.rb:241
|
|
263
267
|
msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
|
|
264
268
|
msgstr "使用方法:%s input.rb [-r parser.rb] [-o output.pot]"
|
|
265
269
|
|
|
266
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
270
|
+
#: ../lib/gettext/tools/xgettext.rb:244
|
|
267
271
|
msgid "Extract translatable strings from given input files."
|
|
268
272
|
msgstr "从给定输入文件中提取翻译字符串。"
|
|
269
273
|
|
|
270
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
274
|
+
#: ../lib/gettext/tools/xgettext.rb:255
|
|
271
275
|
msgid "set package name in output"
|
|
272
276
|
msgstr ""
|
|
273
277
|
|
|
274
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
278
|
+
#: ../lib/gettext/tools/xgettext.rb:261
|
|
275
279
|
msgid "set package version in output"
|
|
276
280
|
msgstr ""
|
|
277
281
|
|
|
278
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
282
|
+
#: ../lib/gettext/tools/xgettext.rb:267
|
|
279
283
|
msgid "set report e-mail address for msgid bugs"
|
|
280
284
|
msgstr ""
|
|
281
285
|
|
|
282
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
286
|
+
#: ../lib/gettext/tools/xgettext.rb:273
|
|
283
287
|
msgid "set copyright holder in output"
|
|
284
288
|
msgstr ""
|
|
285
289
|
|
|
286
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
290
|
+
#: ../lib/gettext/tools/xgettext.rb:279
|
|
287
291
|
msgid "set copyright year in output"
|
|
288
292
|
msgstr ""
|
|
289
293
|
|
|
290
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
294
|
+
#: ../lib/gettext/tools/xgettext.rb:285
|
|
291
295
|
msgid "set encoding for output"
|
|
292
296
|
msgstr ""
|
|
293
297
|
|
|
294
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
298
|
+
#: ../lib/gettext/tools/xgettext.rb:291
|
|
295
299
|
msgid "Generate sorted output"
|
|
296
300
|
msgstr ""
|
|
297
301
|
|
|
298
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
302
|
+
#: ../lib/gettext/tools/xgettext.rb:296
|
|
299
303
|
msgid "Sort output by file location"
|
|
300
304
|
msgstr ""
|
|
301
305
|
|
|
302
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
306
|
+
#: ../lib/gettext/tools/xgettext.rb:334
|
|
303
307
|
#, fuzzy
|
|
304
308
|
msgid "require the library before executing xgettext"
|
|
305
309
|
msgstr "在执行 rgettext 之前需要一个库"
|
|
306
310
|
|
|
307
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
311
|
+
#: ../lib/gettext/tools/xgettext.rb:339
|
|
312
|
+
msgid "Add PARSER to parser list for xgettext"
|
|
313
|
+
msgstr ""
|
|
314
|
+
|
|
315
|
+
#: ../lib/gettext/tools/xgettext.rb:345
|
|
308
316
|
msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
|
|
309
317
|
msgstr ""
|
|
310
318
|
|
|
311
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
319
|
+
#: ../lib/gettext/tools/xgettext.rb:346
|
|
312
320
|
msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
|
|
313
321
|
msgstr ""
|
|
314
322
|
|
|
315
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
323
|
+
#: ../lib/gettext/tools/xgettext.rb:347
|
|
316
324
|
msgid "(default: %s)"
|
|
317
325
|
msgstr ""
|
|
318
326
|
|
|
319
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
327
|
+
#: ../lib/gettext/tools/xgettext.rb:347
|
|
320
328
|
msgid "no TAG"
|
|
321
329
|
msgstr ""
|
|
322
330
|
|
|
323
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
331
|
+
#: ../lib/gettext/tools/xgettext.rb:351
|
|
324
332
|
msgid "run in debugging mode"
|
|
325
333
|
msgstr "运行于调试模式"
|
|
326
334
|
|
|
327
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
335
|
+
#: ../lib/gettext/tools/xgettext.rb:355
|
|
328
336
|
#, fuzzy
|
|
329
337
|
msgid "display this help and exit"
|
|
330
338
|
msgstr "显示版本信息并退出"
|
|
331
339
|
|
|
332
|
-
#: ../lib/gettext/tools/xgettext.rb:
|
|
340
|
+
#: ../lib/gettext/tools/xgettext.rb:386
|
|
333
341
|
msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
|
|
334
342
|
msgstr ""
|
|
335
|
-
|
|
336
|
-
#~ msgid "`%{file}' is not glade-2.0 format."
|
|
337
|
-
#~ msgstr "`%{file}'不是glade-2.0格式。"
|
data/po/zh/gettext.po
CHANGED
|
@@ -87,6 +87,9 @@ msgid ""
|
|
|
87
87
|
"s"
|
|
88
88
|
msgstr ""
|
|
89
89
|
|
|
90
|
+
msgid "Use one line for each reference comment"
|
|
91
|
+
msgstr ""
|
|
92
|
+
|
|
90
93
|
msgid "Ignore fuzzy entries"
|
|
91
94
|
msgstr ""
|
|
92
95
|
|
|
@@ -252,6 +255,9 @@ msgstr ""
|
|
|
252
255
|
msgid "require the library before executing xgettext"
|
|
253
256
|
msgstr "在执行 rgettext 之前需要一个库"
|
|
254
257
|
|
|
258
|
+
msgid "Add PARSER to parser list for xgettext"
|
|
259
|
+
msgstr ""
|
|
260
|
+
|
|
255
261
|
msgid ""
|
|
256
262
|
"If TAG is specified, place comment blocks starting with TAG and precedding key"
|
|
257
263
|
"word lines in output file"
|