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
@@ -9,5 +9,5 @@
9
9
  =end
10
10
 
11
11
  module GetText
12
- VERSION = "3.3.1"
12
+ VERSION = "3.3.6"
13
13
  end
@@ -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"
@@ -444,9 +444,18 @@ msgid ""
444
444
  "one new line\n"
445
445
  msgstr ""
446
446
 
447
+ msgid "in_symbol_array"
448
+ msgstr ""
449
+
447
450
  msgid "hello world"
448
451
  msgstr ""
449
452
 
453
+ msgid "in_string_array"
454
+ msgstr ""
455
+
456
+ msgid "Hello"
457
+ msgstr ""
458
+
450
459
  msgid "You should escape '\\' as '\\\\'."
451
460
  msgstr ""
452
461
 
@@ -473,9 +482,6 @@ msgstr ""
473
482
  msgid "duplicated"
474
483
  msgstr ""
475
484
 
476
- msgid "Hello"
477
- msgstr ""
478
-
479
485
  msgid ""
480
486
  "bbb\n"
481
487
  msgid_plural ""
@@ -347,7 +347,7 @@ msgid ""
347
347
  "Hello %{world}\n"
348
348
  msgstr ""
349
349
 
350
- #: ../samples/hello2.rb:20
350
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
351
351
  msgid "World"
352
352
  msgstr ""
353
353
 
@@ -546,10 +546,22 @@ msgid ""
546
546
  "one new line\n"
547
547
  msgstr ""
548
548
 
549
- #: ../test/fixtures/_/percent_strings.rb:34
549
+ #: ../test/fixtures/_/percent_strings.rb:31
550
+ msgid "in_symbol_array"
551
+ msgstr ""
552
+
553
+ #: ../test/fixtures/_/percent_strings.rb:39
550
554
  msgid "hello world"
551
555
  msgstr ""
552
556
 
557
+ #: ../test/fixtures/_/percent_strings.rb:47
558
+ msgid "in_string_array"
559
+ msgstr ""
560
+
561
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
562
+ msgid "Hello"
563
+ msgstr ""
564
+
553
565
  #: ../test/fixtures/backslash.rb:27
554
566
  msgid "You should escape '\\' as '\\\\'."
555
567
  msgstr ""
@@ -583,10 +595,6 @@ msgstr ""
583
595
  msgid "duplicated"
584
596
  msgstr ""
585
597
 
586
- #: ../test/fixtures/hello.rb:26
587
- msgid "Hello"
588
- msgstr ""
589
-
590
598
  #: ../test/fixtures/lower_n_.rb:33
591
599
  msgid ""
592
600
  "bbb\n"
@@ -450,9 +450,18 @@ msgid ""
450
450
  "one new line\n"
451
451
  msgstr ""
452
452
 
453
+ msgid "in_symbol_array"
454
+ msgstr ""
455
+
453
456
  msgid "hello world"
454
457
  msgstr ""
455
458
 
459
+ msgid "in_string_array"
460
+ msgstr ""
461
+
462
+ msgid "Hello"
463
+ msgstr ""
464
+
456
465
  msgid "You should escape '\\' as '\\\\'."
457
466
  msgstr ""
458
467
 
@@ -479,9 +488,6 @@ msgstr ""
479
488
  msgid "duplicated"
480
489
  msgstr ""
481
490
 
482
- msgid "Hello"
483
- msgstr ""
484
-
485
491
  msgid ""
486
492
  "bbb\n"
487
493
  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"
@@ -446,9 +446,18 @@ msgid ""
446
446
  "one new line\n"
447
447
  msgstr ""
448
448
 
449
+ msgid "in_symbol_array"
450
+ msgstr ""
451
+
449
452
  msgid "hello world"
450
453
  msgstr ""
451
454
 
455
+ msgid "in_string_array"
456
+ msgstr ""
457
+
458
+ msgid "Hello"
459
+ msgstr ""
460
+
452
461
  msgid "You should escape '\\' as '\\\\'."
453
462
  msgstr ""
454
463
 
@@ -475,9 +484,6 @@ msgstr ""
475
484
  msgid "duplicated"
476
485
  msgstr ""
477
486
 
478
- msgid "Hello"
479
- msgstr ""
480
-
481
487
  msgid ""
482
488
  "bbb\n"
483
489
  msgid_plural ""
@@ -349,7 +349,7 @@ msgid ""
349
349
  "Hello %{world}\n"
350
350
  msgstr ""
351
351
 
352
- #: ../samples/hello2.rb:20
352
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
353
353
  msgid "World"
354
354
  msgstr ""
355
355
 
@@ -548,10 +548,22 @@ msgid ""
548
548
  "one new line\n"
549
549
  msgstr ""
550
550
 
551
- #: ../test/fixtures/_/percent_strings.rb:34
551
+ #: ../test/fixtures/_/percent_strings.rb:31
552
+ msgid "in_symbol_array"
553
+ msgstr ""
554
+
555
+ #: ../test/fixtures/_/percent_strings.rb:39
552
556
  msgid "hello world"
553
557
  msgstr ""
554
558
 
559
+ #: ../test/fixtures/_/percent_strings.rb:47
560
+ msgid "in_string_array"
561
+ msgstr ""
562
+
563
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
564
+ msgid "Hello"
565
+ msgstr ""
566
+
555
567
  #: ../test/fixtures/backslash.rb:27
