gettext 3.3.2 → 3.3.3

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 (60) hide show
  1. checksums.yaml +4 -4
  2. data/doc/text/news.md +11 -0
  3. data/lib/gettext/tools/parser/ruby.rb +6 -0
  4. data/lib/gettext/version.rb +1 -1
  5. data/po/bg/gettext.edit.po +9 -1
  6. data/po/bg/gettext.po +6 -0
  7. data/po/bs/gettext.edit.po +9 -1
  8. data/po/bs/gettext.po +6 -0
  9. data/po/ca/gettext.edit.po +9 -1
  10. data/po/ca/gettext.po +6 -0
  11. data/po/cs/gettext.edit.po +9 -1
  12. data/po/cs/gettext.po +6 -0
  13. data/po/de/gettext.edit.po +9 -1
  14. data/po/de/gettext.po +6 -0
  15. data/po/el/gettext.edit.po +9 -1
  16. data/po/el/gettext.po +6 -0
  17. data/po/eo/gettext.edit.po +9 -1
  18. data/po/eo/gettext.po +6 -0
  19. data/po/es/gettext.edit.po +9 -1
  20. data/po/es/gettext.po +6 -0
  21. data/po/et/gettext.edit.po +9 -1
  22. data/po/et/gettext.po +6 -0
  23. data/po/fr/gettext.edit.po +9 -1
  24. data/po/fr/gettext.po +6 -0
  25. data/po/gettext.pot +12 -4
  26. data/po/hr/gettext.edit.po +9 -1
  27. data/po/hr/gettext.po +6 -0
  28. data/po/hu/gettext.edit.po +9 -1
  29. data/po/hu/gettext.po +6 -0
  30. data/po/it/gettext.edit.po +9 -1
  31. data/po/it/gettext.po +6 -0
  32. data/po/ja/gettext.edit.po +9 -1
  33. data/po/ja/gettext.po +6 -0
  34. data/po/ko/gettext.edit.po +9 -1
  35. data/po/ko/gettext.po +6 -0
  36. data/po/lv/gettext.edit.po +9 -1
  37. data/po/lv/gettext.po +6 -0
  38. data/po/nb/gettext.edit.po +9 -1
  39. data/po/nb/gettext.po +6 -0
  40. data/po/nl/gettext.edit.po +9 -1
  41. data/po/nl/gettext.po +6 -0
  42. data/po/pt_BR/gettext.edit.po +9 -1
  43. data/po/pt_BR/gettext.po +6 -0
  44. data/po/ru/gettext.edit.po +9 -1
  45. data/po/ru/gettext.po +6 -0
  46. data/po/sr/gettext.edit.po +9 -1
  47. data/po/sr/gettext.po +6 -0
  48. data/po/sv/gettext.edit.po +9 -1
  49. data/po/sv/gettext.po +6 -0
  50. data/po/uk/gettext.edit.po +9 -1
  51. data/po/uk/gettext.po +6 -0
  52. data/po/vi/gettext.edit.po +9 -1
  53. data/po/vi/gettext.po +6 -0
  54. data/po/zh/gettext.edit.po +9 -1
  55. data/po/zh/gettext.po +6 -0
  56. data/po/zh_TW/gettext.edit.po +9 -1
  57. data/po/zh_TW/gettext.po +6 -0
  58. data/test/fixtures/_/percent_strings.rb +9 -0
  59. data/test/tools/parser/test_ruby.rb +10 -2
  60. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f6b8ac74bbe41d5b0a942c489cdc9d4c99ccde14e4e8fd7332168e85c0711c9
4
- data.tar.gz: 6644e0c768ad64cc2e6339809953bbcab6198b5fed86d7fb84d76d97b74f3850
3
+ metadata.gz: a2b035c2e33e7e5d59eb90ca4bc2ec5f002300cd597bb7170b265ee3dea1017b
4
+ data.tar.gz: c964321d37fb3e9608527d08c96a3aef18791fc4ce41f9efdc950e49086cdf53
5
5
  SHA512:
