gettext 3.3.7 → 3.3.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +4 -0
  3. data/doc/text/news.md +25 -0
  4. data/gettext.gemspec +1 -0
  5. data/lib/gettext/mo.rb +7 -5
  6. data/lib/gettext/tools/msginit.rb +216 -50
  7. data/lib/gettext/tools/parser/glade.rb +38 -40
  8. data/lib/gettext/tools/parser/gtk_builder_ui_definitions.rb +6 -3
  9. data/lib/gettext/tools/parser/ruby.rb +2 -2
  10. data/lib/gettext/version.rb +2 -2
  11. data/locale/bg/LC_MESSAGES/gettext.mo +0 -0
  12. data/locale/bs/LC_MESSAGES/gettext.mo +0 -0
  13. data/locale/ca/LC_MESSAGES/gettext.mo +0 -0
  14. data/locale/cs/LC_MESSAGES/gettext.mo +0 -0
  15. data/locale/de/LC_MESSAGES/gettext.mo +0 -0
  16. data/locale/el/LC_MESSAGES/gettext.mo +0 -0
  17. data/locale/eo/LC_MESSAGES/gettext.mo +0 -0
  18. data/locale/es/LC_MESSAGES/gettext.mo +0 -0
  19. data/locale/et/LC_MESSAGES/gettext.mo +0 -0
  20. data/locale/fr/LC_MESSAGES/gettext.mo +0 -0
  21. data/locale/hr/LC_MESSAGES/gettext.mo +0 -0
  22. data/locale/hu/LC_MESSAGES/gettext.mo +0 -0
  23. data/locale/it/LC_MESSAGES/gettext.mo +0 -0
  24. data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
  25. data/locale/ko/LC_MESSAGES/gettext.mo +0 -0
  26. data/locale/lv/LC_MESSAGES/gettext.mo +0 -0
  27. data/locale/nb/LC_MESSAGES/gettext.mo +0 -0
  28. data/locale/nl/LC_MESSAGES/gettext.mo +0 -0
  29. data/locale/pt_BR/LC_MESSAGES/gettext.mo +0 -0
  30. data/locale/ru/LC_MESSAGES/gettext.mo +0 -0
  31. data/locale/sr/LC_MESSAGES/gettext.mo +0 -0
  32. data/locale/uk/LC_MESSAGES/gettext.mo +0 -0
  33. data/locale/vi/LC_MESSAGES/gettext.mo +0 -0
  34. data/locale/zh/LC_MESSAGES/gettext.mo +0 -0
  35. data/locale/zh_TW/LC_MESSAGES/gettext.mo +0 -0
  36. data/po/bg/gettext.edit.po +19 -537
  37. data/po/bg/gettext.po +0 -423
  38. data/po/bs/gettext.edit.po +19 -537
  39. data/po/bs/gettext.po +0 -423
  40. data/po/ca/gettext.edit.po +19 -537
  41. data/po/ca/gettext.po +0 -423
  42. data/po/cs/gettext.edit.po +19 -537
  43. data/po/cs/gettext.po +0 -423
  44. data/po/de/gettext.edit.po +19 -537
  45. data/po/de/gettext.po +0 -423
  46. data/po/el/gettext.edit.po +19 -537
  47. data/po/el/gettext.po +0 -423
  48. data/po/eo/gettext.edit.po +19 -537
  49. data/po/eo/gettext.po +0 -423
  50. data/po/es/gettext.edit.po +19 -537
  51. data/po/es/gettext.po +0 -423
  52. data/po/et/gettext.edit.po +19 -537
  53. data/po/et/gettext.po +0 -423
  54. data/po/fr/gettext.edit.po +19 -537
  55. data/po/fr/gettext.po +0 -423
  56. data/po/gettext.pot +20 -602
  57. data/po/hr/gettext.edit.po +19 -537
  58. data/po/hr/gettext.po +0 -423
  59. data/po/hu/gettext.edit.po +19 -537
  60. data/po/hu/gettext.po +0 -423
  61. data/po/it/gettext.edit.po +19 -537
  62. data/po/it/gettext.po +0 -423
  63. data/po/ja/gettext.edit.po +19 -537
  64. data/po/ja/gettext.po +0 -423
  65. data/po/ko/gettext.edit.po +19 -537
  66. data/po/ko/gettext.po +0 -423
  67. data/po/lv/gettext.edit.po +19 -537
  68. data/po/lv/gettext.po +0 -423
  69. data/po/nb/gettext.edit.po +19 -537
  70. data/po/nb/gettext.po +0 -423
  71. data/po/nl/gettext.edit.po +19 -537
  72. data/po/nl/gettext.po +0 -423
  73. data/po/pt_BR/gettext.edit.po +19 -537
  74. data/po/pt_BR/gettext.po +0 -423
  75. data/po/ru/gettext.edit.po +19 -537
  76. data/po/ru/gettext.po +0 -423
  77. data/po/sr/gettext.edit.po +19 -537
  78. data/po/sr/gettext.po +0 -423
  79. data/po/sv/gettext.edit.po +17 -538
  80. data/po/sv/gettext.po +0 -423
  81. data/po/uk/gettext.edit.po +19 -537
  82. data/po/uk/gettext.po +0 -423
  83. data/po/vi/gettext.edit.po +19 -537
  84. data/po/vi/gettext.po +0 -423
  85. data/po/zh/gettext.edit.po +19 -537
  86. data/po/zh/gettext.po +0 -423
  87. data/po/zh_TW/gettext.edit.po +19 -537
  88. data/po/zh_TW/gettext.po +0 -423
  89. data/test/fixtures/_.rb +1 -1
  90. data/test/fixtures/{gladeparser.glade → glade/2.glade} +0 -0
  91. data/test/fixtures/glade/3.glade +63 -0
  92. data/test/fixtures/multi_text_domain.rb +12 -12
  93. data/test/fixtures/np_.rb +1 -1
  94. data/test/fixtures/ns_.rb +1 -1
  95. data/test/fixtures/p_.rb +1 -1
  96. data/test/fixtures/ruby/{percent_i.rb → percent_lower_i.rb} +0 -0
  97. data/test/fixtures/ruby/{percent_w.rb → percent_lower_w.rb} +0 -0
  98. data/test/fixtures/ruby/{percent_I.rb → percent_upper_i.rb} +0 -0
  99. data/test/fixtures/ruby/{percent_W.rb → percent_upper_w.rb} +0 -0
  100. data/test/fixtures/s_.rb +1 -1
  101. data/test/fixtures/simple.rb +1 -1
  102. data/test/fixtures/upper_nn_.rb +77 -0
  103. data/test/po/_.pot +20 -4
  104. data/test/po/ja/_.edit.po +24 -0
  105. data/test/po/np_.pot +8 -5
  106. data/test/po/ns_.pot +6 -4
  107. data/test/po/p_.pot +3 -3
  108. data/test/po/s_.pot +6 -4
  109. data/test/test_parser.rb +35 -17
  110. data/test/tools/parser/test_glade.rb +91 -0
  111. data/test/tools/parser/test_gtk_builder_ui_definitions.rb +19 -1
  112. data/test/tools/parser/test_ruby.rb +4 -4
  113. data/test/tools/test_msginit.rb +77 -3
  114. metadata +24 -7
