gettext 3.3.1 → 3.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +217 -0
  3. data/gettext.gemspec +0 -1
  4. data/lib/gettext/locale_path.rb +12 -8
  5. data/lib/gettext/tools/parser/erb.rb +9 -1
  6. data/lib/gettext/tools/parser/gtk_builder_ui_definitions.rb +0 -3
  7. data/lib/gettext/tools/parser/ruby.rb +50 -23
  8. data/lib/gettext/tools/task.rb +1 -0
  9. data/lib/gettext/version.rb +1 -1
  10. data/po/bg/gettext.edit.po +14 -6
  11. data/po/bg/gettext.po +9 -3
  12. data/po/bs/gettext.edit.po +14 -6
  13. data/po/bs/gettext.po +9 -3
  14. data/po/ca/gettext.edit.po +14 -6
  15. data/po/ca/gettext.po +9 -3
  16. data/po/cs/gettext.edit.po +14 -6
  17. data/po/cs/gettext.po +9 -3
  18. data/po/de/gettext.edit.po +14 -6
  19. data/po/de/gettext.po +9 -3
  20. data/po/el/gettext.edit.po +14 -6
  21. data/po/el/gettext.po +9 -3
  22. data/po/eo/gettext.edit.po +14 -6
  23. data/po/eo/gettext.po +9 -3
  24. data/po/es/gettext.edit.po +14 -6
  25. data/po/es/gettext.po +9 -3
  26. data/po/et/gettext.edit.po +14 -6
  27. data/po/et/gettext.po +9 -3
  28. data/po/fr/gettext.edit.po +14 -6
  29. data/po/fr/gettext.po +9 -3
  30. data/po/gettext.pot +17 -9
  31. data/po/hr/gettext.edit.po +14 -6
  32. data/po/hr/gettext.po +9 -3
  33. data/po/hu/gettext.edit.po +14 -6
  34. data/po/hu/gettext.po +9 -3
  35. data/po/it/gettext.edit.po +14 -6
  36. data/po/it/gettext.po +9 -3
  37. data/po/ja/gettext.edit.po +14 -6
  38. data/po/ja/gettext.po +9 -3
  39. data/po/ko/gettext.edit.po +14 -6
  40. data/po/ko/gettext.po +9 -3
  41. data/po/lv/gettext.edit.po +14 -6
  42. data/po/lv/gettext.po +9 -3
  43. data/po/nb/gettext.edit.po +14 -6
  44. data/po/nb/gettext.po +9 -3
  45. data/po/nl/gettext.edit.po +14 -6
  46. data/po/nl/gettext.po +9 -3
  47. data/po/pt_BR/gettext.edit.po +14 -6
  48. data/po/pt_BR/gettext.po +9 -3
  49. data/po/ru/gettext.edit.po +14 -6
  50. data/po/ru/gettext.po +9 -3
  51. data/po/sr/gettext.edit.po +14 -6
  52. data/po/sr/gettext.po +9 -3
  53. data/po/sv/gettext.edit.po +14 -6
  54. data/po/sv/gettext.po +9 -3
  55. data/po/uk/gettext.edit.po +14 -6
  56. data/po/uk/gettext.po +9 -3
  57. data/po/vi/gettext.edit.po +14 -6
  58. data/po/vi/gettext.po +9 -3
  59. data/po/zh/gettext.edit.po +14 -6
  60. data/po/zh/gettext.po +9 -3
  61. data/po/zh_TW/gettext.edit.po +14 -6
  62. data/po/zh_TW/gettext.po +9 -3
  63. data/test/fixtures/_/percent_strings.rb +9 -0
  64. data/test/fixtures/_/pipe.rb +32 -0
  65. data/test/fixtures/erb/minus.rhtml +12 -0
  66. data/test/fixtures/gtk_builder_ui_definitions.ui~ +68 -0
  67. data/test/fixtures/ruby/percent_I.rb +1 -0
  68. data/test/fixtures/ruby/percent_W.rb +1 -0
  69. data/test/fixtures/ruby/percent_i.rb +1 -0
  70. data/test/fixtures/ruby/percent_w.rb +1 -0
  71. data/test/po/_.pot +11 -3
  72. data/test/run-test.rb +0 -1
  73. data/test/test_parser.rb +7 -0
  74. data/test/tools/parser/test_ruby.rb +52 -2
  75. metadata +21 -29
@@ -457,9 +457,18 @@ msgid ""
457
457
  "one new line\n"
458
458
  msgstr ""
459
459
 
460
+ msgid "in_symbol_array"
461
+ msgstr ""
462
+
460
463
  msgid "hello world"
461
464
  msgstr ""
462
465
 
