gettext 3.4.8 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +13 -0
  3. data/lib/gettext/po_entry.rb +23 -15
  4. data/lib/gettext/tools/msgcat.rb +9 -2
  5. data/lib/gettext/tools/msginit.rb +2 -2
  6. data/lib/gettext/tools/msgmerge.rb +11 -6
  7. data/lib/gettext/tools/parser/ruby.rb +13 -13
  8. data/lib/gettext/tools/xgettext.rb +9 -4
  9. data/lib/gettext/version.rb +2 -2
  10. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  11. data/po/bg/gettext.edit.po +60 -56
  12. data/po/bg/gettext.po +3 -0
  13. data/po/bs/gettext.edit.po +60 -56
  14. data/po/bs/gettext.po +3 -0
  15. data/po/ca/gettext.edit.po +60 -56
  16. data/po/ca/gettext.po +3 -0
  17. data/po/cs/gettext.edit.po +60 -56
  18. data/po/cs/gettext.po +3 -0
  19. data/po/de/gettext.edit.po +60 -56
  20. data/po/de/gettext.po +3 -0
  21. data/po/el/gettext.edit.po +60 -56
  22. data/po/el/gettext.po +3 -0
  23. data/po/eo/gettext.edit.po +60 -56
  24. data/po/eo/gettext.po +3 -0
  25. data/po/es/gettext.edit.po +60 -56
  26. data/po/es/gettext.po +3 -0
  27. data/po/et/gettext.edit.po +60 -56
  28. data/po/et/gettext.po +3 -0
  29. data/po/fr/gettext.edit.po +60 -56
  30. data/po/fr/gettext.po +3 -0
  31. data/po/gettext.pot +72 -67
  32. data/po/hr/gettext.edit.po +60 -56
  33. data/po/hr/gettext.po +3 -0
  34. data/po/hu/gettext.edit.po +60 -56
  35. data/po/hu/gettext.po +3 -0
  36. data/po/it/gettext.edit.po +60 -56
  37. data/po/it/gettext.po +3 -0
  38. data/po/ja/gettext.edit.po +61 -57
  39. data/po/ja/gettext.po +4 -1
  40. data/po/ko/gettext.edit.po +60 -56
  41. data/po/ko/gettext.po +3 -0
  42. data/po/lv/gettext.edit.po +60 -56
  43. data/po/lv/gettext.po +3 -0
  44. data/po/nb/gettext.edit.po +60 -56
  45. data/po/nb/gettext.po +3 -0
  46. data/po/nl/gettext.edit.po +60 -56
  47. data/po/nl/gettext.po +3 -0
  48. data/po/pt_BR/gettext.edit.po +60 -56
  49. data/po/pt_BR/gettext.po +3 -0
  50. data/po/ru/gettext.edit.po +60 -56
  51. data/po/ru/gettext.po +3 -0
  52. data/po/sr/gettext.edit.po +60 -56
  53. data/po/sr/gettext.po +3 -0
  54. data/po/sv/gettext.edit.po +60 -56
  55. data/po/sv/gettext.po +3 -0
  56. data/po/uk/gettext.edit.po +60 -56
  57. data/po/uk/gettext.po +3 -0
  58. data/po/vi/gettext.edit.po +60 -56
  59. data/po/vi/gettext.po +3 -0
  60. data/po/zh/gettext.edit.po +60 -56
  61. data/po/zh/gettext.po +3 -0
  62. data/po/zh_TW/gettext.edit.po +60 -56
  63. data/po/zh_TW/gettext.po +3 -0
  64. data/test/locale/ja/LC_MESSAGES/_.mo +0 -0
  65. data/test/po/ja/_.edit.po +3 -3
  66. data/test/tools/test_msgcat.rb +21 -1
  67. data/test/tools/test_msginit.rb +9 -7
  68. data/test/tools/test_msgmerge.rb +41 -3
  69. data/test/tools/test_xgettext.rb +15 -3
  70. metadata +4 -6
@@ -32,100 +32,104 @@ msgstr "第三个参数错误:value = %{number}"
32
32
  msgid "ngettext: 3rd parameter should be a number, not nil."