data/po/vi/gettext.po CHANGED
@@ -207,9 +207,6 @@ msgstr ""
207
207
  msgid "Display version information and exit"
208
208
  msgstr "hiện thông tin về phiên bản rồi thoát"
209
209
 
210
- msgid "`%{file}' is not glade-2.0 format."
211
- msgstr "`%{file}' không có định dạng là glade-2.0."
212
-
213
210
  msgid "'%{klass}' is ignored."
214
211
  msgstr "'%{klass}' đã được bỏ qua."
215
212
 
@@ -280,423 +277,3 @@ msgid ""
280
277
  "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't ret"
281
278
  "urns empty string but the header entry in po file."
282
279
  msgstr ""
283
-
284
- msgid "This message is from hellolib."
285
- msgstr ""
286
-
287
- msgid ""
288
- "Hello World\n"
289
- msgstr ""
290
-
291
- msgid ""
292
- "One is %{num}\n"
293
- msgstr ""
294
-
295
- msgid ""
296
- "Hello %{world}\n"
297
- msgstr ""
298
-
299
- msgid "World"
300
- msgstr ""
301
-
302
- msgid "window1"
303
- msgstr ""
304
-
305
- msgid ""
306
- "first line\n"
307
- "second line\n"
308
- "third line"
309
- msgstr ""
310
-
311
- msgid "<Hello world>"
312
- msgstr ""
313
-
314
- msgid "hello, gtk world"
315
- msgstr ""
316
-
317
- msgid "Hello World"
318
- msgstr ""
319
-
320
- msgid "Hello World2"
321
- msgstr ""
322
-
323
- msgid ""
324
- "There is an apple.\n"
325
- msgid_plural ""
326
- "There are %{num} apples.\n"
327
- msgstr[0] ""
328
- msgstr[1] ""
329
-
330
- msgid "hello, tk world"
331
- msgstr ""
332
-
333
- msgid "aaa"
334
- msgid_plural "aaa2"
335
- msgstr[0] ""
336
- msgstr[1] ""
337
-
338
- msgid ""
339
- "aaa\n"
340
- msgstr ""
341
-
342
- msgid ""
343
- "bbb\n"
344
- "ccc"
345
- msgstr ""
346
-
347
- msgid ""
348
- "bbb\n"
349
- "ccc\n"
350
- "ddd\n"
351
- msgstr ""
352
-
353
- msgid "eee"
354
- msgstr ""
355
-
356
- msgid "fff"
357
- msgid_plural "fff2"
358
- msgstr[0] ""
359
- msgstr[1] ""
360
-
361
- msgid "ggghhhiii"
362
- msgid_plural "jjjkkklll"
363
- msgstr[0] ""
364
- msgstr[1] ""
365
-
366
- msgid "a\"b\"c\""
367
- msgid_plural "a\"b\"c\"2"
368
- msgstr[0] ""
369
- msgstr[1] ""
370
-
371
- msgid "d\"e\"f\""
372
- msgid_plural "d\"e\"f\"2"
373
- msgstr[0] ""
374
- msgstr[1] ""
375
-
376
- msgid "jjj"
377
- msgstr ""
378
-
379
- msgid "kkk"
380
- msgstr ""
381
-
382
- msgid "lllmmm"
383
- msgstr ""
384
-
385
- msgid ""
386
- "nnn\n"
387
- "ooo"
388
- msgstr ""
389
-
390
- msgid "#"
391
- msgstr ""
392
-
393
- msgid "\taaa'bbb\\ccc"
394
- msgstr ""
395
-
396
- msgid ""
397
- "Here document1\n"
398
- "Here document2\n"
399
- msgstr ""
400
-
401
- msgid "in_quote"
402
- msgstr ""
403
-
404
- #. TRANSLATORS: This is a proper name. See the gettext
405
- #. manual, section Names. Note this is actually a non-ASCII
406
- #. name: The first name is (with Unicode escapes)
407
- #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
408
- #. Pronunciation is like "fraa-swa pee-nar".
409
- #. This is an example from GNU gettext documentation.
410
- msgid "Francois Pinard"
411
- msgstr ""
412
-
413
- msgid "No TRANSLATORS comment"
414
- msgstr ""
415
-
416
- msgid "self explaining"
417
- msgstr ""
418
-
419
- msgid "This is a # including string."
420
- msgstr ""
421
-
422
- msgid "double \"quote\" in double quote"
423
- msgstr ""
424
-
425
- msgid "double \"quote\" in single quote"
426
- msgstr ""
427
-
428
- msgid "literal concatenation with continuation line"
429
- msgstr ""
430
-
431
- msgid ""
432
- "middle\n"
433
- "new line"
434
- msgstr ""
435
-
436
- msgid ""
437
- "multiple\n"
438
- "lines\n"
439
- "literal\n"
440
- msgstr ""
441
-
442
- msgid "multiple"
443
- msgstr ""
444
-
445
- msgid "in same line"
446
- msgstr ""
447
-
448
- msgid "multiple same messages"
449
- msgstr ""
450
-
451
- msgid "one line"
452
- msgstr ""
453
-
454
- msgid ""
455
- "one new line\n"
456
- msgstr ""
457
-
458
- msgid "in_symbol_array"
459
- msgstr ""
460
-
461
- msgid "hello world"
462
- msgstr ""
463
-
464
- msgid "in_string_array"
465
- msgstr ""
466
-
467
- msgid "Hello"
468
- msgstr ""
469
-
470
- msgid "You should escape '\\' as '\\\\'."
471
- msgstr ""
472
-
473
- msgid "normal text"
474
- msgstr ""
475
-
476
- msgid ""
477
- "1st line\n"
478
- "2nd line\n"
479
- "3rd line"
480
- msgstr ""
481
-
482
- msgid "<span color=\"red\" weight=\"bold\" size=\"large\">markup </span>"
483
- msgstr ""
484
-
485
- msgid ""
486
- "<span color=\"red\">1st line markup </span>\n"
487
- "<span color=\"blue\">2nd line markup</span>"
488
- msgstr ""
489
-
490
- msgid "<span>&quot;markup&quot; with &lt;escaped strings&gt;</span>"
491
- msgstr ""
492
-
493
- msgid "duplicated"
494
- msgstr ""
495
-
496
- msgid ""
497
- "bbb\n"
498
- msgid_plural ""
499
- "ccc2\n"
500
- "ccc2"
501
- msgstr[0] ""
502
- msgstr[1] ""
503
-
504
- msgid ""
505
- "ddd\n"
506
- "ddd"
507
- msgid_plural ""
508
- "ddd2\n"
509
- "ddd2"
510
- msgstr[0] ""
511
- msgstr[1] ""
512
-
513
- msgid ""
514
- "eee\n"
515
- "eee\n"
516
- msgid_plural ""
517
- "eee2\n"
518
- "eee2\n"
519
- msgstr[0] ""
520
- msgstr[1] ""
521
-
522
- msgid ""
523
- "ddd\n"
524
- "eee\n"
525
- msgid_plural ""
526
- "ddd\n"
527
- "eee2"
528
- msgstr[0] ""
529
- msgstr[1] ""
530
-
531
- msgid "ggg"
532
- msgid_plural "ggg2"
533
- msgstr[0] ""
534
- msgstr[1] ""
535
-
536
- msgid "mmmmmm"
537
- msgid_plural "mmm2mmm2"
538
- msgstr[0] ""
539
- msgstr[1] ""
540
-
541
- msgid "nnn"
542
- msgid_plural "nnn2"
543
- msgstr[0] ""
544
- msgstr[1] ""
545
-
546
- msgid "ooo"
547
- msgid_plural "ppp"
548
- msgstr[0] ""
549
- msgstr[1] ""
550
-
551
- msgid "qqq"
552
- msgid_plural "rrr"
553
- msgstr[0] ""
554
- msgstr[1] ""
555
-
556
- #. TRANSLATORS:please provide translations for all
557
- #. the plural forms!
558
- msgid "comment"
559
- msgid_plural "comments"
560
- msgstr[0] ""
561
- msgstr[1] ""
562
-
563
- msgid "language"
564
- msgstr ""
565
-
566
- msgid "LANGUAGE"
567
- msgstr ""
568
-
569
- msgid "no data"
570
- msgstr ""
571
-
572
- msgid "こんにちは"
573
- msgstr ""
574
-
575
- msgctxt "Magazine"
576
- msgid "a book"
577
- msgid_plural "%{num} books"
578
- msgstr[0] ""
579
- msgstr[1] ""
580
-
581
- msgctxt "Hardcover"
582
- msgid "a book"
583
- msgid_plural "%{num} books"
584
- msgstr[0] ""
585
- msgstr[1] ""
586
-
587
- msgctxt "Magaine"
588
- msgid "I have a magazine"
589
- msgid_plural "I have %{num} magazines"
590
- msgstr[0] ""
591
- msgstr[1] ""
592
-
593
- msgctxt "Hardcover"
594
- msgid "a picture"
595
- msgid_plural "%{num} pictures"
596
- msgstr[0] ""
597
- msgstr[1] ""
598
-
599
- msgid "AAA|BBB"
600
- msgid_plural "CCC"
601
- msgstr[0] ""
602
- msgstr[1] ""
603
-
604
- msgid "AAA"
605
- msgid_plural "BBB"
606
- msgstr[0] ""
607
- msgstr[1] ""
608
-
609
- msgid "AAA|CCC"
610
- msgid_plural "DDD"
611
- msgstr[0] ""
612
- msgstr[1] ""
613
-
614
- msgid "AAA|BBB|CCC"
615
- msgid_plural "DDD"
616
- msgstr[0] ""
617
- msgstr[1] ""
618
-
619
- msgid "AAA$BBB"
620
- msgid_plural "CCC"
621
- msgstr[0] ""
622
- msgstr[1] ""
623
-
624
- msgid "AAA$B|BB"
625
- msgid_plural "CCC"
626
- msgstr[0] ""
627
- msgstr[1] ""
628
-
629
- msgid "AAA$B|CC"
630
- msgid_plural "DDD"
631
- msgstr[0] ""
632
- msgstr[1] ""
633
-
634
- msgid "AAA|CCC|BBB"
635
- msgid_plural "DDD"
636
- msgstr[0] ""
637
- msgstr[1] ""
638
-
639
- msgid "context|context$message"
640
- msgid_plural "context|context$messages"
641
- msgstr[0] ""
642
- msgstr[1] ""
643
-
644
- msgctxt "AAA"
645
- msgid "BBB"
646
- msgstr ""
647
-
648
- msgctxt "AAA|BBB"
649
- msgid "CCC"
650
- msgstr ""
651
-
652
- msgctxt "AAA"
653
- msgid "CCC"
654
- msgstr ""
655
-
656
- msgctxt "CCC"
657
- msgid "BBB"
658
- msgstr ""
659
-
660
- msgid "BBB"
661
- msgstr ""
662
-
663
- #. TRANSLATORS:please translate 'name' in the context of 'program'.
664
- #. Hint: the translation should NOT contain the translation of 'program'.
665
- msgctxt "program"
666
- msgid "name"
667
- msgstr ""
668
-
669
- msgid "one is %d."
670
- msgstr ""
671
-
672
- msgid "untranslated"
673
- msgstr ""
674
-
675
- msgid "nomsgstr"
676
- msgstr ""
677
-
678
- msgid "test"
679
- msgstr ""
680
-
681
- msgid "one"
682
- msgid_plural "two"
683
- msgstr[0] ""
684
- msgstr[1] ""
685
-
686
- msgid "first"
687
- msgid_plural "second"
688
- msgstr[0] ""
689
- msgstr[1] ""
690
-
691
- msgid "first_2"
692
- msgid_plural "second_2"
693
- msgstr[0] ""
694
- msgstr[1] ""
695
-
696
- msgid "single"
697
- msgid_plural "plural"
698
- msgstr[0] ""
699
- msgstr[1] ""
700
-
701
- msgid "a translation"
702
- msgstr ""
@@ -40,7 +40,7 @@ msgstr ""
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:92 ../lib/gettext/tools/msgmerge.rb:369 ../lib/gettext/tools/xgettext.rb:248
43
+ #: ../lib/gettext/tools/msgcat.rb:246 ../lib/gettext/tools/msgfmt.rb:86 ../lib/gettext/tools/msginit.rb:95 ../lib/gettext/tools/msgmerge.rb:369 ../lib/gettext/tools/xgettext.rb:248
44
44
  msgid "Specific options:"
