gettext 3.3.2 → 3.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +206 -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/version.rb +1 -1
  9. data/po/bg/gettext.edit.po +14 -6
  10. data/po/bg/gettext.po +9 -3
  11. data/po/bs/gettext.edit.po +14 -6
  12. data/po/bs/gettext.po +9 -3
  13. data/po/ca/gettext.edit.po +14 -6
  14. data/po/ca/gettext.po +9 -3
  15. data/po/cs/gettext.edit.po +14 -6
  16. data/po/cs/gettext.po +9 -3
  17. data/po/de/gettext.edit.po +14 -6
  18. data/po/de/gettext.po +9 -3
  19. data/po/el/gettext.edit.po +14 -6
  20. data/po/el/gettext.po +9 -3
  21. data/po/eo/gettext.edit.po +14 -6
  22. data/po/eo/gettext.po +9 -3
  23. data/po/es/gettext.edit.po +14 -6
  24. data/po/es/gettext.po +9 -3
  25. data/po/et/gettext.edit.po +14 -6
  26. data/po/et/gettext.po +9 -3
  27. data/po/fr/gettext.edit.po +14 -6
  28. data/po/fr/gettext.po +9 -3
  29. data/po/gettext.pot +17 -9
  30. data/po/hr/gettext.edit.po +14 -6
  31. data/po/hr/gettext.po +9 -3
  32. data/po/hu/gettext.edit.po +14 -6
  33. data/po/hu/gettext.po +9 -3
  34. data/po/it/gettext.edit.po +14 -6
  35. data/po/it/gettext.po +9 -3
  36. data/po/ja/gettext.edit.po +14 -6
  37. data/po/ja/gettext.po +9 -3
  38. data/po/ko/gettext.edit.po +14 -6
  39. data/po/ko/gettext.po +9 -3
  40. data/po/lv/gettext.edit.po +14 -6
  41. data/po/lv/gettext.po +9 -3
  42. data/po/nb/gettext.edit.po +14 -6
  43. data/po/nb/gettext.po +9 -3
  44. data/po/nl/gettext.edit.po +14 -6
  45. data/po/nl/gettext.po +9 -3
  46. data/po/pt_BR/gettext.edit.po +14 -6
  47. data/po/pt_BR/gettext.po +9 -3
  48. data/po/ru/gettext.edit.po +14 -6
  49. data/po/ru/gettext.po +9 -3
  50. data/po/sr/gettext.edit.po +14 -6
  51. data/po/sr/gettext.po +9 -3
  52. data/po/sv/gettext.edit.po +14 -6
  53. data/po/sv/gettext.po +9 -3
  54. data/po/uk/gettext.edit.po +14 -6
  55. data/po/uk/gettext.po +9 -3
  56. data/po/vi/gettext.edit.po +14 -6
  57. data/po/vi/gettext.po +9 -3
  58. data/po/zh/gettext.edit.po +14 -6
  59. data/po/zh/gettext.po +9 -3
  60. data/po/zh_TW/gettext.edit.po +14 -6
  61. data/po/zh_TW/gettext.po +9 -3
  62. data/test/fixtures/_/percent_strings.rb +9 -0
  63. data/test/fixtures/_/pipe.rb +32 -0
  64. data/test/fixtures/erb/minus.rhtml +12 -0
  65. data/test/fixtures/gtk_builder_ui_definitions.ui~ +68 -0
  66. data/test/fixtures/ruby/percent_I.rb +1 -0
  67. data/test/fixtures/ruby/percent_W.rb +1 -0
  68. data/test/fixtures/ruby/percent_i.rb +1 -0
  69. data/test/fixtures/ruby/percent_w.rb +1 -0
  70. data/test/run-test.rb +0 -1
  71. data/test/test_parser.rb +7 -0
  72. data/test/tools/parser/test_ruby.rb +52 -2
  73. metadata +21 -29
@@ -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.2\n"
9
+ "Project-Id-Version: gettext 3.3.6\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2020-01-13 07:22+0900\n"
12
- "PO-Revision-Date: 2020-01-13 07:22+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 ""
@@ -351,7 +351,7 @@ msgid ""
351
351
  "Hello %{world}\n"
352
352
  msgstr ""
353
353
 
354
- #: ../samples/hello2.rb:20
354
+ #: ../samples/hello2.rb:20 ../test/fixtures/_/pipe.rb:28
355
355
  msgid "World"
356
356
  msgstr ""
357
357
 
@@ -550,10 +550,22 @@ msgid ""
550
550
  "one new line\n"
551
551
  msgstr ""
552
552
 
553
- #: ../test/fixtures/_/percent_strings.rb:34
553
+ #: ../test/fixtures/_/percent_strings.rb:31
554
+ msgid "in_symbol_array"
555
+ msgstr ""
556
+
557
+ #: ../test/fixtures/_/percent_strings.rb:39
554
558
  msgid "hello world"
555
559
  msgstr ""
556
560
 
561
+ #: ../test/fixtures/_/percent_strings.rb:47
562
+ msgid "in_string_array"
563
+ msgstr ""
564
+
565
+ #: ../test/fixtures/_/pipe.rb:26 ../test/fixtures/hello.rb:26
566
+ msgid "Hello"
567
+ msgstr ""
568
+
557
569
  #: ../test/fixtures/backslash.rb:27
558
570
  msgid "You should escape '\\' as '\\\\'."
559
571
  msgstr ""
@@ -587,10 +599,6 @@ msgstr ""
587
599
  msgid "duplicated"
588
600
  msgstr ""
589
601
 
590
- #: ../test/fixtures/hello.rb:26
591
- msgid "Hello"
592
- msgstr ""
593
-
594
602
  #: ../test/fixtures/lower_n_.rb:33
595
603
  msgid ""
596
604
  "bbb\n"