33
33
  msgstr ""
34
34
 
35
- #: ../lib/gettext/tools/msgcat.rb:242
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:244
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:246 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:98 ../lib/gettext/tools/msgmerge.rb:369 ../lib/gettext/tools/xgettext.rb:248
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:249 ../lib/gettext/tools/msgmerge.rb:377
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:250
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:255 ../lib/gettext/tools/msgcat.rb:272 ../lib/gettext/tools/msgmerge.rb:382 ../lib/gettext/tools/msgmerge.rb:401 ../lib/gettext/tools/xgettext.rb:302
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:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:389 ../lib/gettext/tools/msgmerge.rb:396
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:266 ../lib/gettext/tools/msgmerge.rb:390
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:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:384 ../lib/gettext/tools/msgmerge.rb:391
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:273 ../lib/gettext/tools/msgmerge.rb:383
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:279
76
+ #: ../lib/gettext/tools/msgcat.rb:280
77
77
  msgid "Remove location information"
78
78
  msgstr ""
79
79
 
80
- #: ../lib/gettext/tools/msgcat.rb:284
80
+ #: ../lib/gettext/tools/msgcat.rb:285
81
81
  msgid "Remove translator comment"
82
82
  msgstr ""
83
83
 
84
- #: ../lib/gettext/tools/msgcat.rb:289
84
+ #: ../lib/gettext/tools/msgcat.rb:290
85
85
  msgid "Remove extracted comment"
86
86
  msgstr ""
87
87
 
88
- #: ../lib/gettext/tools/msgcat.rb:294
88
+ #: ../lib/gettext/tools/msgcat.rb:295
89
89
  msgid "Remove flag comment"
90
90
  msgstr ""
91
91
 
92
- #: ../lib/gettext/tools/msgcat.rb:299
92
+ #: ../lib/gettext/tools/msgcat.rb:300
93
93
  msgid "Remove previous comment"
94
94
  msgstr ""
95
95
 
96
- #: ../lib/gettext/tools/msgcat.rb:304
96
+ #: ../lib/gettext/tools/msgcat.rb:305
97
97
  msgid "Remove all comments"
98
98
  msgstr ""
99
99
 
100
- #: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:411 ../lib/gettext/tools/xgettext.rb:312
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:315 ../lib/gettext/tools/msgmerge.rb:417 ../lib/gettext/tools/xgettext.rb:318
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:326
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:331 ../lib/gettext/tools/msgmerge.rb:434
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:336 ../lib/gettext/tools/msgmerge.rb:439
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:341
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:346
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:347
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,11 +146,11 @@ 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:251
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:355
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
 
@@ -182,7 +186,7 @@ msgstr ""
182
186
  msgid "Use EMAIL as translator email address"
183
187
  msgstr ""
184
188
 
185
- #: ../lib/gettext/tools/msginit.rb:137 ../lib/gettext/tools/msgmerge.rb:443
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
 
@@ -217,122 +221,122 @@ msgstr ""
217
221
  msgid "Please enter your email address"
218
222
  msgstr ""
219
223
 
220
- #: ../lib/gettext/tools/msgmerge.rb:358
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:361
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:372
233
+ #: ../lib/gettext/tools/msgmerge.rb:371
230
234
  msgid "Update definition.po"
231
235
  msgstr ""
232
236
 
233
- #: ../lib/gettext/tools/msgmerge.rb:406 ../lib/gettext/tools/xgettext.rb:307
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:428
241
+ #: ../lib/gettext/tools/msgmerge.rb:433
238
242
  msgid "Disable fuzzy matching"
239
243
  msgstr ""
240
244
 
241
- #: ../lib/gettext/tools/msgmerge.rb:429
245
+ #: ../lib/gettext/tools/msgmerge.rb:434
242
246
  msgid "(enable)"
243
247
  msgstr ""
244
248
 
245
- #: ../lib/gettext/tools/msgmerge.rb:449
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:65
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:170
258
+ #: ../lib/gettext/tools/xgettext.rb:169
255
259
  msgid "Error parsing %{path}"
256
260
  msgstr ""
257
261
 