45
45
  msgstr "具体选项:"
46
46
 
@@ -150,70 +150,70 @@ msgstr "输出到指定文件"
150
150
  msgid "display version information and exit"
151
151
  msgstr "显示版本信息并退出"
152
152
 
153
- #: ../lib/gettext/tools/msginit.rb:88
153
+ #: ../lib/gettext/tools/msginit.rb:91
154
154
  msgid "Create a new .po file from initializing .pot file with user's environment and input."
155
155
  msgstr ""
156
156
 
157
- #: ../lib/gettext/tools/msginit.rb:94
157
+ #: ../lib/gettext/tools/msginit.rb:97
158
158
  msgid "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file existing the current directory."
159
159
  msgstr ""
160
160
 
161
- #: ../lib/gettext/tools/msginit.rb:101
161
+ #: ../lib/gettext/tools/msginit.rb:104
162
162
  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
163
  msgstr ""
164
164
 
165
- #: ../lib/gettext/tools/msginit.rb:108
165
+ #: ../lib/gettext/tools/msginit.rb:111
166
166
  msgid "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current locale on your environment."
167
167
  msgstr ""
168
168
 
169
- #: ../lib/gettext/tools/msginit.rb:116
169
+ #: ../lib/gettext/tools/msginit.rb:119
170
170
  msgid "Whether set translator information or not"
