gettext 3.3.7 → 3.4.1

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 +58 -0
  4. data/gettext.gemspec +5 -4
  5. data/lib/gettext/mo.rb +7 -5
  6. data/lib/gettext/tools/msginit.rb +221 -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 +82 -3
  114. metadata +29 -11
data/po/nl/gettext.po CHANGED
@@ -207,9 +207,6 @@ msgstr ""
207
207
  msgid "Display version information and exit"
208
208
  msgstr "toon versie-informatie en stop"
209
209
 
210
- msgid "`%{file}' is not glade-2.0 format."
211
- msgstr "`%{file}' is niet in glade-2.0 formaat."
212
-
213
210
  msgid "'%{klass}' is ignored."
214
211
  msgstr "'%{klass}' is genegeerd."
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 ""
@@ -38,7 +38,7 @@ msgstr ""
38
38
  msgid "Concatenates and merges PO files."
39
39
  msgstr ""
40
40
 
41
- #: ../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
41
+ #: ../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
42
  msgid "Specific options:"
43
43
  msgstr "Opções específicas:"
44
44
 
@@ -148,70 +148,70 @@ msgstr "escreve saída para o arquivo especificado"
148
148
  msgid "display version information and exit"
149
149
  msgstr "mostra informação de versão e sai"
150
150
 
151
- #: ../lib/gettext/tools/msginit.rb:88
151
+ #: ../lib/gettext/tools/msginit.rb:94
152
152
  msgid "Create a new .po file from initializing .pot file with user's environment and input."
153
153
  msgstr ""
154
154
 
155
- #: ../lib/gettext/tools/msginit.rb:94
155
+ #: ../lib/gettext/tools/msginit.rb:100
156
156
  msgid "Use INPUT as a .pot file. If INPUT is not specified, INPUT is a .pot file existing the current directory."
157
157
  msgstr ""
158
158
 
159
- #: ../lib/gettext/tools/msginit.rb:101
159
+ #: ../lib/gettext/tools/msginit.rb:107
160
160
  msgid "Use OUTPUT as a created .po file. If OUTPUT is not specified, OUTPUT depend on LOCALE or the current locale on your environment."
161
161
  msgstr ""
162
162
 
163
- #: ../lib/gettext/tools/msginit.rb:108
163
+ #: ../lib/gettext/tools/msginit.rb:114
164
164
  msgid "Use LOCALE as target locale. If LOCALE is not specified, LOCALE is the current locale on your environment."
165
165
  msgstr ""
166
166
 
167
- #: ../lib/gettext/tools/msginit.rb:116
167
+ #: ../lib/gettext/tools/msginit.rb:122
168
168
  msgid "Whether set translator information or not"
169
169
  msgstr ""
170
170
 
171
- #: ../lib/gettext/tools/msginit.rb:117
171
+ #: ../lib/gettext/tools/msginit.rb:123
172
172
  msgid "(set)"
173
173
  msgstr ""
174
174
 
175
- #: ../lib/gettext/tools/msginit.rb:122
175
+ #: ../lib/gettext/tools/msginit.rb:128
176
176
  msgid "Use NAME as translator name"
177
177
  msgstr ""
178
178
 
179
- #: ../lib/gettext/tools/msginit.rb:127
179
+ #: ../lib/gettext/tools/msginit.rb:133
180
180
  msgid "Use EMAIL as translator email address"
181
181
  msgstr ""
182
182
 
183
- #: ../lib/gettext/tools/msginit.rb:131 ../lib/gettext/tools/msgmerge.rb:443
183
+ #: ../lib/gettext/tools/msginit.rb:137 ../lib/gettext/tools/msgmerge.rb:443
184
184
  msgid "Display this help and exit"
185
185
  msgstr ""
186
186
 
187
- #: ../lib/gettext/tools/msginit.rb:136
187
+ #: ../lib/gettext/tools/msginit.rb:142
188
188
  #, fuzzy
189
189
  msgid "Display version and exit"
190
190
  msgstr "mostra informação de versão e sai"
191
191
 
192
- #: ../lib/gettext/tools/msginit.rb:154
192
+ #: ../lib/gettext/tools/msginit.rb:160
193
193
  msgid ".pot file does not exist in the current directory."
194
194
  msgstr ""