258
- #: ../lib/gettext/tools/xgettext.rb:229
262
+ #: ../lib/gettext/tools/xgettext.rb:228
259
263
  msgid "no input files"
260
264
  msgstr "没有输入文件"
261
265
 
262
- #: ../lib/gettext/tools/xgettext.rb:242
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:245
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:256
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:262
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:268
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:274
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:280
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:286
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:292
298
+ #: ../lib/gettext/tools/xgettext.rb:291
295
299
  msgid "Generate sorted output"
296
300
  msgstr ""
297
301
 
298
- #: ../lib/gettext/tools/xgettext.rb:297
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:329
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:334
311
+ #: ../lib/gettext/tools/xgettext.rb:339
308
312
  msgid "Add PARSER to parser list for xgettext"
309
313
  msgstr ""
310
314
 
311
- #: ../lib/gettext/tools/xgettext.rb:340
315
+ #: ../lib/gettext/tools/xgettext.rb:345
312
316
  msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
313
317
  msgstr ""
314
318
 
315
- #: ../lib/gettext/tools/xgettext.rb:341
319
+ #: ../lib/gettext/tools/xgettext.rb:346
316
320
  msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
317
321
  msgstr ""
318
322
 
319
- #: ../lib/gettext/tools/xgettext.rb:342
323
+ #: ../lib/gettext/tools/xgettext.rb:347
320
324
  msgid "(default: %s)"
321
325
  msgstr ""
322
326
 
323
- #: ../lib/gettext/tools/xgettext.rb:342
327
+ #: ../lib/gettext/tools/xgettext.rb:347
324
328
  msgid "no TAG"
325
329
  msgstr ""
326
330
 
327
- #: ../lib/gettext/tools/xgettext.rb:346
331
+ #: ../lib/gettext/tools/xgettext.rb:351
328
332
  msgid "run in debugging mode"
329
333
  msgstr "运行于调试模式"
330
334
 
331
- #: ../lib/gettext/tools/xgettext.rb:350
335
+ #: ../lib/gettext/tools/xgettext.rb:355
332
336
  #, fuzzy
333
337
  msgid "display this help and exit"
334
338
  msgstr "显示版本信息并退出"
335
339
 
336
- #: ../lib/gettext/tools/xgettext.rb:381
340
+ #: ../lib/gettext/tools/xgettext.rb:386
337
341
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
338
342
  msgstr ""
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
 
@@ -31,100 +31,104 @@ msgstr "第三个参数錯誤:value = %{number}"
31
31
  msgid "ngettext: 3rd parameter should be a number, not nil."
32
32
  msgstr ""
33
33
 
34
- #: ../lib/gettext/tools/msgcat.rb:242
34
+ #: ../lib/gettext/tools/msgcat.rb:243
35
35
  msgid "Usage: %s [OPTIONS] PO_FILE1 PO_FILE2 ..."
36
36
  msgstr ""
37
37
 
38
- #: ../lib/gettext/tools/msgcat.rb:244
38
+ #: ../lib/gettext/tools/msgcat.rb:245
39
39
  msgid "Concatenates and merges PO files."
40
40
  msgstr ""
41
41
 
42
- #: ../lib/gettext/tools/msgcat.rb:246 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:98 ../lib/gettext/tools/msgmerge.rb:369 ../lib/gettext/tools/xgettext.rb:248
42
+ #: ../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
43
43
  msgid "Specific options:"
44
44
  msgstr "特殊選項:"
45
45
 
46
- #: ../lib/gettext/tools/msgcat.rb:249 ../lib/gettext/tools/msgmerge.rb:377
46
+ #: ../lib/gettext/tools/msgcat.rb:250 ../lib/gettext/tools/msgmerge.rb:376
47
47
  #, fuzzy
48
48
  msgid "Write output to specified file"
49
49
  msgstr "輸出到指定檔案"
50
50
 
51
- #: ../lib/gettext/tools/msgcat.rb:250
51
+ #: ../lib/gettext/tools/msgcat.rb:251
52
52
  msgid "(default: the standard output)"
53
53
  msgstr ""
54
54
 