171
171
  msgstr ""
172
172
 
173
- #: ../lib/gettext/tools/msginit.rb:117
173
+ #: ../lib/gettext/tools/msginit.rb:120
174
174
  msgid "(set)"
175
175
  msgstr ""
176
176
 
177
- #: ../lib/gettext/tools/msginit.rb:122
177
+ #: ../lib/gettext/tools/msginit.rb:125
178
178
  msgid "Use NAME as translator name"
179
179
  msgstr ""
180
180
 
181
- #: ../lib/gettext/tools/msginit.rb:127
181
+ #: ../lib/gettext/tools/msginit.rb:130
182
182
  msgid "Use EMAIL as translator email address"
183
183
  msgstr ""
184
184
 
185
- #: ../lib/gettext/tools/msginit.rb:131 ../lib/gettext/tools/msgmerge.rb:443
185
+ #: ../lib/gettext/tools/msginit.rb:134 ../lib/gettext/tools/msgmerge.rb:443
186
186
  msgid "Display this help and exit"
187
187
  msgstr ""
188
188
 
189
- #: ../lib/gettext/tools/msginit.rb:136
189
+ #: ../lib/gettext/tools/msginit.rb:139
190
190
  #, fuzzy
191
191
  msgid "Display version and exit"
192
192
  msgstr "显示版本信息并退出"
193
193
 
194
- #: ../lib/gettext/tools/msginit.rb:154
194
+ #: ../lib/gettext/tools/msginit.rb:157
195
195
  msgid ".pot file does not exist in the current directory."
196
196
  msgstr ""
197
197
 
198
- #: ../lib/gettext/tools/msginit.rb:159
198
+ #: ../lib/gettext/tools/msginit.rb:162
199
199
  #, fuzzy
200
200
  msgid "file '%s' does not exist."
201
201
  msgstr "文件'%s'已经存在。"
202
202
 
203
- #: ../lib/gettext/tools/msginit.rb:171
203
+ #: ../lib/gettext/tools/msginit.rb:174
204
204
  msgid "Locale '%s' is invalid. Please check if your specified locale is usable."
205
205
  msgstr ""
206
206
 
207
- #: ../lib/gettext/tools/msginit.rb:181
207
+ #: ../lib/gettext/tools/msginit.rb:184
208
208
  #, fuzzy
209
209
  msgid "file '%s' has already existed."
210
210
  msgstr "文件'%s'已经存在。"
211
211
 
212
- #: ../lib/gettext/tools/msginit.rb:223
212
+ #: ../lib/gettext/tools/msginit.rb:226
213
213
  msgid "Please enter your full name"