466
+ msgid "in_string_array"
467
+ msgstr ""
468
+
469
+ msgid "Hello"
470
+ msgstr ""
471
+
463
472
  msgid "You should escape '\\' as '\\\\'."
464
473
  msgstr ""
465
474
 
@@ -486,9 +495,6 @@ msgstr ""
486
495
  msgid "duplicated"
487
496
  msgstr ""
488
497
 
489
- msgid "Hello"
490
- msgstr ""
491
-
492
498
  msgid ""
493
499
  "bbb\n"
494
500
  msgid_plural ""
@@ -354,7 +354,7 @@ msgid ""
354
354
  "Hello %{world}\n"
355
355
  msgstr ""
356
356
 
357
- #: ../samples/hello2.rb:20
357
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
358
358
  msgid "World"
359
359
  msgstr ""
360
360
 
@@ -553,10 +553,22 @@ msgid ""
553
553
  "one new line\n"
554
554
  msgstr ""
555
555
 
556
- #: ../test/fixtures/_/percent_strings.rb:34
556
+ #: ../test/fixtures/_/percent_strings.rb:31
557
+ msgid "in_symbol_array"
558
+ msgstr ""
559
+
560
+ #: ../test/fixtures/_/percent_strings.rb:39
557
561
  msgid "hello world"
558
562
  msgstr ""
559
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
+
560
572
  #: ../test/fixtures/backslash.rb:27
561
573
  msgid "You should escape '\\' as '\\\\'."
562
574
  msgstr ""
@@ -590,10 +602,6 @@ msgstr ""
590
602
  msgid "duplicated"
591
603
  msgstr ""
592
604
 
593
- #: ../test/fixtures/hello.rb:26
594
- msgid "Hello"
595
- msgstr ""
596
-
597
605
  #: ../test/fixtures/lower_n_.rb:33
598
606
  msgid ""
599
607
  "bbb\n"
@@ -457,9 +457,18 @@ msgid ""
457
457
  "one new line\n"
458
458
  msgstr ""
459
459
 
460
+ msgid "in_symbol_array"
461
+ msgstr ""
462
+
460
463
  msgid "hello world"
461
464
  msgstr ""
462
465
 
466
+ msgid "in_string_array"
467
+ msgstr ""
468
+
469
+ msgid "Hello"
470
+ msgstr ""
471
+
463
472
  msgid "You should escape '\\' as '\\\\'."
464
473
  msgstr ""
465
474
 
@@ -486,9 +495,6 @@ msgstr ""
486
495
  msgid "duplicated"
487
496
  msgstr ""
488
497
 
489
- msgid "Hello"
490
- msgstr ""
491
-
492
498
  msgid ""
493
499
  "bbb\n"
494
500
  msgid_plural ""
@@ -354,7 +354,7 @@ msgid ""
354
354
  "Hello %{world}\n"
355
355
  msgstr ""
356
356
 
357
- #: ../samples/hello2.rb:20
357
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
358
358
  msgid "World"
359
359
  msgstr ""
360
360
 
@@ -553,10 +553,22 @@ msgid ""
553
553
  "one new line\n"
554
554
  msgstr ""
555
555
 
556
- #: ../test/fixtures/_/percent_strings.rb:34
556
+ #: ../test/fixtures/_/percent_strings.rb:31
557
+ msgid "in_symbol_array"
558
+ msgstr ""
559
+
560
+ #: ../test/fixtures/_/percent_strings.rb:39
557
561
  msgid "hello world"
558
562
  msgstr ""
559
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
+
560
572
  #: ../test/fixtures/backslash.rb:27
561
573
  msgid "You should escape '\\' as '\\\\'."
562
574
  msgstr ""
@@ -590,10 +602,6 @@ msgstr ""
590
602
  msgid "duplicated"
591
603
  msgstr ""
592
604
 
593
- #: ../test/fixtures/hello.rb:26
594
- msgid "Hello"
595
- msgstr ""
596
-
597
605
  #: ../test/fixtures/lower_n_.rb:33
598
606
  msgid ""
599
607
  "bbb\n"
@@ -456,9 +456,18 @@ msgid ""
456
456
  "one new line\n"
457
457
  msgstr ""
458
458
 
459
+ msgid "in_symbol_array"
460
+ msgstr ""
461
+
459
462
  msgid "hello world"
460
463
  msgstr ""
461
464
 
465
+ msgid "in_string_array"
466
+ msgstr ""
467
+
468
+ msgid "Hello"
469
+ msgstr ""
470
+
462
471
  msgid "You should escape '\\' as '\\\\'."
463
472
  msgstr ""
464
473
 
@@ -485,9 +494,6 @@ msgstr ""
485
494
  msgid "duplicated"
486
495
  msgstr ""
487
496
 
488
- msgid "Hello"
489
- msgstr ""
490
-
491
497
  msgid ""