55
- #: ../lib/gettext/tools/msgcat.rb:255 ../lib/gettext/tools/msgcat.rb:272 ../lib/gettext/tools/msgmerge.rb:382 ../lib/gettext/tools/msgmerge.rb:401 ../lib/gettext/tools/xgettext.rb:302
55
+ #: ../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
56
56
  msgid "Sort output by msgid"
57
57
  msgstr ""
58
58
 
59
- #: ../lib/gettext/tools/msgcat.rb:260 ../lib/gettext/tools/msgcat.rb:265 ../lib/gettext/tools/msgmerge.rb:389 ../lib/gettext/tools/msgmerge.rb:396
59
+ #: ../lib/gettext/tools/msgcat.rb:261 ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:388 ../lib/gettext/tools/msgmerge.rb:395
60
60
  msgid "Sort output by location"
61
61
  msgstr ""
62
62
 
63
- #: ../lib/gettext/tools/msgcat.rb:266 ../lib/gettext/tools/msgmerge.rb:390
63
+ #: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgmerge.rb:389
64
64
  msgid "It is same as --sort-by-location"
65
65
  msgstr ""
66
66
 
67
- #: ../lib/gettext/tools/msgcat.rb:267 ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:384 ../lib/gettext/tools/msgmerge.rb:391
67
+ #: ../lib/gettext/tools/msgcat.rb:268 ../lib/gettext/tools/msgcat.rb:275 ../lib/gettext/tools/msgmerge.rb:383 ../lib/gettext/tools/msgmerge.rb:390
68
68
  msgid "Just for GNU gettext's msgcat compatibility"
69
69
  msgstr ""
70
70
 
71
- #: ../lib/gettext/tools/msgcat.rb:273 ../lib/gettext/tools/msgmerge.rb:383
71
+ #: ../lib/gettext/tools/msgcat.rb:274 ../lib/gettext/tools/msgmerge.rb:382
72
72
  msgid "It is same as --sort-by-msgid"
73
73
  msgstr ""
74
74
 
75
- #: ../lib/gettext/tools/msgcat.rb:279
75
+ #: ../lib/gettext/tools/msgcat.rb:280
76
76
  msgid "Remove location information"
77
77
  msgstr ""
78
78
 
79
- #: ../lib/gettext/tools/msgcat.rb:284
79
+ #: ../lib/gettext/tools/msgcat.rb:285
80
80
  msgid "Remove translator comment"
81
81
  msgstr ""
82
82
 
83
- #: ../lib/gettext/tools/msgcat.rb:289
83
+ #: ../lib/gettext/tools/msgcat.rb:290
84
84
  msgid "Remove extracted comment"
85
85
  msgstr ""
86
86
 
87
- #: ../lib/gettext/tools/msgcat.rb:294
87
+ #: ../lib/gettext/tools/msgcat.rb:295
88
88
  msgid "Remove flag comment"
89
89
  msgstr ""
90
90
 
91
- #: ../lib/gettext/tools/msgcat.rb:299
91
+ #: ../lib/gettext/tools/msgcat.rb:300
92
92
  msgid "Remove previous comment"
93
93
  msgstr ""
94
94
 
95
- #: ../lib/gettext/tools/msgcat.rb:304
95
+ #: ../lib/gettext/tools/msgcat.rb:305
96
96
  msgid "Remove all comments"
97
97
  msgstr ""
98
98
 
99
- #: ../lib/gettext/tools/msgcat.rb:309 ../lib/gettext/tools/msgmerge.rb:411 ../lib/gettext/tools/xgettext.rb:312
99
+ #: ../lib/gettext/tools/msgcat.rb:310 ../lib/gettext/tools/msgmerge.rb:410 ../lib/gettext/tools/xgettext.rb:311
100
100
  msgid "Set output page width"
101
101
  msgstr ""
102
102
 
103
- #: ../lib/gettext/tools/msgcat.rb:315 ../lib/gettext/tools/msgmerge.rb:417 ../lib/gettext/tools/xgettext.rb:318
103
+ #: ../lib/gettext/tools/msgcat.rb:316 ../lib/gettext/tools/msgmerge.rb:416 ../lib/gettext/tools/xgettext.rb:317
104
104
  msgid "Break long message lines, longer than the output page width, into several lines"