6
- metadata.gz: b3cc2e18fcb5e68a66678d359a325b3af5c4b74a9cea7a595066022984c172cefacafd9272cb688167b4eab09bc21f9acede3f6ee567feb1ce6344dc0448ce98
7
- data.tar.gz: 71995c31d3eba398f1680295fa59c4c00454306460522a962ebd2107c36c80320395ee63d1883dc331ca4c8455b8147d65efc451f81f16a20844a1934718c351
6
+ metadata.gz: ff63d36681ef49c5d9ae4478da15f671046b67422477f01a3f408c6a6ee653688354d1502c44f0923691b706fdf2ca8de0fa267715c31f85ac8cb4c531ac7c5f
7
+ data.tar.gz: 41cc509f2ab0502e3220ca39e37c201a056cbf372aca206fc3f3eb240b49308388c64f09b80aa26397f5cd92d35f750a09cd5f279ca7cd887bea134e119f0514
@@ -1,5 +1,16 @@
1
1
  # News
2
2
 
3
+ ## 3.3.3: 2020-02-05 {#version-3-3-3}
4
+
5
+ ### Improvements
6
+
7
+ * Added support for `%I`.
8
+ [GitHub#71][Reported by Kai Ramuenke]
9
+
10
+ ### Thanks
11
+
12
+ * Kai Ramuenke
13
+
3
14
  ## 3.3.2: 2020-01-13 {#version-3-3-2}
4
15
 
5
16
  ### Fixes
@@ -247,6 +247,12 @@ module GetText
247
247
  po
248
248
  end
249
249
 
250
+ def process_on_symbols_beg(token, po)
251
+ @string_mark_stack << "\""
252
+ @string_stack << ""
253
+ po
254
+ end
255
+
250
256
  def process_on_backtick(token, po)
251
257
  @string_mark_stack << "`"
252
258
  @string_stack << ""
@@ -9,5 +9,5 @@
9
9
  =end
10
10
 
11
11
  module GetText
12
- VERSION = "3.3.2"
12
+ VERSION = "3.3.3"
13
13
  end
@@ -541,10 +541,18 @@ 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
+
548
556
  #: ../test/fixtures/backslash.rb:27
549
557
  msgid "You should escape '\\' as '\\\\'."
550
558
  msgstr ""
@@ -444,9 +444,15 @@ 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
+
450
456
  msgid "You should escape '\\' as '\\\\'."
451
457
  msgstr ""
452
458
 
@@ -546,10 +546,18 @@ 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
+
553
561
  #: ../test/fixtures/backslash.rb:27
554
562
  msgid "You should escape '\\' as '\\\\'."
555
563
  msgstr ""
@@ -450,9 +450,15 @@ 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
+
456
462
  msgid "You should escape '\\' as '\\\\'."
457
463
  msgstr ""
458
464
 
@@ -541,10 +541,18 @@ 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
+
548
556
  #: ../test/fixtures/backslash.rb:27
549
557
  msgid "You should escape '\\' as '\\\\'."
550
558
  msgstr ""
@@ -446,9 +446,15 @@ 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
+
452
458
  msgid "You should escape '\\' as '\\\\'."
453
459
  msgstr ""
454
460
 
@@ -548,10 +548,18 @@ 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
+
555
563
  #: ../test/fixtures/backslash.rb:27
556
564
  msgid "You should escape '\\' as '\\\\'."
557
565
  msgstr ""
@@ -452,9 +452,15 @@ 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
+
458
464
  msgid "You should escape '\\' as '\\\\'."
459
465
  msgstr ""
460
466
 
@@ -555,10 +555,18 @@ 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
+
562
570
  #: ../test/fixtures/backslash.rb:27
563
571
  msgid "You should escape '\\' as '\\\\'."
564
572
  msgstr ""
@@ -459,9 +459,15 @@ 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
+
465
471
  msgid "You should escape '\\' as '\\\\'."
466
472
  msgstr ""
467
473
 
@@ -551,10 +551,18 @@ 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
+
558
566
  #: ../test/fixtures/backslash.rb:27
559
567
  msgid "You should escape '\\' as '\\\\'."
560
568
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -554,10 +554,18 @@ 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
+
561
569
  #: ../test/fixtures/backslash.rb:27
562
570
  msgid "You should escape '\\' as '\\\\'."
563
571
  msgstr ""
@@ -456,9 +456,15 @@ 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
+
462
468
  msgid "You should escape '\\' as '\\\\'."
463
469
  msgstr ""
464
470
 
@@ -552,10 +552,18 @@ 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
+
559
567
  #: ../test/fixtures/backslash.rb:27
560
568
  msgid "You should escape '\\' as '\\\\'."
561
569
  msgstr ""
@@ -457,9 +457,15 @@ 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
+
463
469
  msgid "You should escape '\\' as '\\\\'."
464
470
  msgstr ""
465
471
 
@@ -552,10 +552,18 @@ 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
+
559
567
  #: ../test/fixtures/backslash.rb:27
560
568
  msgid "You should escape '\\' as '\\\\'."
561
569
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -553,10 +553,18 @@ 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
+
560
568
  #: ../test/fixtures/backslash.rb:27
561
569
  msgid "You should escape '\\' as '\\\\'."
562
570
  msgstr ""
@@ -459,9 +459,15 @@ 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
+
465
471
  msgid "You should escape '\\' as '\\\\'."
466
472
  msgstr ""
467
473
 
@@ -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.3\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-02-05 14:03+0900\n"
12
+ "PO-Revision-Date: 2020-02-05 14:03+0900\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -573,10 +573,18 @@ 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
+
580
588
  #: ../test/fixtures/backslash.rb:27
581
589
  msgid "You should escape '\\' as '\\\\'."
582
590
  msgstr ""
@@ -552,10 +552,18 @@ 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
+
559
567
  #: ../test/fixtures/backslash.rb:27
560
568
  msgid "You should escape '\\' as '\\\\'."
561
569
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -552,10 +552,18 @@ 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
+
559
567
  #: ../test/fixtures/backslash.rb:27
560
568
  msgid "You should escape '\\' as '\\\\'."
561
569
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -550,10 +550,18 @@ 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
+
557
565
  #: ../test/fixtures/backslash.rb:27
558
566
  msgid "You should escape '\\' as '\\\\'."
559
567
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -538,10 +538,18 @@ msgid ""
538
538
  "one new line\n"
539
539
  msgstr ""
540
540
 
541
- #: ../test/fixtures/_/percent_strings.rb:34
541
+ #: ../test/fixtures/_/percent_strings.rb:31
542
+ msgid "in_symbol_array"
543
+ msgstr ""
544
+
545
+ #: ../test/fixtures/_/percent_strings.rb:39
542
546
  msgid "hello world"
543
547
  msgstr ""
544
548
 
549
+ #: ../test/fixtures/_/percent_strings.rb:47
550
+ msgid "in_string_array"
551
+ msgstr ""
552
+
545
553
  #: ../test/fixtures/backslash.rb:27
546
554
  msgid "You should escape '\\' as '\\\\'."
547
555
  msgstr ""
@@ -446,9 +446,15 @@ 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
+
452
458
  msgid "You should escape '\\' as '\\\\'."
453
459
  msgstr ""
454
460
 
@@ -551,10 +551,18 @@ 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
+
558
566
  #: ../test/fixtures/backslash.rb:27
559
567
  msgid "You should escape '\\' as '\\\\'."
560
568
  msgstr ""
@@ -453,9 +453,15 @@ msgid ""
453
453
  "one new line\n"
454
454
  msgstr ""
455
455
 
456
+ msgid "in_symbol_array"
457
+ msgstr ""
458
+
456
459
  msgid "hello world"
457
460
  msgstr ""
458
461
 
462
+ msgid "in_string_array"
463
+ msgstr ""
464
+
459
465
  msgid "You should escape '\\' as '\\\\'."
460
466
  msgstr ""
461
467
 
@@ -552,10 +552,18 @@ 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
+
559
567
  #: ../test/fixtures/backslash.rb:27
560
568
  msgid "You should escape '\\' as '\\\\'."
561
569
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -552,10 +552,18 @@ 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
+
559
567
  #: ../test/fixtures/backslash.rb:27
560
568
  msgid "You should escape '\\' as '\\\\'."
561
569
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -551,10 +551,18 @@ 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
+
558
566
  #: ../test/fixtures/backslash.rb:27
559
567
  msgid "You should escape '\\' as '\\\\'."
560
568
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -553,10 +553,18 @@ 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
+
560
568
  #: ../test/fixtures/backslash.rb:27
561
569
  msgid "You should escape '\\' as '\\\\'."
562
570
  msgstr ""
@@ -457,9 +457,15 @@ 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
+
463
469
  msgid "You should escape '\\' as '\\\\'."
464
470
  msgstr ""
465
471
 
@@ -553,10 +553,18 @@ 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
+
560
568
  #: ../test/fixtures/backslash.rb:27
561
569
  msgid "You should escape '\\' as '\\\\'."
562
570
  msgstr ""
@@ -457,9 +457,15 @@ 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
+
463
469
  msgid "You should escape '\\' as '\\\\'."
464
470
  msgstr ""
465
471
 
@@ -553,10 +553,18 @@ 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
+
560
568
  #: ../test/fixtures/backslash.rb:27
561
569
  msgid "You should escape '\\' as '\\\\'."
562
570
  msgstr ""
@@ -456,9 +456,15 @@ 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
+
462
468
  msgid "You should escape '\\' as '\\\\'."
463
469
  msgstr ""
464
470
 
@@ -541,10 +541,18 @@ 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
+
548
556
  #: ../test/fixtures/backslash.rb:27
549
557
  msgid "You should escape '\\' as '\\\\'."
550
558
  msgstr ""
@@ -441,9 +441,15 @@ 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
+
447
453
  msgid "You should escape '\\' as '\\\\'."
448
454
  msgstr ""
449
455
 
@@ -556,10 +556,18 @@ 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
+
563
571
  #: ../test/fixtures/backslash.rb:27
564
572
  msgid "You should escape '\\' as '\\\\'."
565
573
  msgstr ""
@@ -460,9 +460,15 @@ 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
+
466
472
  msgid "You should escape '\\' as '\\\\'."
467
473
  msgstr ""
468
474
 
@@ -552,10 +552,18 @@ 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
+
559
567
  #: ../test/fixtures/backslash.rb:27
560
568
  msgid "You should escape '\\' as '\\\\'."
561
569
  msgstr ""
@@ -455,9 +455,15 @@ 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
+
461
467
  msgid "You should escape '\\' as '\\\\'."
462
468
  msgstr ""
463
469
 
@@ -555,10 +555,18 @@ 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
+
562
570
  #: ../test/fixtures/backslash.rb:27
563
571
  msgid "You should escape '\\' as '\\\\'."
564
572
  msgstr ""
@@ -457,9 +457,15 @@ 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
+
463
469
  msgid "You should escape '\\' as '\\\\'."
464
470
  msgstr ""
465
471
 
@@ -554,10 +554,18 @@ 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
+
561
569
  #: ../test/fixtures/backslash.rb:27
562
570
  msgid "You should escape '\\' as '\\\\'."
563
571
  msgstr ""
@@ -456,9 +456,15 @@ 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
+
462
468
  msgid "You should escape '\\' as '\\\\'."
463
469
  msgstr ""
464
470
 
@@ -1,4 +1,5 @@
1
1
  # Copyright (C) 2020 Kitaiti Makoto <KitaitiMakoto@gmail.com>
2
+ # Copyright (C) 2020 Sutou Kouhei <kou@clear-code.com>
2
3
  #
3
4
  # License: Ruby's or LGPL
4
5
  #
@@ -26,6 +27,10 @@ module Fixtures
26
27
  _(%i(hello world))
27
28
  end
28
29
 
30
+ def in_symbol_array
31
+ %I(before#{_("in_symbol_array")}after)
32
+ end
33
+
29
34
  def symbol
30
35
  _(%s(hello world))
31
36
  end
@@ -38,6 +43,10 @@ module Fixtures
38
43
  _(%w(hello world))
39
44
  end
40
45
 
46
+ def in_string_array
47
+ %W(before#{_("in_string_array")}after)
48
+ end
49
+
41
50
  def execute
42
51
  _(%x(echo hello world))
43
52
  end
@@ -194,10 +194,18 @@ class TestRubyParser < Test::Unit::TestCase
194
194
  def test_percent_strings
195
195
  path = "percent_strings.rb"
196
196
  assert_parse([
197
+ {
198
+ :msgid => "in_symbol_array",
199
+ :references => ["#{path}:31"],
200
+ },
197
201
  {
198
202
  :msgid => "hello world",
199
- :references => ["#{path}:34"],
200
- }
203
+ :references => ["#{path}:39"],
204
+ },
205
+ {
206
+ :msgid => "in_string_array",
207
+ :references => ["#{path}:47"],
208
+ },
201
209
  ],
202
210
  path)
203
211
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gettext
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-01-12 00:00:00.000000000 Z
12
+ date: 2020-02-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: locale