492
498
  "bbb\n"
493
499
  msgid_plural ""
@@ -342,7 +342,7 @@ msgid ""
342
342
  "Hello %{world}\n"
343
343
  msgstr ""
344
344
 
345
- #: ../samples/hello2.rb:20
345
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
346
346
  msgid "World"
347
347
  msgstr ""
348
348
 
@@ -541,10 +541,22 @@ msgid ""
541
541
  "one new line\n"
542
542
  msgstr ""
543
543
 
544
- #: ../test/fixtures/_/percent_strings.rb:34
544
+ #: ../test/fixtures/_/percent_strings.rb:31
545
+ msgid "in_symbol_array"
546
+ msgstr ""
547
+
548
+ #: ../test/fixtures/_/percent_strings.rb:39
545
549
  msgid "hello world"
546
550
  msgstr ""
547
551
 
552
+ #: ../test/fixtures/_/percent_strings.rb:47
553
+ msgid "in_string_array"
554
+ msgstr ""
555
+
556
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
557
+ msgid "Hello"
558
+ msgstr ""
559
+
548
560
  #: ../test/fixtures/backslash.rb:27
549
561
  msgid "You should escape '\\' as '\\\\'."
550
562
  msgstr ""
@@ -578,10 +590,6 @@ msgstr ""
578
590
  msgid "duplicated"
579
591
  msgstr ""
580
592
 
581
- #: ../test/fixtures/hello.rb:26
582
- msgid "Hello"
583
- msgstr ""
584
-
585
593
  #: ../test/fixtures/lower_n_.rb:33
586
594
  msgid ""
587
595
  "bbb\n"
@@ -441,9 +441,18 @@ msgid ""
441
441
  "one new line\n"
442
442
  msgstr ""
443
443
 
444
+ msgid "in_symbol_array"
445
+ msgstr ""
446
+
444
447
  msgid "hello world"
445
448
  msgstr ""
446
449
 
450
+ msgid "in_string_array"
451
+ msgstr ""
452
+
453
+ msgid "Hello"
454
+ msgstr ""
455
+
447
456
  msgid "You should escape '\\' as '\\\\'."
448
457
  msgstr ""
449
458
 
@@ -470,9 +479,6 @@ msgstr ""
470
479
  msgid "duplicated"
471
480
  msgstr ""
472
481
 
473
- msgid "Hello"
474
- msgstr ""
475
-
476
482
  msgid ""
477
483
  "bbb\n"
478
484
  msgid_plural ""
@@ -357,7 +357,7 @@ msgid ""
357
357
  "Hello %{world}\n"
358
358
  msgstr ""
359
359
 
360
- #: ../samples/hello2.rb:20
360
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
361
361
  msgid "World"
362
362
  msgstr ""
363
363
 
@@ -556,10 +556,22 @@ msgid ""
556
556
  "one new line\n"
557
557
  msgstr ""
558
558
 
559
- #: ../test/fixtures/_/percent_strings.rb:34
559
+ #: ../test/fixtures/_/percent_strings.rb:31
560
+ msgid "in_symbol_array"
561
+ msgstr ""
562
+
563
+ #: ../test/fixtures/_/percent_strings.rb:39
560
564
  msgid "hello world"
561
565
  msgstr ""
562
566
 
567
+ #: ../test/fixtures/_/percent_strings.rb:47
568
+ msgid "in_string_array"
569
+ msgstr ""
570
+
571
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
572
+ msgid "Hello"
573
+ msgstr ""
574
+
563
575
  #: ../test/fixtures/backslash.rb:27
564
576
  msgid "You should escape '\\' as '\\\\'."
565
577
  msgstr ""
@@ -593,10 +605,6 @@ msgstr ""
593
605
  msgid "duplicated"
594
606
  msgstr ""
595
607
 
596
- #: ../test/fixtures/hello.rb:26
597
- msgid "Hello"
598
- msgstr ""
599
-
600
608
  #: ../test/fixtures/lower_n_.rb:33
601
609
  msgid ""
602
610
  "bbb\n"
@@ -460,9 +460,18 @@ msgid ""
460
460
  "one new line\n"
461
461
  msgstr ""
462
462
 
463
+ msgid "in_symbol_array"
464
+ msgstr ""
465
+
463
466
  msgid "hello world"
464
467
  msgstr ""
465
468
 
469
+ msgid "in_string_array"
470
+ msgstr ""
471
+
472
+ msgid "Hello"
473
+ msgstr ""
474
+
466
475
  msgid "You should escape '\\' as '\\\\'."
467
476
  msgstr ""
468
477
 
@@ -489,9 +498,6 @@ msgstr ""
489
498
  msgid "duplicated"
490
499
  msgstr ""
491
500
 