556
568
  msgid "You should escape '\\' as '\\\\'."
557
569
  msgstr ""
@@ -585,10 +597,6 @@ msgstr ""
585
597
  msgid "duplicated"
586
598
  msgstr ""
587
599
 
588
- #: ../test/fixtures/hello.rb:26
589
- msgid "Hello"
590
- msgstr ""
591
-
592
600
  #: ../test/fixtures/lower_n_.rb:33
593
601
  msgid ""
594
602
  "bbb\n"
@@ -452,9 +452,18 @@ msgid ""
452
452
  "one new line\n"
453
453
  msgstr ""
454
454
 
455
+ msgid "in_symbol_array"
456
+ msgstr ""
457
+
455
458
  msgid "hello world"
456
459
  msgstr ""
457
460
 
461
+ msgid "in_string_array"
462
+ msgstr ""
463
+
464
+ msgid "Hello"
465
+ msgstr ""
466
+
458
467
  msgid "You should escape '\\' as '\\\\'."
459
468
  msgstr ""
460
469
 
@@ -481,9 +490,6 @@ msgstr ""
481
490
  msgid "duplicated"
482
491
  msgstr ""
483
492
 
484
- msgid "Hello"
485
- msgstr ""
486
-
487
493
  msgid ""
488
494
  "bbb\n"
489
495
  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"
@@ -459,9 +459,18 @@ msgid ""
459
459
  "one new line\n"
460
460
  msgstr ""
461
461
 
462
+ msgid "in_symbol_array"
463
+ msgstr ""
464
+
462
465
  msgid "hello world"
463
466
  msgstr ""
464
467
 
468
+ msgid "in_string_array"
469
+ msgstr ""
470
+
471
+ msgid "Hello"
472
+ msgstr ""
473
+
465
474
  msgid "You should escape '\\' as '\\\\'."
466
475
  msgstr ""
467
476
 
@@ -488,9 +497,6 @@ msgstr ""
488
497
  msgid "duplicated"
489
498
  msgstr ""
490
499
 
491
- msgid "Hello"
492
- msgstr ""
493
-
494
500
  msgid ""
495
501
  "bbb\n"
496
502
  msgid_plural ""
@@ -352,7 +352,7 @@ msgid ""
352
352
  "Hello %{world}\n"
353
353
  msgstr ""
354
354
 
355
- #: ../samples/hello2.rb:20
355
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
356
356
  msgid "World"
357
357
  msgstr ""
358
358
 
@@ -551,10 +551,22 @@ msgid ""
551
551
  "one new line\n"
552
552
  msgstr ""
553
553
 
554
- #: ../test/fixtures/_/percent_strings.rb:34
554
+ #: ../test/fixtures/_/percent_strings.rb:31
555
+ msgid "in_symbol_array"
556
+ msgstr ""
557
+
558
+ #: ../test/fixtures/_/percent_strings.rb:39
555
559
  msgid "hello world"
556
560
  msgstr ""
557
561
 
562
+ #: ../test/fixtures/_/percent_strings.rb:47
563
+ msgid "in_string_array"
564
+ msgstr ""
565
+
566
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
567
+ msgid "Hello"
568
+ msgstr ""
569
+
558
570
  #: ../test/fixtures/backslash.rb:27
559
571
  msgid "You should escape '\\' as '\\\\'."
560
572
  msgstr ""
@@ -588,10 +600,6 @@ msgstr ""
588
600
  msgid "duplicated"
589
601
  msgstr ""
590
602
 
591
- #: ../test/fixtures/hello.rb:26
592
- msgid "Hello"
593
- msgstr ""
594
-
595
603
  #: ../test/fixtures/lower_n_.rb:33
596
604
  msgid ""
597
605
  "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 ""
@@ -355,7 +355,7 @@ msgid ""
355
355
  "Hello %{world}\n"
356
356
  msgstr ""
357
357
 
358
- #: ../samples/hello2.rb:20
358
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
359
359
  msgid "World"
360
360
  msgstr ""
361
361
 
@@ -554,10 +554,22 @@ msgid ""
554
554
  "one new line\n"
555
555
  msgstr ""
556
556
 
557
- #: ../test/fixtures/_/percent_strings.rb:34
557
+ #: ../test/fixtures/_/percent_strings.rb:31
558
+ msgid "in_symbol_array"
559
+ msgstr ""
560
+
561
+ #: ../test/fixtures/_/percent_strings.rb:39
558
562
  msgid "hello world"
559
563
  msgstr ""
560
564
 
565
+ #: ../test/fixtures/_/percent_strings.rb:47
566
+ msgid "in_string_array"
567
+ msgstr ""
568
+
569
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
570
+ msgid "Hello"
571
+ msgstr ""
572
+
561
573
  #: ../test/fixtures/backslash.rb:27
562
574
  msgid "You should escape '\\' as '\\\\'."
563
575
  msgstr ""
@@ -591,10 +603,6 @@ msgstr ""
591
603
  msgid "duplicated"
592
604
  msgstr ""
593
605
 
594
- #: ../test/fixtures/hello.rb:26
595
- msgid "Hello"
596
- msgstr ""
597
-
598
606
  #: ../test/fixtures/lower_n_.rb:33
599
607
  msgid ""
600
608
  "bbb\n"