105
105
  msgstr ""
106
106
 
107
- #: ../lib/gettext/tools/msgcat.rb:326
107
+ #: ../lib/gettext/tools/msgcat.rb:327 ../lib/gettext/tools/msgmerge.rb:427 ../lib/gettext/tools/xgettext.rb:328
108
+ msgid "Use one line for each reference comment"
109
+ msgstr ""
110
+
111
+ #: ../lib/gettext/tools/msgcat.rb:333
108
112
  msgid "Ignore fuzzy entries"
109
113
  msgstr ""
110
114
 
111
- #: ../lib/gettext/tools/msgcat.rb:331 ../lib/gettext/tools/msgmerge.rb:434
115
+ #: ../lib/gettext/tools/msgcat.rb:338 ../lib/gettext/tools/msgmerge.rb:439
112
116
  msgid "Don't report warning messages"
113
117
  msgstr ""
114
118
 
115
- #: ../lib/gettext/tools/msgcat.rb:336 ../lib/gettext/tools/msgmerge.rb:439
119
+ #: ../lib/gettext/tools/msgcat.rb:343 ../lib/gettext/tools/msgmerge.rb:444
116
120
  msgid "Don't output obsolete entries"
117
121
  msgstr ""
118
122
 
119
- #: ../lib/gettext/tools/msgcat.rb:341
123
+ #: ../lib/gettext/tools/msgcat.rb:348
120
124
  msgid "Update PO-Revision-Date header field"
121
125
  msgstr ""
122
126
 
123
- #: ../lib/gettext/tools/msgcat.rb:346
127
+ #: ../lib/gettext/tools/msgcat.rb:353
124
128
  msgid "Remove FIELD from header"
125
129
  msgstr ""
126
130
 
127
- #: ../lib/gettext/tools/msgcat.rb:347
131
+ #: ../lib/gettext/tools/msgcat.rb:354
128
132
  msgid "Specify this option multiple times to remove multiple header fields"
129
133
  msgstr ""
130
134
 
@@ -141,11 +145,11 @@ msgstr "使用: %s input.po [-o output.mo]"
141
145
  msgid "Generate binary message catalog from textual translation description."
142
146
  msgstr "從textual translation description產生二進位訊息 catalog"
143
147
 
144
- #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:251
148
+ #: ../lib/gettext/tools/msgfmt.rb:89 ../lib/gettext/tools/xgettext.rb:250
145
149
  msgid "write output to specified file"
146
150
  msgstr "輸出到指定檔案"
147
151
 
148
- #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:355
152
+ #: ../lib/gettext/tools/msgfmt.rb:93 ../lib/gettext/tools/xgettext.rb:360
149
153
  msgid "display version information and exit"
150
154
  msgstr "秀出版本資訊後退出"
151
155
 
@@ -181,7 +185,7 @@ msgstr ""
181
185
  msgid "Use EMAIL as translator email address"
182
186
  msgstr ""
183
187
 
184
- #: ../lib/gettext/tools/msginit.rb:137 ../lib/gettext/tools/msgmerge.rb:443
188
+ #: ../lib/gettext/tools/msginit.rb:137 ../lib/gettext/tools/msgmerge.rb:448
185
189
  msgid "Display this help and exit"
186
190
  msgstr ""
187
191
 
@@ -216,122 +220,122 @@ msgstr ""
216
220
  msgid "Please enter your email address"
217
221
  msgstr ""
218
222
 
219
- #: ../lib/gettext/tools/msgmerge.rb:358
223
+ #: ../lib/gettext/tools/msgmerge.rb:357
220
224
  msgid "Usage: %s [OPTIONS] definition.po reference.pot"
221
225
  msgstr ""
222
226
 
223
- #: ../lib/gettext/tools/msgmerge.rb:361
227
+ #: ../lib/gettext/tools/msgmerge.rb:360
224
228
  #, fuzzy
225
229
  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."
226
230
  msgstr "合併兩同樣形式的 po 檔, def.po 檔是原來有翻譯的檔案,ref.pot 檔是經過原始碼更新過的新檔,ref.pot 一般是由rgettext 建立。"