195
195
 
196
- #: ../lib/gettext/tools/msginit.rb:159
196
+ #: ../lib/gettext/tools/msginit.rb:165
197
197
  #, fuzzy
198
198
  msgid "file '%s' does not exist."
199
199
  msgstr "O arquivo '%s' já existe."
200
200
 
201
- #: ../lib/gettext/tools/msginit.rb:171
201
+ #: ../lib/gettext/tools/msginit.rb:177
202
202
  msgid "Locale '%s' is invalid. Please check if your specified locale is usable."
203
203
  msgstr ""
204
204
 
205
- #: ../lib/gettext/tools/msginit.rb:181
205
+ #: ../lib/gettext/tools/msginit.rb:187
206
206
  #, fuzzy
207
207
  msgid "file '%s' has already existed."
208
208
  msgstr "O arquivo '%s' já existe."
209
209
 
210
- #: ../lib/gettext/tools/msginit.rb:223
210
+ #: ../lib/gettext/tools/msginit.rb:229
211
211
  msgid "Please enter your full name"
212
212
  msgstr ""
213
213
 
214
- #: ../lib/gettext/tools/msginit.rb:252
214
+ #: ../lib/gettext/tools/msginit.rb:258
215
215
  msgid "Please enter your email address"
216
216
  msgstr ""
217
217
 
@@ -245,10 +245,6 @@ msgstr ""
245
245
  msgid "Display version information and exit"
246
246
  msgstr "mostra informação de versão e sai"
247
247
 
248
- #: ../lib/gettext/tools/parser/glade.rb:32
249
- msgid "`%{file}' is not glade-2.0 format."
250
- msgstr "`%{file}' não é formato glade-2.0."
251
-
252
248
  #: ../lib/gettext/tools/xgettext.rb:65
253
249
  msgid "'%{klass}' is ignored."
254
250
  msgstr "'%{klass}' é ignorado."
@@ -335,519 +331,5 @@ msgstr "mostra informação de versão e sai"
335
331
  msgid "Warning: The empty \"\" msgid is reserved by gettext. So gettext(\"\") doesn't returns empty string but the header entry in po file."
336
332
  msgstr ""
337
333
 