492
- msgid "Hello"
493
- msgstr ""
494
-
495
501
  msgid ""
496
502
  "bbb\n"
497
503
  msgid_plural ""
@@ -353,7 +353,7 @@ msgid ""
353
353
  "Hello %{world}\n"
354
354
  msgstr ""
355
355
 
356
- #: ../samples/hello2.rb:20
356
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
357
357
  msgid "World"
358
358
  msgstr ""
359
359
 
@@ -552,10 +552,22 @@ msgid ""
552
552
  "one new line\n"
553
553
  msgstr ""
554
554
 
555
- #: ../test/fixtures/_/percent_strings.rb:34
555
+ #: ../test/fixtures/_/percent_strings.rb:31
556
+ msgid "in_symbol_array"
557
+ msgstr ""
558
+
559
+ #: ../test/fixtures/_/percent_strings.rb:39
556
560
  msgid "hello world"
557
561
  msgstr ""
558
562
 
563
+ #: ../test/fixtures/_/percent_strings.rb:47
564
+ msgid "in_string_array"
565
+ msgstr ""
566
+
567
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
568
+ msgid "Hello"
569
+ msgstr ""
570
+
559
571
  #: ../test/fixtures/backslash.rb:27
560
572
  msgid "You should escape '\\' as '\\\\'."
561
573
  msgstr ""
@@ -589,10 +601,6 @@ msgstr ""
589
601
  msgid "duplicated"
590
602
  msgstr ""
591
603
 
592
- #: ../test/fixtures/hello.rb:26
593
- msgid "Hello"
594
- msgstr ""
595
-
596
604
  #: ../test/fixtures/lower_n_.rb:33
597
605
  msgid ""
598
606
  "bbb\n"
@@ -455,9 +455,18 @@ msgid ""
455
455
  "one new line\n"
456
456
  msgstr ""
457
457
 
458
+ msgid "in_symbol_array"
459
+ msgstr ""
460
+
458
461
  msgid "hello world"
459
462
  msgstr ""
460
463
 
464
+ msgid "in_string_array"
465
+ msgstr ""
466
+
467
+ msgid "Hello"
468
+ msgstr ""
469
+
461
470
  msgid "You should escape '\\' as '\\\\'."
462
471
  msgstr ""
463
472
 
@@ -484,9 +493,6 @@ msgstr ""
484
493
  msgid "duplicated"
485
494
  msgstr ""
486
495
 
487
- msgid "Hello"
488
- msgstr ""
489
-
490
496
  msgid ""
491
497
  "bbb\n"
492
498
  msgid_plural ""
@@ -356,7 +356,7 @@ msgid ""
356
356
  "Hello %{world}\n"
357
357
  msgstr ""
358
358
 
359
- #: ../samples/hello2.rb:20
359
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
360
360
  msgid "World"
361
361
  msgstr ""
362
362
 
@@ -555,10 +555,22 @@ msgid ""
555
555
  "one new line\n"
556
556
  msgstr ""
557
557
 
558
- #: ../test/fixtures/_/percent_strings.rb:34
558
+ #: ../test/fixtures/_/percent_strings.rb:31
559
+ msgid "in_symbol_array"
560
+ msgstr ""
561
+
562
+ #: ../test/fixtures/_/percent_strings.rb:39
559
563
  msgid "hello world"
560
564
  msgstr ""
561
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
+
562
574
  #: ../test/fixtures/backslash.rb:27
563
575
  msgid "You should escape '\\' as '\\\\'."
564
576
  msgstr ""
@@ -592,10 +604,6 @@ msgstr ""
592
604
  msgid "duplicated"
593
605
  msgstr ""
594
606
 
595
- #: ../test/fixtures/hello.rb:26
596
- msgid "Hello"
597
- msgstr ""
598
-
599
607
  #: ../test/fixtures/lower_n_.rb:33
600
608
  msgid ""
601
609
  "bbb\n"
@@ -457,9 +457,18 @@ msgid ""
457
457
  "one new line\n"
458
458
  msgstr ""
459
459
 
460
+ msgid "in_symbol_array"
461
+ msgstr ""
462
+
460
463
  msgid "hello world"
461
464
  msgstr ""
462
465
 
466
+ msgid "in_string_array"
467
+ msgstr ""
468
+
469
+ msgid "Hello"
470
+ msgstr ""
471
+
463
472
  msgid "You should escape '\\' as '\\\\'."
464
473
  msgstr ""
465
474
 
@@ -486,9 +495,6 @@ msgstr ""
486
495
  msgid "duplicated"
487
496
  msgstr ""
488
497
 
489
- msgid "Hello"
490
- msgstr ""
491
-
492
498
  msgid ""
493
499
  "bbb\n"
494
500
  msgid_plural ""