227
231
 
228
- #: ../lib/gettext/tools/msgmerge.rb:372
232
+ #: ../lib/gettext/tools/msgmerge.rb:371
229
233
  msgid "Update definition.po"
230
234
  msgstr ""
231
235
 
232
- #: ../lib/gettext/tools/msgmerge.rb:406 ../lib/gettext/tools/xgettext.rb:307
236
+ #: ../lib/gettext/tools/msgmerge.rb:405 ../lib/gettext/tools/xgettext.rb:306
233
237
  msgid "Preserve '#: FILENAME:LINE' lines"
234
238
  msgstr ""
235
239
 
236
- #: ../lib/gettext/tools/msgmerge.rb:428
240
+ #: ../lib/gettext/tools/msgmerge.rb:433
237
241
  msgid "Disable fuzzy matching"
238
242
  msgstr ""
239
243
 
240
- #: ../lib/gettext/tools/msgmerge.rb:429
244
+ #: ../lib/gettext/tools/msgmerge.rb:434
241
245
  msgid "(enable)"
242
246
  msgstr ""
243
247
 
244
- #: ../lib/gettext/tools/msgmerge.rb:449
248
+ #: ../lib/gettext/tools/msgmerge.rb:454
245
249
  #, fuzzy
246
250
  msgid "Display version information and exit"
247
251
  msgstr "秀出版本資訊後退出"
248
252
 
249
- #: ../lib/gettext/tools/xgettext.rb:65
253
+ #: ../lib/gettext/tools/xgettext.rb:63
250
254
  msgid "'%{klass}' is ignored."
251
255
  msgstr "'%{klass}' 忽略"
252
256
 
253
- #: ../lib/gettext/tools/xgettext.rb:170
257
+ #: ../lib/gettext/tools/xgettext.rb:169
254
258
  msgid "Error parsing %{path}"
255
259
  msgstr ""
256
260
 
257
- #: ../lib/gettext/tools/xgettext.rb:229
261
+ #: ../lib/gettext/tools/xgettext.rb:228
258
262
  msgid "no input files"
259
263
  msgstr "無輸入檔"
260
264
 
261
- #: ../lib/gettext/tools/xgettext.rb:242
265
+ #: ../lib/gettext/tools/xgettext.rb:241
262
266
  msgid "Usage: %s input.rb [-r parser.rb] [-o output.pot]"
263
267
  msgstr "使用: %s input.rb [-r parser.rb] [-o output.pot]"
264
268
 
265
- #: ../lib/gettext/tools/xgettext.rb:245
269
+ #: ../lib/gettext/tools/xgettext.rb:244
266
270
  msgid "Extract translatable strings from given input files."
267
271
  msgstr "從輸入檔中取出翻譯字串"
268
272
 
269
- #: ../lib/gettext/tools/xgettext.rb:256
273
+ #: ../lib/gettext/tools/xgettext.rb:255
270
274
  msgid "set package name in output"
271
275
  msgstr ""
272
276
 
273
- #: ../lib/gettext/tools/xgettext.rb:262
277
+ #: ../lib/gettext/tools/xgettext.rb:261
274
278
  msgid "set package version in output"
275
279
  msgstr ""
276
280
 
277
- #: ../lib/gettext/tools/xgettext.rb:268
281
+ #: ../lib/gettext/tools/xgettext.rb:267
278
282
  msgid "set report e-mail address for msgid bugs"
279
283
  msgstr ""
280
284
 
281
- #: ../lib/gettext/tools/xgettext.rb:274
285
+ #: ../lib/gettext/tools/xgettext.rb:273
282
286
  msgid "set copyright holder in output"
283
287
  msgstr ""
284
288
 
285
- #: ../lib/gettext/tools/xgettext.rb:280
289
+ #: ../lib/gettext/tools/xgettext.rb:279
286
290
  msgid "set copyright year in output"
287
291
  msgstr ""
288
292
 
289
- #: ../lib/gettext/tools/xgettext.rb:286
293
+ #: ../lib/gettext/tools/xgettext.rb:285
290
294
  msgid "set encoding for output"