338
- #: ../samples/cgi/hellolib.rb:16
339
- msgid "This message is from hellolib."
340
- msgstr ""
341
-
342
- #: ../samples/hello.rb:17
343
- msgid ""
344
- "Hello World\n"
345
- msgstr ""
346
-
347
- #: ../samples/hello2.rb:19
348
- msgid ""
349
- "One is %{num}\n"
350
- msgstr ""
351
-
352
- #: ../samples/hello2.rb:20
353
- msgid ""
354
- "Hello %{world}\n"
355
- msgstr ""
356
-
357
- #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
358
- msgid "World"
359
- msgstr ""
360
-
361
- #: ../samples/hello_glade2.glade:9 ../test/fixtures/gladeparser.glade:8
362
- msgid "window1"
363
- msgstr ""
364
-
365
- #: ../samples/hello_glade2.glade:30
366
- msgid ""
367
- "first line\n"
368
- "second line\n"
369
- "third line"
370
- msgstr ""
371
-
372
- #: ../samples/hello_glade2.glade:54
373
- msgid "<Hello world>"
374
- msgstr ""
375
-
376
- #: ../samples/hello_gtk2.rb:25
377
- msgid "hello, gtk world"
378
- msgstr ""
379
-
380
- #: ../samples/hello_noop.rb:13
381
- msgid "Hello World"
382
- msgstr ""
383
-
384
- #: ../samples/hello_noop.rb:13
385
- msgid "Hello World2"
386
- msgstr ""
387
-
388
- #: ../samples/hello_plural.rb:20
389
- msgid ""
390
- "There is an apple.\n"
391
- msgid_plural ""
392
- "There are %{num} apples.\n"
393
- msgstr[0] ""
394
- msgstr[1] ""
395
-
396
- #: ../samples/hello_tk.rb:16
397
- msgid "hello, tk world"
398
- msgstr ""
399
-
400
- #: ../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
401
- msgid "aaa"
402
- msgid_plural "aaa2"
403
- msgstr[0] ""
404
- msgstr[1] ""
405
-
406
- #: ../test/fixtures/_.rb:34 ../test/fixtures/upper_n_.rb:14
407
- msgid ""
408
- "aaa\n"
409
- msgstr ""
410
-
411
- #: ../test/fixtures/_.rb:38 ../test/fixtures/upper_n_.rb:18
412
- msgid ""
413
- "bbb\n"
414
- "ccc"
415
- msgstr ""
416
-
417
- #: ../test/fixtures/_.rb:42 ../test/fixtures/upper_n_.rb:22
418
- msgid ""
419
- "bbb\n"
420
- "ccc\n"
421
- "ddd\n"
422
- msgstr ""
423
-
424
- #: ../test/fixtures/_.rb:49 ../test/fixtures/_.rb:53 ../test/fixtures/upper_n_.rb:29 ../test/fixtures/upper_n_.rb:33
425
- msgid "eee"
426
- msgstr ""
427
-
428
- #: ../test/fixtures/_.rb:53 ../test/fixtures/lower_n_.rb:55 ../test/fixtures/lower_n_.rb:59 ../test/fixtures/upper_n_.rb:33
429
- msgid "fff"
430
- msgid_plural "fff2"
431
- msgstr[0] ""
432
- msgstr[1] ""
433
-
434
- #: ../test/fixtures/_.rb:57 ../test/fixtures/lower_n_.rb:63 ../test/fixtures/upper_n_.rb:37
435
- msgid "ggghhhiii"
436
- msgid_plural "jjjkkklll"
437
- msgstr[0] ""
438
- msgstr[1] ""
439
-
440
- #: ../test/fixtures/_.rb:63 ../test/fixtures/lower_n_.rb:72 ../test/fixtures/upper_n_.rb:43
441
- msgid "a\"b\"c\""
442
- msgid_plural "a\"b\"c\"2"
443
- msgstr[0] ""
444
- msgstr[1] ""
445
-
446
- #: ../test/fixtures/_.rb:67 ../test/fixtures/lower_n_.rb:76 ../test/fixtures/upper_n_.rb:47
447
- msgid "d\"e\"f\""
448
- msgid_plural "d\"e\"f\"2"
449
- msgstr[0] ""
450
- msgstr[1] ""
451
-
452
- #: ../test/fixtures/_.rb:71 ../test/fixtures/upper_n_.rb:51
453
- msgid "jjj"
454
- msgstr ""
455
-
456
- #: ../test/fixtures/_.rb:72 ../test/fixtures/upper_n_.rb:52
457
- msgid "kkk"
458
- msgstr ""
459
-
460
- #: ../test/fixtures/_.rb:76 ../test/fixtures/upper_n_.rb:56
461
- msgid "lllmmm"
462
- msgstr ""
463
-
464
- #: ../test/fixtures/_.rb:84 ../test/fixtures/upper_n_.rb:64
465
- msgid ""
466
- "nnn\n"
467
- "ooo"
468
- msgstr ""
469
-
470
- #: ../test/fixtures/_.rb:88 ../test/fixtures/_.rb:92
471
- msgid "#"
472
- msgstr ""
473
-
474
- #: ../test/fixtures/_.rb:96
475
- msgid "\taaa'bbb\\ccc"
476
- msgstr ""
477
-
478
- #: ../test/fixtures/_.rb:100
479
- msgid ""
480
- "Here document1\n"
481
- "Here document2\n"
482
- msgstr ""
483
-
484
- #: ../test/fixtures/_.rb:109
485
- msgid "in_quote"
486
- msgstr ""
487
-
488
- #. TRANSLATORS: This is a proper name. See the gettext
489
- #. manual, section Names. Note this is actually a non-ASCII
490
- #. name: The first name is (with Unicode escapes)
491
- #. "Fran\u00e7ois" or (with HTML entities) "Fran&ccedil;ois".
492
- #. Pronunciation is like "fraa-swa pee-nar".
493
- #. This is an example from GNU gettext documentation.
494
- #: ../test/fixtures/_.rb:120
495
- msgid "Francois Pinard"
496
- msgstr ""
497
-
498
- #: ../test/fixtures/_.rb:123
499
- msgid "No TRANSLATORS comment"
500
- msgstr ""
501
-
502
- #: ../test/fixtures/_.rb:128
503
- msgid "self explaining"
504
- msgstr ""
505
-
506
- #: ../test/fixtures/_.rb:132
507
- msgid "This is a # including string."
508
- msgstr ""
509
-
510
- #: ../test/fixtures/_/double_quote_in_double_quote.rb:28
511
- msgid "double \"quote\" in double quote"
512
- msgstr ""
513
-
514
- #: ../test/fixtures/_/double_quote_in_single_quote.rb:28
515
- msgid "double \"quote\" in single quote"
516
- msgstr ""
517
-
518
- #: ../test/fixtures/_/literal_concatenation_with_continuation_line.rb:28
519
- msgid "literal concatenation with continuation line"
520
- msgstr ""
521
-
522
- #: ../test/fixtures/_/middle_new_line.rb:28
523
- msgid ""
524
- "middle\n"
525
- "new line"
526
- msgstr ""
527
-
528
- #: ../test/fixtures/_/multiple_lines_literal.rb:28
529
- msgid ""
530
- "multiple\n"
531
- "lines\n"
532
- "literal\n"
533
- msgstr ""
534
-
535
- #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
536
- msgid "multiple"
537
- msgstr ""
538
-
539
- #: ../test/fixtures/_/multiple_messages_in_same_line.rb:28
540
- msgid "in same line"
541
- msgstr ""
542
-
543
- #: ../test/fixtures/_/multiple_same_messages.rb:28 ../test/fixtures/_/multiple_same_messages.rb:32
544
- msgid "multiple same messages"
545
- msgstr ""
546
-
547
- #: ../test/fixtures/_/one_line.rb:28
548
- msgid "one line"
549
- msgstr ""
550
-
551
- #: ../test/fixtures/_/one_new_line.rb:28
552
- msgid ""
553
- "one new line\n"
554
- msgstr ""
555
-
556
- #: ../test/fixtures/_/percent_strings.rb:31
557
- msgid "in_symbol_array"
558
- msgstr ""
559
-
560
- #: ../test/fixtures/_/percent_strings.rb:39
561
- msgid "hello world"
562
- msgstr ""
563
-
564
- #: ../test/fixtures/_/percent_strings.rb:47
565
- msgid "in_string_array"
566
- msgstr ""
567
-
568
- #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
569
- msgid "Hello"
570
- msgstr ""
571
-
572
- #: ../test/fixtures/backslash.rb:27
573
- msgid "You should escape '\\' as '\\\\'."
574
- msgstr ""
575
-
576
- #: ../test/fixtures/gladeparser.glade:29
577
- msgid "normal text"
578
- msgstr ""
579
-
580
- #: ../test/fixtures/gladeparser.glade:50
581
- msgid ""
582
- "1st line\n"
583
- "2nd line\n"
584
- "3rd line"
585
- msgstr ""
586
-
587
- #: ../test/fixtures/gladeparser.glade:73
588
- msgid "<span color=\"red\" weight=\"bold\" size=\"large\">markup </span>"
589
- msgstr ""
590
-
591
- #: ../test/fixtures/gladeparser.glade:94
592
- msgid ""
593
- "<span color=\"red\">1st line markup </span>\n"
594
- "<span color=\"blue\">2nd line markup</span>"
595
- msgstr ""
596
-
597
- #: ../test/fixtures/gladeparser.glade:116
598
- msgid "<span>&quot;markup&quot; with &lt;escaped strings&gt;</span>"
599
- msgstr ""
600
-
601
- #: ../test/fixtures/gladeparser.glade:137 ../test/fixtures/gladeparser.glade:158
602
- msgid "duplicated"
603
- msgstr ""
604
-
605
- #: ../test/fixtures/lower_n_.rb:33
606
- msgid ""
607
- "bbb\n"
608
- msgid_plural ""
609
- "ccc2\n"
610
- "ccc2"
611
- msgstr[0] ""
612
- msgstr[1] ""
613
-
614
- #: ../test/fixtures/lower_n_.rb:37
615
- msgid ""
616
- "ddd\n"
617
- "ddd"
618
- msgid_plural ""
619
- "ddd2\n"
620
- "ddd2"
621
- msgstr[0] ""
622
- msgstr[1] ""
623
-
624
- #: ../test/fixtures/lower_n_.rb:42
625
- msgid ""
626
- "eee\n"
627
- "eee\n"
628
- msgid_plural ""
629
- "eee2\n"
630
- "eee2\n"
631
- msgstr[0] ""
632
- msgstr[1] ""
633
-
634
- #: ../test/fixtures/lower_n_.rb:48
635
- msgid ""
636
- "ddd\n"
637
- "eee\n"
638
- msgid_plural ""
639
- "ddd\n"
640
- "eee2"
641
- msgstr[0] ""
642
- msgstr[1] ""
643
-
644
- #: ../test/fixtures/lower_n_.rb:59
645
- msgid "ggg"
646
- msgid_plural "ggg2"
647
- msgstr[0] ""
648
- msgstr[1] ""
649
-
650
- #: ../test/fixtures/lower_n_.rb:80
651
- msgid "mmmmmm"
652
- msgid_plural "mmm2mmm2"
653
- msgstr[0] ""
654
- msgstr[1] ""
655
-
656
- #: ../test/fixtures/lower_n_.rb:81
657
- msgid "nnn"
658
- msgid_plural "nnn2"
659
- msgstr[0] ""
660
- msgstr[1] ""
661
-
662
- #: ../test/fixtures/lower_n_.rb:85 ../test/fixtures/lower_n_.rb:86
663
- msgid "ooo"
664
- msgid_plural "ppp"
665
- msgstr[0] ""
666
- msgstr[1] ""
667
-
668
- #: ../test/fixtures/lower_n_.rb:90 ../test/fixtures/lower_n_.rb:91
669
- msgid "qqq"
670
- msgid_plural "rrr"
671
- msgstr[0] ""
672
- msgstr[1] ""
673
-
674
- #. TRANSLATORS:please provide translations for all
675
- #. the plural forms!
676
- #: ../test/fixtures/lower_n_.rb:97
677
- msgid "comment"
678
- msgid_plural "comments"
679
- msgstr[0] ""
680
- msgstr[1] ""
681
-
682
- #: ../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
683
- msgid "language"
684
- msgstr ""
685
-
686
- #: ../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
687
- msgid "LANGUAGE"
688
- msgstr ""
689
-
690
- #: ../test/fixtures/multi_text_domain.rb:120
691
- msgid "no data"
692
- msgstr ""
693
-
694
- #: ../test/fixtures/non_ascii.rb:10
695
- msgid "こんにちは"
696
- msgstr ""
697
-
698
- #: ../test/fixtures/np_.rb:28 ../test/fixtures/np_.rb:29 ../test/fixtures/np_.rb:33 ../test/fixtures/np_.rb:34
699
- msgctxt "Magazine"
700
- msgid "a book"
701
- msgid_plural "%{num} books"
702
- msgstr[0] ""
703
- msgstr[1] ""
704
-
705
- #: ../test/fixtures/np_.rb:38 ../test/fixtures/np_.rb:39
706
- msgctxt "Hardcover"
707
- msgid "a book"
708
- msgid_plural "%{num} books"
709
- msgstr[0] ""
710
- msgstr[1] ""
711
-
712
- #: ../test/fixtures/np_.rb:43 ../test/fixtures/np_.rb:44
713
- msgctxt "Magaine"
714
- msgid "I have a magazine"
715
- msgid_plural "I have %{num} magazines"
716
- msgstr[0] ""
717
- msgstr[1] ""
718
-
719
- #: ../test/fixtures/np_.rb:48 ../test/fixtures/np_.rb:49
720
- msgctxt "Hardcover"
721
- msgid "a picture"
722
- msgid_plural "%{num} pictures"
723
- msgstr[0] ""
724
- msgstr[1] ""
725
-
726
- #: ../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
727
- msgid "AAA|BBB"
728
- msgid_plural "CCC"
729
- msgstr[0] ""
730
- msgstr[1] ""
731
-
732
- #: ../test/fixtures/ns_.rb:36 ../test/fixtures/s_.rb:36
733
- msgid "AAA"
734
- msgid_plural "BBB"
735
- msgstr[0] ""
736
- msgstr[1] ""
737
-
738
- #: ../test/fixtures/ns_.rb:40 ../test/fixtures/s_.rb:40
739
- msgid "AAA|CCC"
740
- msgid_plural "DDD"
741
- msgstr[0] ""
742
- msgstr[1] ""
743
-
744
- #: ../test/fixtures/ns_.rb:44 ../test/fixtures/s_.rb:44
745
- msgid "AAA|BBB|CCC"
746
- msgid_plural "DDD"
747
- msgstr[0] ""
748
- msgstr[1] ""
749
-
750
- #: ../test/fixtures/ns_.rb:48 ../test/fixtures/s_.rb:48
751
- msgid "AAA$BBB"
752
- msgid_plural "CCC"
753
- msgstr[0] ""
754
- msgstr[1] ""
755
-
756
- #: ../test/fixtures/ns_.rb:52 ../test/fixtures/s_.rb:52
757
- msgid "AAA$B|BB"
758
- msgid_plural "CCC"
759
- msgstr[0] ""
760
- msgstr[1] ""
761
-
762
- #: ../test/fixtures/ns_.rb:56 ../test/fixtures/s_.rb:56
763
- msgid "AAA$B|CC"
764
- msgid_plural "DDD"
765
- msgstr[0] ""
766
- msgstr[1] ""
767
-
768
- #: ../test/fixtures/ns_.rb:60 ../test/fixtures/s_.rb:60
769
- msgid "AAA|CCC|BBB"
770
- msgid_plural "DDD"
771
- msgstr[0] ""
772
- msgstr[1] ""
773
-
774
- #: ../test/fixtures/ns_/custom.rb:28 ../test/fixtures/s_/custom.rb:28
775
- msgid "context|context$message"
776
- msgid_plural "context|context$messages"
777
- msgstr[0] ""
778
- msgstr[1] ""
779
-
780
- #: ../test/fixtures/p_.rb:29 ../test/fixtures/p_.rb:33
781
- msgctxt "AAA"
782
- msgid "BBB"
783
- msgstr ""
784
-
785
- #: ../test/fixtures/p_.rb:37
786
- msgctxt "AAA|BBB"
787
- msgid "CCC"
788
- msgstr ""
789
-
790
- #: ../test/fixtures/p_.rb:41
791
- msgctxt "AAA"
792
- msgid "CCC"
793
- msgstr ""
794
-
795
- #: ../test/fixtures/p_.rb:45
796
- msgctxt "CCC"
797
- msgid "BBB"
798
- msgstr ""
799
-
800
- #: ../test/fixtures/p_.rb:49
801
- msgid "BBB"
802
- msgstr ""
803
-
804
- #. TRANSLATORS:please translate 'name' in the context of 'program'.
805
- #. Hint: the translation should NOT contain the translation of 'program'.
806
- #: ../test/fixtures/p_.rb:55
807
- msgctxt "program"
808
- msgid "name"
809
- msgstr ""
810
-
811
- #: ../test/fixtures/simple.rb:14
812
- msgid "one is %d."
813
- msgstr ""
814
-
815
- #: ../test/fixtures/untranslated.rb:10
816
- msgid "untranslated"
817
- msgstr ""
818
-
819
- #: ../test/test_gettext.rb:59
820
- msgid "nomsgstr"
821
- msgstr ""
822
-
823
- #: ../test/test_gettext.rb:101
824
- msgid "test"
825
- msgstr ""
826
-
827
- #: ../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
828
- msgid "one"
829
- msgid_plural "two"
830
- msgstr[0] ""
831
- msgstr[1] ""
832
-
833
- #: ../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
834
- msgid "first"
835
- msgid_plural "second"
836
- msgstr[0] ""
837
- msgstr[1] ""
838
-
839
- #: ../test/test_gettext.rb:239 ../test/test_gettext.rb:240 ../test/test_gettext.rb:241
840
- msgid "first_2"
841
- msgid_plural "second_2"
842
- msgstr[0] ""
843
- msgstr[1] ""
844
-
845
- #: ../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
846
- msgid "single"
847
- msgid_plural "plural"
848
- msgstr[0] ""
849
- msgstr[1] ""
850
-
851
- #: ../test/tools/files/simple_translation.rb:3
852
- msgid "a translation"
853
- msgstr ""
334
+ #~ msgid "`%{file}' is not glade-2.0 format."
335
+ #~ msgstr "`%{file}' não é formato glade-2.0."