gettext 3.3.5 → 3.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +4 -0
- data/doc/text/news.md +220 -0
- data/gettext.gemspec +4 -4
- data/lib/gettext/locale_path.rb +12 -8
- data/lib/gettext/mo.rb +7 -5
- data/lib/gettext/tools/msginit.rb +221 -50
- data/lib/gettext/tools/msgmerge.rb +13 -0
- data/lib/gettext/tools/parser/erb.rb +9 -1
- data/lib/gettext/tools/parser/glade.rb +38 -40
- data/lib/gettext/tools/parser/gtk_builder_ui_definitions.rb +6 -6
- data/lib/gettext/tools/parser/ruby.rb +2 -2
- data/lib/gettext/version.rb +2 -2
- data/locale/bg/LC_MESSAGES/gettext.mo +0 -0
- data/locale/bs/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ca/LC_MESSAGES/gettext.mo +0 -0
- data/locale/cs/LC_MESSAGES/gettext.mo +0 -0
- data/locale/de/LC_MESSAGES/gettext.mo +0 -0
- data/locale/el/LC_MESSAGES/gettext.mo +0 -0
- data/locale/eo/LC_MESSAGES/gettext.mo +0 -0
- data/locale/es/LC_MESSAGES/gettext.mo +0 -0
- data/locale/et/LC_MESSAGES/gettext.mo +0 -0
- data/locale/fr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/hr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/hu/LC_MESSAGES/gettext.mo +0 -0
- data/locale/it/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ja/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ko/LC_MESSAGES/gettext.mo +0 -0
- data/locale/lv/LC_MESSAGES/gettext.mo +0 -0
- data/locale/nb/LC_MESSAGES/gettext.mo +0 -0
- data/locale/nl/LC_MESSAGES/gettext.mo +0 -0
- data/locale/pt_BR/LC_MESSAGES/gettext.mo +0 -0
- data/locale/ru/LC_MESSAGES/gettext.mo +0 -0
- data/locale/sr/LC_MESSAGES/gettext.mo +0 -0
- data/locale/uk/LC_MESSAGES/gettext.mo +0 -0
- data/locale/vi/LC_MESSAGES/gettext.mo +0 -0
- data/locale/zh/LC_MESSAGES/gettext.mo +0 -0
- data/locale/zh_TW/LC_MESSAGES/gettext.mo +0 -0
- data/po/bg/gettext.edit.po +36 -554
- data/po/bg/gettext.po +0 -423
- data/po/bs/gettext.edit.po +36 -554
- data/po/bs/gettext.po +0 -423
- data/po/ca/gettext.edit.po +36 -554
- data/po/ca/gettext.po +0 -423
- data/po/cs/gettext.edit.po +36 -554
- data/po/cs/gettext.po +0 -423
- data/po/de/gettext.edit.po +36 -554
- data/po/de/gettext.po +0 -423
- data/po/el/gettext.edit.po +36 -554
- data/po/el/gettext.po +0 -423
- data/po/eo/gettext.edit.po +36 -554
- data/po/eo/gettext.po +0 -423
- data/po/es/gettext.edit.po +36 -554
- data/po/es/gettext.po +0 -423
- data/po/et/gettext.edit.po +36 -554
- data/po/et/gettext.po +0 -423
- data/po/fr/gettext.edit.po +36 -554
- data/po/fr/gettext.po +0 -423
- data/po/gettext.pot +37 -619
- data/po/hr/gettext.edit.po +36 -554
- data/po/hr/gettext.po +0 -423
- data/po/hu/gettext.edit.po +36 -554
- data/po/hu/gettext.po +0 -423
- data/po/it/gettext.edit.po +36 -554
- data/po/it/gettext.po +0 -423
- data/po/ja/gettext.edit.po +36 -554
- data/po/ja/gettext.po +0 -423
- data/po/ko/gettext.edit.po +36 -554
- data/po/ko/gettext.po +0 -423
- data/po/lv/gettext.edit.po +36 -554
- data/po/lv/gettext.po +0 -423
- data/po/nb/gettext.edit.po +36 -554
- data/po/nb/gettext.po +0 -423
- data/po/nl/gettext.edit.po +36 -554
- data/po/nl/gettext.po +0 -423
- data/po/pt_BR/gettext.edit.po +36 -554
- data/po/pt_BR/gettext.po +0 -423
- data/po/ru/gettext.edit.po +36 -554
- data/po/ru/gettext.po +0 -423
- data/po/sr/gettext.edit.po +36 -554
- data/po/sr/gettext.po +0 -423
- data/po/sv/gettext.edit.po +34 -555
- data/po/sv/gettext.po +0 -423
- data/po/uk/gettext.edit.po +36 -554
- data/po/uk/gettext.po +0 -423
- data/po/vi/gettext.edit.po +36 -554
- data/po/vi/gettext.po +0 -423
- data/po/zh/gettext.edit.po +36 -554
- data/po/zh/gettext.po +0 -423
- data/po/zh_TW/gettext.edit.po +36 -554
- data/po/zh_TW/gettext.po +0 -423
- data/test/fixtures/_.rb +1 -1
- data/test/fixtures/erb/minus.rhtml +12 -0
- data/test/fixtures/{gladeparser.glade → glade/2.glade} +0 -0
- data/test/fixtures/glade/3.glade +63 -0
- data/test/fixtures/gtk_builder_ui_definitions.ui~ +68 -0
- data/test/fixtures/multi_text_domain.rb +12 -12
- data/test/fixtures/np_.rb +1 -1
- data/test/fixtures/ns_.rb +1 -1
- data/test/fixtures/p_.rb +1 -1
- data/test/fixtures/ruby/{percent_i.rb → percent_lower_i.rb} +0 -0
- data/test/fixtures/ruby/{percent_w.rb → percent_lower_w.rb} +0 -0
- data/test/fixtures/ruby/{percent_I.rb → percent_upper_i.rb} +0 -0
- data/test/fixtures/ruby/{percent_W.rb → percent_upper_w.rb} +0 -0
- data/test/fixtures/s_.rb +1 -1
- data/test/fixtures/simple.rb +1 -1
- data/test/fixtures/upper_nn_.rb +77 -0
- data/test/po/_.pot +20 -4
- data/test/po/ja/_.edit.po +24 -0
- data/test/po/np_.pot +8 -5
- data/test/po/ns_.pot +6 -4
- data/test/po/p_.pot +3 -3
- data/test/po/s_.pot +6 -4
- data/test/run-test.rb +0 -1
- data/test/test_parser.rb +42 -17
- data/test/tools/parser/test_glade.rb +91 -0
- data/test/tools/parser/test_gtk_builder_ui_definitions.rb +19 -1
- data/test/tools/parser/test_ruby.rb +4 -4
- data/test/tools/test_msginit.rb +77 -3
- data/test/tools/test_msgmerge.rb +34 -0
- metadata +29 -25
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.
|
4
|
+
version: 3.3.9
|
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:
|
12
|
+
date: 2021-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: locale
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: 1.3.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
43
|
+
name: kramdown
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - ">="
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
71
|
+
name: rake
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
@@ -82,7 +82,7 @@ dependencies:
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
85
|
+
name: red-datasets
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - ">="
|
@@ -110,7 +110,7 @@ dependencies:
|
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
|
-
name: test-unit-
|
113
|
+
name: test-unit-rr
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
116
|
- - ">="
|
@@ -124,7 +124,7 @@ dependencies:
|
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
127
|
+
name: yard
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
130
|
- - ">="
|
@@ -145,11 +145,11 @@ email:
|
|
145
145
|
- kou@clear-code.com
|
146
146
|
- mutomasa at gmail.com
|
147
147
|
executables:
|
148
|
-
- rmsgmerge
|
149
|
-
- rmsginit
|
150
148
|
- rmsgcat
|
151
|
-
- rxgettext
|
152
149
|
- rmsgfmt
|
150
|
+
- rmsginit
|
151
|
+
- rmsgmerge
|
152
|
+
- rxgettext
|
153
153
|
extensions: []
|
154
154
|
extra_rdoc_files: []
|
155
155
|
files:
|
@@ -1531,9 +1531,12 @@ files:
|
|
1531
1531
|
- test/fixtures/backslash.rb
|
1532
1532
|
- test/fixtures/erb/ascii.rhtml
|
1533
1533
|
- test/fixtures/erb/ascii.rxml
|
1534
|
+
- test/fixtures/erb/minus.rhtml
|
1534
1535
|
- test/fixtures/erb/non_ascii.rhtml
|
1535
|
-
- test/fixtures/
|
1536
|
+
- test/fixtures/glade/2.glade
|
1537
|
+
- test/fixtures/glade/3.glade
|
1536
1538
|
- test/fixtures/gtk_builder_ui_definitions.ui
|
1539
|
+
- test/fixtures/gtk_builder_ui_definitions.ui~
|
1537
1540
|
- test/fixtures/hello.rb
|
1538
1541
|
- test/fixtures/lower_n_.rb
|
1539
1542
|
- test/fixtures/multi_text_domain.rb
|
@@ -1542,15 +1545,16 @@ files:
|
|
1542
1545
|
- test/fixtures/ns_.rb
|
1543
1546
|
- test/fixtures/ns_/custom.rb
|
1544
1547
|
- test/fixtures/p_.rb
|
1545
|
-
- test/fixtures/ruby/
|
1546
|
-
- test/fixtures/ruby/
|
1547
|
-
- test/fixtures/ruby/
|
1548
|
-
- test/fixtures/ruby/
|
1548
|
+
- test/fixtures/ruby/percent_lower_i.rb
|
1549
|
+
- test/fixtures/ruby/percent_lower_w.rb
|
1550
|
+
- test/fixtures/ruby/percent_upper_i.rb
|
1551
|
+
- test/fixtures/ruby/percent_upper_w.rb
|
1549
1552
|
- test/fixtures/s_.rb
|
1550
1553
|
- test/fixtures/s_/custom.rb
|
1551
1554
|
- test/fixtures/simple.rb
|
1552
1555
|
- test/fixtures/untranslated.rb
|
1553
1556
|
- test/fixtures/upper_n_.rb
|
1557
|
+
- test/fixtures/upper_nn_.rb
|
1554
1558
|
- test/helper.rb
|
1555
1559
|
- test/locale/cr/LC_MESSAGES/plural.mo
|
1556
1560
|
- test/locale/da/LC_MESSAGES/plural.mo
|
@@ -1662,6 +1666,7 @@ files:
|
|
1662
1666
|
- test/tools/files/simple_2.po
|
1663
1667
|
- test/tools/files/simple_translation.rb
|
1664
1668
|
- test/tools/files/version.po
|
1669
|
+
- test/tools/parser/test_glade.rb
|
1665
1670
|
- test/tools/parser/test_gtk_builder_ui_definitions.rb
|
1666
1671
|
- test/tools/parser/test_ruby.rb
|
1667
1672
|
- test/tools/test.pot
|
@@ -1689,23 +1694,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1689
1694
|
- !ruby/object:Gem::Version
|
1690
1695
|
version: '0'
|
1691
1696
|
requirements: []
|
1692
|
-
|
1693
|
-
rubygems_version: 2.7.6.2
|
1697
|
+
rubygems_version: 3.3.0.dev
|
1694
1698
|
signing_key:
|
1695
1699
|
specification_version: 4
|
1696
1700
|
summary: Gettext is a pure Ruby libary and tools to localize messages.
|
1697
1701
|
test_files:
|
1702
|
+
- test/test_class_info.rb
|
1703
|
+
- test/test_gettext.rb
|
1704
|
+
- test/test_locale_path.rb
|
1698
1705
|
- test/test_mo.rb
|
1699
1706
|
- test/test_parser.rb
|
1707
|
+
- test/test_po.rb
|
1708
|
+
- test/test_po_entry.rb
|
1700
1709
|
- test/test_po_parser.rb
|
1701
|
-
- test/test_text_domain_bind.rb
|
1702
|
-
- test/test_text_domain.rb
|
1703
1710
|
- test/test_string.rb
|
1704
|
-
- test/
|
1705
|
-
- test/
|
1706
|
-
- test/test_class_info.rb
|
1711
|
+
- test/test_text_domain.rb
|
1712
|
+
- test/test_text_domain_bind.rb
|
1707
1713
|
- test/test_text_domain_multi.rb
|
1708
|
-
- test/test_po_entry.rb
|
1709
|
-
- test/test_gettext.rb
|
1710
1714
|
- test/test_text_domain_toplevel.rb
|
1711
|
-
- test/
|
1715
|
+
- test/test_thread.rb
|