214
214
  msgstr ""
215
215
 
216
- #: ../lib/gettext/tools/msginit.rb:252
216
+ #: ../lib/gettext/tools/msginit.rb:255
217
217
  msgid "Please enter your email address"
218
218
  msgstr ""
219
219
 
@@ -247,10 +247,6 @@ msgstr ""
247
247
  msgid "Display version information and exit"
248
248
  msgstr "显示版本信息并退出"
249
249
 
250
- #: ../lib/gettext/tools/parser/glade.rb:32
251
- msgid "`%{file}' is not glade-2.0 format."
252
- msgstr "`%{file}'不是glade-2.0格式。"
253
-
254
250
  #: ../lib/gettext/tools/xgettext.rb:65
255
251
  msgid "'%{klass}' is ignored."
256
252
  msgstr "'%{klass}'被忽略。"
@@ -337,519 +333,5 @@ msgstr "显示版本信息并退出"
337
333
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
338
334
  msgstr ""
339
335
 
340
- #: ../samples/cgi/hellolib.rb:16
341
- msgid "This message is from hellolib."
342
- msgstr ""
343
-
344
- #: ../samples/hello.rb:17
345
- msgid ""
346
- "Hello World\n"
347
- msgstr ""
348
-
349
- #: ../samples/hello2.rb:19
350
- msgid ""
351
- "One is %{num}\n"
352
- msgstr ""
353
-
354
- #: ../samples/hello2.rb:20
355
- msgid ""
356
- "Hello %{world}\n"
357
- msgstr ""
358
-
359
- #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
360
- msgid "World"
361
- msgstr ""
362
-
363
- #: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
364
- msgid "window1"
365
- msgstr ""
366
-
367
- #: ../samples/hello_glade2.glade:30
368
- msgid ""
369
- "first line\n"
370
- "second line\n"
371
- "third line"
372
- msgstr ""
373
-
374
- #: ../samples/hello_glade2.glade:54
375
- msgid "<Hello world>"
376
- msgstr ""
377
-
378
- #: ../samples/hello_gtk2.rb:25
379
- msgid "hello, gtk world"
380
- msgstr ""
381
-
382
- #: ../samples/hello_noop.rb:13
383
- msgid "Hello World"
384
- msgstr ""
385
-
386
- #: ../samples/hello_noop.rb:13
387
- msgid "Hello World2"
388
- msgstr ""
389
-
390
- #: ../samples/hello_plural.rb:20
391
- msgid ""
392
- "There is an apple.\n"
393
- msgid_plural ""
394
- "There are %{num} apples.\n"
395
- msgstr[0] ""
396
- msgstr[1] ""
397
-
398
- #: ../samples/hello_tk.rb:16
399
- msgid "hello, tk world"
400
- msgstr ""
401
-
402
- #: ../test/fixtures/_.rb:30 ../test/fixtures/lower_n_.rb:29 ../test/fixtures/upper_n_.rb:10 ../test/test_gettext.rb:155 ../test/test_gettext.rb:159
403
- msgid "aaa"
404
- msgid_plural "aaa2"
405
- msgstr[0] ""
406
- msgstr[1] ""
407
-
408
- #: ../test/fixtures/_.rb:34 ../test/fixtures/upper_n_.rb:14
409
- msgid ""
410
- "aaa\n"
411
- msgstr ""
412
-
413
- #: ../test/fixtures/_.rb:38 ../test/fixtures/upper_n_.rb:18
414
- msgid ""
415
- "bbb\n"
416
- "ccc"
417
- msgstr ""
418
-
419
- #: ../test/fixtures/_.rb:42 ../test/fixtures/upper_n_.rb:22
420
- msgid ""
421
- "bbb\n"
422
- "ccc\n"
423
- "ddd\n"
424
- msgstr ""
425
-
426
- #: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53 ../test/fixtures/upper_n_.rb:29 ../test/fixtures/upper_n_.rb:33
427
- msgid "eee"
428
- msgstr ""
429
-
430
- #: ../test/fixtures/_.rb:53 ../test/fixtures/lower_n_.rb:55 ../test/fixtures/lower_n_.rb:59 ../test/fixtures/upper_n_.rb:33
431
- msgid "fff"
432
- msgid_plural "fff2"
433
- msgstr[0] ""
434
- msgstr[1] ""
435
-
436
- #: ../test/fixtures/_.rb:57 ../test/fixtures/lower_n_.rb:63 ../test/fixtures/upper_n_.rb:37
437
- msgid "ggghhhiii"
438
- msgid_plural "jjjkkklll"
439
- msgstr[0] ""
440
- msgstr[1] ""
441
-
442
- #: ../test/fixtures/_.rb:63 ../test/fixtures/lower_n_.rb:72 ../test/fixtures/upper_n_.rb:43
443
- msgid "a\"b\"c\""
444
- msgid_plural "a\"b\"c\"2"
445
- msgstr[0] ""
446
- msgstr[1] ""
447
-
448
- #: ../test/fixtures/_.rb:67 ../test/fixtures/lower_n_.rb:76 ../test/fixtures/upper_n_.rb:47
449
- msgid "d\"e\"f\""
450
- msgid_plural "d\"e\"f\"2"
451
- msgstr[0] ""
452
- msgstr[1] ""
453
-
454
- #: ../test/fixtures/_.rb:71 ../test/fixtures/upper_n_.rb:51
455
- msgid "jjj"
456
- msgstr ""
457
-
458
- #: ../test/fixtures/_.rb:72 ../test/fixtures/upper_n_.rb:52
459
- msgid "kkk"
460
- msgstr ""
461
-
462
- #: ../test/fixtures/_.rb:76 ../test/fixtures/upper_n_.rb:56
463
- msgid "lllmmm"
464
- msgstr ""
465
-
466
- #: ../test/fixtures/_.rb:84 ../test/fixtures/upper_n_.rb:64
467
- msgid ""
468
- "nnn\n"
469
- "ooo"
470
- msgstr ""
471
-
472
- #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
473
- msgid "#"
474
- msgstr ""
475
-
476
- #: ../test/fixtures/_.rb:96
477
- msgid "\taaa'bbb\\ccc"
478
- msgstr ""
479
-
480
- #: ../test/fixtures/_.rb:100
481
- msgid ""
482
- "Here document1\n"
483
- "Here document2\n"
484
- msgstr ""
485
-
486
- #: ../test/fixtures/_.rb:109
487
- msgid "in_quote"
488
- msgstr ""
489
-
490
- #. TRANSLATORS: This is a proper name. See the gettext
491
- #. manual, section Names. Note this is actually a non-ASCII
492
- #. name: The first name is (with Unicode escapes)
493
- #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
494
- #. Pronunciation is like "fraa-swa pee-nar".
495
- #. This is an example from GNU gettext documentation.
496
- #: ../test/fixtures/_.rb:120
497
- msgid "Francois Pinard"
498
- msgstr ""
499
-
500
- #: ../test/fixtures/_.rb:123
501
- msgid "No TRANSLATORS comment"
502
- msgstr ""
503
-
504
- #: ../test/fixtures/_.rb:128
505
- msgid "self explaining"
506
- msgstr ""
507
-
508
- #: ../test/fixtures/_.rb:132
509
- msgid "This is a # including string."
510
- msgstr ""
511
-
512
- #: ../test/fixtures/_/double_quote_in_double_quote.rb:28
513
- msgid "double \"quote\" in double quote"
514
- msgstr ""
515
-
516
- #: ../test/fixtures/_/double_quote_in_single_quote.rb:28
517
- msgid "double \"quote\" in single quote"
518
- msgstr ""
519
-
520
- #: ../test/fixtures/_/literal_concatenation_with_continuation_line.rb:28
521
- msgid "literal concatenation with continuation line"
522
- msgstr ""
523
-
524
- #: ../test/fixtures/_/middle_new_line.rb:28
525
- msgid ""
526
- "middle\n"
527
- "new line"
528
- msgstr ""
529
-
530
- #: ../test/fixtures/_/multiple_lines_literal.rb:28
531
- msgid ""
532
- "multiple\n"
533
- "lines\n"
534
- "literal\n"
535
- msgstr ""
536
-
537
- #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
538
- msgid "multiple"
539
- msgstr ""
540
-
541
- #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
542
- msgid "in same line"
543
- msgstr ""
544
-
545
- #: ../test/fixtures/_/multiple_same_messages.rb:28 ../test/fixtures/_/multiple_same_messages.rb:32
546
- msgid "multiple same messages"
547
- msgstr ""
548
-
549
- #: ../test/fixtures/_/one_line.rb:28
550
- msgid "one line"
551
- msgstr ""
552
-
553
- #: ../test/fixtures/_/one_new_line.rb:28
554
- msgid ""
555
- "one new line\n"
556
- msgstr ""
557
-
558
- #: ../test/fixtures/_/percent_strings.rb:31
559
- msgid "in_symbol_array"
560
- msgstr ""
561
-
562
- #: ../test/fixtures/_/percent_strings.rb:39
563
- msgid "hello world"
564
- msgstr ""
565
-
566
- #: ../test/fixtures/_/percent_strings.rb:47
567
- msgid "in_string_array"
568
- msgstr ""
569
-
570
- #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
571
- msgid "Hello"
572
- msgstr ""
573
-
574
- #: ../test/fixtures/backslash.rb:27
575
- msgid "You should escape '\\' as '\\\\'."
576
- msgstr ""
577
-
578
- #: ../test/fixtures/gladeparser.glade:29
579
- msgid "normal text"
580
- msgstr ""
581
-
582
- #: ../test/fixtures/gladeparser.glade:50
583
- msgid ""
584
- "1st line\n"
585
- "2nd line\n"
586
- "3rd line"
587
- msgstr ""
588
-
589
- #: ../test/fixtures/gladeparser.glade:73
590
- msgid "<span color=\"red\" weight=\"bold\" size=\"large\">markup </span>"
591
- msgstr ""
592
-
593
- #: ../test/fixtures/gladeparser.glade:94
594
- msgid ""
595
- "<span color=\"red\">1st line markup </span>\n"
596
- "<span color=\"blue\">2nd line markup</span>"
597
- msgstr ""
598
-
599
- #: ../test/fixtures/gladeparser.glade:116
600
- msgid "<span>&quot;markup&quot; with &lt;escaped strings&gt;</span>"
601
- msgstr ""
602
-
603
- #: ../test/fixtures/gladeparser.glade:137 ../test/fixtures/gladeparser.glade:158
604
- msgid "duplicated"
605
- msgstr ""
606
-
607
- #: ../test/fixtures/lower_n_.rb:33
608
- msgid ""
609
- "bbb\n"
610
- msgid_plural ""
611
- "ccc2\n"
612
- "ccc2"
613
- msgstr[0] ""
614
- msgstr[1] ""
615
-
616
- #: ../test/fixtures/lower_n_.rb:37
617
- msgid ""
618
- "ddd\n"
619
- "ddd"
620
- msgid_plural ""
621
- "ddd2\n"
622
- "ddd2"
623
- msgstr[0] ""
624
- msgstr[1] ""
625
-
626
- #: ../test/fixtures/lower_n_.rb:42
627
- msgid ""
628
- "eee\n"
629
- "eee\n"
630
- msgid_plural ""
631
- "eee2\n"
632
- "eee2\n"
633
- msgstr[0] ""
634
- msgstr[1] ""
635
-
636
- #: ../test/fixtures/lower_n_.rb:48
637
- msgid ""
638
- "ddd\n"
639
- "eee\n"
640
- msgid_plural ""
641
- "ddd\n"
642
- "eee2"
643
- msgstr[0] ""
644
- msgstr[1] ""
645
-
646
- #: ../test/fixtures/lower_n_.rb:59
647
- msgid "ggg"
648
- msgid_plural "ggg2"
649
- msgstr[0] ""
650
- msgstr[1] ""
651
-
652
- #: ../test/fixtures/lower_n_.rb:80
653
- msgid "mmmmmm"
654
- msgid_plural "mmm2mmm2"
655
- msgstr[0] ""
656
- msgstr[1] ""
657
-
658
- #: ../test/fixtures/lower_n_.rb:81
659
- msgid "nnn"
660
- msgid_plural "nnn2"
661
- msgstr[0] ""
662
- msgstr[1] ""
663
-
664
- #: ../test/fixtures/lower_n_.rb:85 ../test/fixtures/lower_n_.rb:86
665
- msgid "ooo"
666
- msgid_plural "ppp"
667
- msgstr[0] ""
668
- msgstr[1] ""
669
-
670
- #: ../test/fixtures/lower_n_.rb:90 ../test/fixtures/lower_n_.rb:91
671
- msgid "qqq"
672
- msgid_plural "rrr"
673
- msgstr[0] ""
674
- msgstr[1] ""
675
-
676
- #. TRANSLATORS:please provide translations for all
677
- #. the plural forms!
678
- #: ../test/fixtures/lower_n_.rb:97
679
- msgid "comment"
680
- msgid_plural "comments"
681
- msgstr[0] ""
682
- msgstr[1] ""
683
-
684
- #: ../test/fixtures/multi_text_domain.rb:11 ../test/fixtures/multi_text_domain.rb:24 ../test/fixtures/multi_text_domain.rb:43 ../test/fixtures/multi_text_domain.rb:50 ../test/fixtures/multi_text_domain.rb:62 ../test/fixtures/multi_text_domain.rb:75 ../test/fixtures/multi_text_domain.rb:91 ../test/fixtures/multi_text_domain.rb:104 ../test/fixtures/multi_text_domain.rb:108 ../test/fixtures/multi_text_domain.rb:128 ../test/fixtures/simple.rb:10 ../test/test_gettext.rb:64 ../test/test_gettext.rb:300 ../test/test_gettext.rb:302 ../test/test_gettext.rb:305 ../test/test_gettext.rb:309 ../test/test_gettext.rb:312 ../test/test_gettext.rb:325 ../test/test_gettext.rb:328 ../test/test_gettext.rb:331 ../test/test_gettext.rb:339 ../test/test_gettext.rb:342 ../test/test_gettext.rb:354 ../test/test_gettext.rb:364 ../test/test_text_domain_toplevel.rb:9 ../test/test_text_domain_toplevel.rb:15 ../test/test_text_domain_toplevel.rb:18 ../test/test_text_domain_toplevel.rb:23 ../test/test_thread.rb:23
685
- msgid "language"
686
- msgstr ""
687
-
688
- #: ../test/fixtures/multi_text_domain.rb:14 ../test/fixtures/multi_text_domain.rb:27 ../test/fixtures/multi_text_domain.rb:54 ../test/fixtures/multi_text_domain.rb:65 ../test/fixtures/multi_text_domain.rb:78 ../test/fixtures/multi_text_domain.rb:116 ../test/test_gettext.rb:53
689
- msgid "LANGUAGE"
690
- msgstr ""
691
-
692
- #: ../test/fixtures/multi_text_domain.rb:120
693
- msgid "no data"
694
- msgstr ""
695
-
696
- #: ../test/fixtures/non_ascii.rb:10
697
- msgid "こんにちは"
698
- msgstr ""
699
-
700
- #: ../test/fixtures/np_.rb:28 ../test/fixtures/np_.rb:29 ../test/fixtures/np_.rb:33 ../test/fixtures/np_.rb:34
701
- msgctxt "Magazine"
702
- msgid "a book"
703
- msgid_plural "%{num} books"
704
- msgstr[0] ""
705
- msgstr[1] ""
706
-
707
- #: ../test/fixtures/np_.rb:38 ../test/fixtures/np_.rb:39
708
- msgctxt "Hardcover"
709
- msgid "a book"
710
- msgid_plural "%{num} books"
711
- msgstr[0] ""
712
- msgstr[1] ""
713
-
714
- #: ../test/fixtures/np_.rb:43 ../test/fixtures/np_.rb:44
715
- msgctxt "Magaine"
716
- msgid "I have a magazine"
717
- msgid_plural "I have %{num} magazines"
718
- msgstr[0] ""
719
- msgstr[1] ""
720
-
721
- #: ../test/fixtures/np_.rb:48 ../test/fixtures/np_.rb:49
722
- msgctxt "Hardcover"
723
- msgid "a picture"
724
- msgid_plural "%{num} pictures"
725
- msgstr[0] ""
726
- msgstr[1] ""
727
-
728
- #: ../test/fixtures/ns_.rb:28 ../test/fixtures/ns_.rb:32 ../test/fixtures/s_.rb:28 ../test/fixtures/s_.rb:32 ../test/test_gettext.rb:119
729
- msgid "AAA|BBB"
730
- msgid_plural "CCC"
731
- msgstr[0] ""
732
- msgstr[1] ""
733
-
734
- #: ../test/fixtures/ns_.rb:36 ../test/fixtures/s_.rb:36
735
- msgid "AAA"
736
- msgid_plural "BBB"
737
- msgstr[0] ""
738
- msgstr[1] ""
739
-
740
- #: ../test/fixtures/ns_.rb:40 ../test/fixtures/s_.rb:40
741
- msgid "AAA|CCC"
742
- msgid_plural "DDD"
743
- msgstr[0] ""
744
- msgstr[1] ""
745
-
746
- #: ../test/fixtures/ns_.rb:44 ../test/fixtures/s_.rb:44
747
- msgid "AAA|BBB|CCC"
748
- msgid_plural "DDD"
749
- msgstr[0] ""
750
- msgstr[1] ""
751
-
752
- #: ../test/fixtures/ns_.rb:48 ../test/fixtures/s_.rb:48
753
- msgid "AAA$BBB"
754
- msgid_plural "CCC"
755
- msgstr[0] ""
756
- msgstr[1] ""
757
-
758
- #: ../test/fixtures/ns_.rb:52 ../test/fixtures/s_.rb:52
759
- msgid "AAA$B|BB"
760
- msgid_plural "CCC"
761
- msgstr[0] ""
762
- msgstr[1] ""
763
-
764
- #: ../test/fixtures/ns_.rb:56 ../test/fixtures/s_.rb:56
765
- msgid "AAA$B|CC"
766
- msgid_plural "DDD"
767
- msgstr[0] ""
768
- msgstr[1] ""
769
-
770
- #: ../test/fixtures/ns_.rb:60 ../test/fixtures/s_.rb:60
771
- msgid "AAA|CCC|BBB"
772
- msgid_plural "DDD"
773
- msgstr[0] ""
774
- msgstr[1] ""
775
-
776
- #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
777
- msgid "context|context$message"
778
- msgid_plural "context|context$messages"
779
- msgstr[0] ""
780
- msgstr[1] ""
781
-
782
- #: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
783
- msgctxt "AAA"
784
- msgid "BBB"
785
- msgstr ""
786
-
787
- #: ../test/fixtures/p_.rb:37
788
- msgctxt "AAA|BBB"
789
- msgid "CCC"
790
- msgstr ""
791
-
792
- #: ../test/fixtures/p_.rb:41
793
- msgctxt "AAA"
794
- msgid "CCC"
795
- msgstr ""
796
-
797
- #: ../test/fixtures/p_.rb:45
798
- msgctxt "CCC"
799
- msgid "BBB"
800
- msgstr ""
801
-
802
- #: ../test/fixtures/p_.rb:49
803
- msgid "BBB"
804
- msgstr ""
805
-
806
- #. TRANSLATORS:please translate 'name' in the context of 'program'.
807
- #. Hint: the translation should NOT contain the translation of 'program'.
808
- #: ../test/fixtures/p_.rb:55
809
- msgctxt "program"
810
- msgid "name"
811
- msgstr ""
812
-
813
- #: ../test/fixtures/simple.rb:14
814
- msgid "one is %d."
815
- msgstr ""
816
-
817
- #: ../test/fixtures/untranslated.rb:10
818
- msgid "untranslated"
819
- msgstr ""
820
-
821
- #: ../test/test_gettext.rb:59
822
- msgid "nomsgstr"
823
- msgstr ""
824
-
825
- #: ../test/test_gettext.rb:101
826
- msgid "test"
827
- msgstr ""
828
-
829
- #: ../test/test_gettext.rb:179 ../test/test_gettext.rb:180 ../test/test_gettext.rb:181 ../test/test_gettext.rb:184 ../test/test_gettext.rb:185 ../test/test_gettext.rb:186 ../test/test_gettext.rb:189 ../test/test_gettext.rb:190 ../test/test_gettext.rb:191 ../test/test_gettext.rb:194 ../test/test_gettext.rb:195 ../test/test_gettext.rb:196 ../test/test_gettext.rb:197 ../test/test_gettext.rb:200 ../test/test_gettext.rb:201 ../test/test_gettext.rb:202 ../test/test_gettext.rb:203 ../test/test_gettext.rb:206 ../test/test_gettext.rb:207 ../test/test_gettext.rb:208 ../test/test_gettext.rb:211 ../test/test_gettext.rb:212 ../test/test_gettext.rb:213 ../test/test_gettext.rb:216 ../test/test_gettext.rb:217 ../test/test_gettext.rb:218 ../test/test_gettext.rb:221 ../test/test_gettext.rb:222 ../test/test_gettext.rb:223 ../test/test_gettext.rb:224 ../test/test_gettext.rb:225 ../test/test_gettext.rb:255 ../test/test_gettext.rb:256 ../test/test_gettext.rb:257 ../test/test_gettext.rb:263 ../test/test_gettext.rb:264 ../test/test_gettext.rb:265 ../test/test_gettext.rb:274 ../test/test_gettext.rb:275 ../test/test_gettext.rb:276 ../test/test_gettext.rb:284 ../test/test_gettext.rb:285 ../test/test_gettext.rb:286
830
- msgid "one"
831
- msgid_plural "two"
832
- msgstr[0] ""
833
- msgstr[1] ""
834
-
835
- #: ../test/test_gettext.rb:231 ../test/test_gettext.rb:232 ../test/test_gettext.rb:233 ../test/test_gettext.rb:236 ../test/test_gettext.rb:237 ../test/test_gettext.rb:238 ../test/test_gettext.rb:243 ../test/test_gettext.rb:244 ../test/test_gettext.rb:245 ../test/test_gettext.rb:247 ../test/test_gettext.rb:248 ../test/test_gettext.rb:249 ../test/test_gettext.rb:252 ../test/test_gettext.rb:253 ../test/test_gettext.rb:254
836
- msgid "first"
837
- msgid_plural "second"
838
- msgstr[0] ""
839
- msgstr[1] ""
840
-
841
- #: ../test/test_gettext.rb:239 ../test/test_gettext.rb:240 ../test/test_gettext.rb:241
842
- msgid "first_2"
843
- msgid_plural "second_2"
844
- msgstr[0] ""
845
- msgstr[1] ""
846
-
847
- #: ../test/test_gettext.rb:271 ../test/test_gettext.rb:272 ../test/test_gettext.rb:273 ../test/test_gettext.rb:281 ../test/test_gettext.rb:282 ../test/test_gettext.rb:283
848
- msgid "single"
849
- msgid_plural "plural"
850
- msgstr[0] ""
851
- msgstr[1] ""
852
-
853
- #: ../test/tools/files/simple_translation.rb:3
854
- msgid "a translation"
855
- msgstr ""
336
+ #~ msgid "`%{file}' is not glade-2.0 format."
337
+ #~ msgstr "`%{file}'不是glade-2.0格式。"