291
295
  msgstr ""
292
296
 
293
- #: ../lib/gettext/tools/xgettext.rb:292
297
+ #: ../lib/gettext/tools/xgettext.rb:291
294
298
  msgid "Generate sorted output"
295
299
  msgstr ""
296
300
 
297
- #: ../lib/gettext/tools/xgettext.rb:297
301
+ #: ../lib/gettext/tools/xgettext.rb:296
298
302
  msgid "Sort output by file location"
299
303
  msgstr ""
300
304
 
301
- #: ../lib/gettext/tools/xgettext.rb:329
305
+ #: ../lib/gettext/tools/xgettext.rb:334
302
306
  #, fuzzy
303
307
  msgid "require the library before executing xgettext"
304
308
  msgstr "在執行 rgettext 之前需要一個庫"
305
309
 
306
- #: ../lib/gettext/tools/xgettext.rb:334
310
+ #: ../lib/gettext/tools/xgettext.rb:339
307
311
  msgid "Add PARSER to parser list for xgettext"
308
312
  msgstr ""
309
313
 
310
- #: ../lib/gettext/tools/xgettext.rb:340
314
+ #: ../lib/gettext/tools/xgettext.rb:345
311
315
  msgid "If TAG is specified, place comment blocks starting with TAG and precedding keyword lines in output file"
312
316
  msgstr ""
313
317
 
314
- #: ../lib/gettext/tools/xgettext.rb:341
318
+ #: ../lib/gettext/tools/xgettext.rb:346
315
319
  msgid "If TAG is not specified, place all comment blocks preceing keyword lines in output file"
316
320
  msgstr ""
317
321
 
318
- #: ../lib/gettext/tools/xgettext.rb:342
322
+ #: ../lib/gettext/tools/xgettext.rb:347
319
323
  msgid "(default: %s)"
320
324
  msgstr ""
321
325
 
322
- #: ../lib/gettext/tools/xgettext.rb:342
326
+ #: ../lib/gettext/tools/xgettext.rb:347
323
327
  msgid "no TAG"
324
328
  msgstr ""
325
329
 
326
- #: ../lib/gettext/tools/xgettext.rb:346
330
+ #: ../lib/gettext/tools/xgettext.rb:351
327
331
  msgid "run in debugging mode"
328
332
  msgstr "執行除錯模式"
329
333
 
330
- #: ../lib/gettext/tools/xgettext.rb:350
334
+ #: ../lib/gettext/tools/xgettext.rb:355
331
335
  #, fuzzy
332
336
  msgid "display this help and exit"
333
337
  msgstr "秀出版本資訊後退出"
334
338
 
335
- #: ../lib/gettext/tools/xgettext.rb:381
339
+ #: ../lib/gettext/tools/xgettext.rb:386
336
340
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
337
341
  msgstr ""
data/po/zh_TW/gettext.po CHANGED
@@ -86,6 +86,9 @@ msgid ""
86
86
  "s"
87
87
  msgstr ""
88
88
 
89
+ msgid "Use one line for each reference comment"
90
+ msgstr ""
91
+
89
92
  msgid "Ignore fuzzy entries"
90
93
  msgstr ""
91
94
 
Binary file
data/test/po/ja/_.edit.po CHANGED
@@ -5,7 +5,7 @@
5
5
  msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: PACKAGE VERSION\n"
8
- "PO-Revision-Date: 2018-06-17 07:37+0900\n"
8
+ "PO-Revision-Date: 2023-10-22 06:37+0900\n"
9
9
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
10
10
  "Language-Team: LANGUAGE <LL@li.org>\n"
11
11
  "MIME-Version: 1.0\n"
@@ -84,8 +84,8 @@ msgid "#"
84
84
  msgstr ""
85
85
 
86
86
  #: ../fixtures/_.rb:96
87
- msgid "\taaa'bbb\\ccc"
88
- msgstr ""
87
+ msgid "\\taaa'bbb\\ccc"
88
+ msgstr "AAA"
89
89
 
90
90
  #: ../fixtures/_.rb:100
91
91
  msgid ""