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
@@ -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 ""
@@ -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"
@@ -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 ""
@@ -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 ""
@@ -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"
@@ -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 ""
@@ -6,10 +6,10 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: gettext 3.3.1\n"
9
+ "Project-Id-Version: gettext 3.3.6\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2020-01-12 08:10+0900\n"
12
- "PO-Revision-Date: 2020-01-12 08:10+0900\n"
11
+ "POT-Creation-Date: 2020-08-04 06:06+0900\n"
12
+ "PO-Revision-Date: 2020-08-04 06:06+0900\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -369,7 +369,7 @@ msgid ""
369
369
  "Hello %{world}\n"
370
370
  msgstr ""
371
371
 
372
- #: ../samples/hello2.rb:20
372
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
373
373
  msgid "World"
374
374
  msgstr ""
375
375
 
@@ -573,10 +573,22 @@ msgid ""
573
573
  "one new line\n"
574
574
  msgstr ""
575
575
 
576
- #: ../test/fixtures/_/percent_strings.rb:34
576
+ #: ../test/fixtures/_/percent_strings.rb:31
577
+ msgid "in_symbol_array"
578
+ msgstr ""
579
+
580
+ #: ../test/fixtures/_/percent_strings.rb:39
577
581
  msgid "hello world"
578
582
  msgstr ""
579
583
 
584
+ #: ../test/fixtures/_/percent_strings.rb:47
585
+ msgid "in_string_array"
586
+ msgstr ""
587
+
588
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
589
+ msgid "Hello"
590
+ msgstr ""
591
+
580
592
  #: ../test/fixtures/backslash.rb:27
581
593
  msgid "You should escape '\\' as '\\\\'."
582
594
  msgstr ""
@@ -608,10 +620,6 @@ msgstr ""
608
620
  msgid "duplicated"
609
621
  msgstr ""
610
622
 
611
- #: ../test/fixtures/hello.rb:26
612
- msgid "Hello"
613
- msgstr ""
614
-
615
623
  #: ../test/fixtures/lower_n_.rb:33
616
624
  msgid ""
617
625
  "bbb\n"
@@ -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 ""
@@ -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 ""