twitter_cldr 6.9.0 → 6.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -28
- data/lib/twitter_cldr/resources/calendars_importer.rb +48 -46
- data/lib/twitter_cldr/resources/cldr_data_builder.rb +36 -0
- data/lib/twitter_cldr/resources/cldr_document_set.rb +149 -0
- data/lib/twitter_cldr/resources/cldr_dtd.rb +110 -0
- data/lib/twitter_cldr/resources/cldr_locale.rb +78 -0
- data/lib/twitter_cldr/resources/list_formats_importer.rb +1 -1
- data/lib/twitter_cldr/resources/number_formats_importer.rb +1 -1
- data/lib/twitter_cldr/resources/readme_renderer.rb +6 -2
- data/lib/twitter_cldr/resources/requirements/cldr_requirement.rb +12 -61
- data/lib/twitter_cldr/resources/territories_importer.rb +1 -1
- data/lib/twitter_cldr/resources/timezones_importer.rb +1 -1
- data/lib/twitter_cldr/resources/unicode_property_aliases_importer.rb +2 -0
- data/lib/twitter_cldr/resources/units_importer.rb +1 -1
- data/lib/twitter_cldr/resources.rb +8 -3
- data/lib/twitter_cldr/shared/calendar.rb +1 -1
- data/lib/twitter_cldr/version.rb +1 -1
- data/resources/locales/ar/calendars.yml +2 -1
- data/resources/locales/az/calendars.yml +2 -1
- data/resources/locales/be/calendars.yml +2 -1
- data/resources/locales/bg/calendars.yml +2 -1
- data/resources/locales/bn/calendars.yml +2 -1
- data/resources/locales/bo/calendars.yml +34 -2
- data/resources/locales/bs/calendars.yml +1 -0
- data/resources/locales/cy/calendars.yml +1 -0
- data/resources/locales/el/calendars.yml +2 -1
- data/resources/locales/en/calendars.yml +15 -0
- data/resources/locales/en-001/calendars.yml +6 -0
- data/resources/locales/en-150/calendars.yml +6 -0
- data/resources/locales/en-AU/calendars.yml +4 -0
- data/resources/locales/en-CA/calendars.yml +11 -5
- data/resources/locales/en-GB/calendars.yml +3 -0
- data/resources/locales/en-IE/calendars.yml +6 -0
- data/resources/locales/en-IN/calendars.yml +6 -0
- data/resources/locales/en-NZ/calendars.yml +6 -0
- data/resources/locales/en-SG/calendars.yml +6 -0
- data/resources/locales/en-US/calendars.yml +15 -0
- data/resources/locales/en-ZA/calendars.yml +6 -0
- data/resources/locales/eo/calendars.yml +27 -0
- data/resources/locales/es/calendars.yml +2 -1
- data/resources/locales/es-419/calendars.yml +2 -1
- data/resources/locales/es-AR/calendars.yml +2 -1
- data/resources/locales/es-CO/calendars.yml +2 -1
- data/resources/locales/es-MX/calendars.yml +2 -1
- data/resources/locales/es-US/calendars.yml +2 -1
- data/resources/locales/fil/calendars.yml +4 -3
- data/resources/locales/gl/calendars.yml +2 -1
- data/resources/locales/hi/calendars.yml +2 -1
- data/resources/locales/hy/calendars.yml +4 -3
- data/resources/locales/ka/calendars.yml +2 -1
- data/resources/locales/kk/calendars.yml +2 -1
- data/resources/locales/km/calendars.yml +2 -1
- data/resources/locales/kn/calendars.yml +2 -1
- data/resources/locales/ko/calendars.yml +2 -1
- data/resources/locales/lo/calendars.yml +2 -1
- data/resources/locales/mk/calendars.yml +1 -1
- data/resources/locales/mr/calendars.yml +2 -1
- data/resources/locales/mt/calendars.yml +2 -1
- data/resources/locales/my/calendars.yml +2 -1
- data/resources/locales/pl/calendars.yml +2 -1
- data/resources/locales/pt/calendars.yml +2 -1
- data/resources/locales/pt-PT/calendars.yml +2 -1
- data/resources/locales/sk/calendars.yml +2 -1
- data/resources/locales/sl/calendars.yml +2 -1
- data/resources/locales/sr/calendars.yml +2 -0
- data/resources/locales/sr-Cyrl-ME/calendars.yml +3 -1
- data/resources/locales/sr-Latn-ME/calendars.yml +3 -1
- data/resources/locales/sw/calendars.yml +2 -1
- data/resources/locales/ta/calendars.yml +2 -1
- data/resources/locales/th/calendars.yml +1 -0
- data/resources/locales/tr/calendars.yml +2 -1
- data/resources/locales/ur/calendars.yml +2 -1
- data/resources/locales/xh/calendars.yml +32 -1
- data/resources/locales/zu/calendars.yml +3 -1
- data/spec/formatters/calendars/datetime_formatter_spec.rb +2 -2
- data/spec/shared/calendar_spec.rb +8 -8
- metadata +6 -2
@@ -153,6 +153,7 @@
|
|
153
153
|
:minute-narrow: мин.
|
154
154
|
:minute-short: мин.
|
155
155
|
:month: месец
|
156
|
+
:month-narrow: Month
|
156
157
|
:month-short: мес.
|
157
158
|
:quarter: квартал
|
158
159
|
:quarter-narrow: кв.
|
@@ -161,6 +162,7 @@
|
|
161
162
|
:second-narrow: с
|
162
163
|
:second-short: сек.
|
163
164
|
:week: недеља
|
165
|
+
:week-narrow: Week
|
164
166
|
:week-short: нед.
|
165
167
|
:weekOfMonth: "недеља у месецу"
|
166
168
|
:weekOfMonth-narrow: "нед. у мес."
|
@@ -128,7 +128,7 @@
|
|
128
128
|
0: "п. н. е."
|
129
129
|
1: "н. е."
|
130
130
|
:name:
|
131
|
-
0: "
|
131
|
+
0: "пре наше ере"
|
132
132
|
1: "наше ере"
|
133
133
|
:narrow:
|
134
134
|
0: п.н.е.
|
@@ -153,6 +153,7 @@
|
|
153
153
|
:minute-narrow: мин.
|
154
154
|
:minute-short: мин.
|
155
155
|
:month: месец
|
156
|
+
:month-narrow: Month
|
156
157
|
:month-short: мес.
|
157
158
|
:quarter: квартал
|
158
159
|
:quarter-narrow: кв.
|
@@ -161,6 +162,7 @@
|
|
161
162
|
:second-narrow: с
|
162
163
|
:second-short: сек.
|
163
164
|
:week: недеља
|
165
|
+
:week-narrow: Week
|
164
166
|
:week-short: нед.
|
165
167
|
:weekOfMonth: "недеља у месецу"
|
166
168
|
:weekOfMonth-narrow: "нед. у мес."
|
@@ -128,7 +128,7 @@
|
|
128
128
|
0: "p. n. e."
|
129
129
|
1: "n. e."
|
130
130
|
:name:
|
131
|
-
0: "
|
131
|
+
0: "pre naše ere"
|
132
132
|
1: "naše ere"
|
133
133
|
:narrow:
|
134
134
|
0: p.n.e.
|
@@ -153,6 +153,7 @@
|
|
153
153
|
:minute-narrow: min.
|
154
154
|
:minute-short: min.
|
155
155
|
:month: mesec
|
156
|
+
:month-narrow: Month
|
156
157
|
:month-short: mes.
|
157
158
|
:quarter: kvartal
|
158
159
|
:quarter-narrow: kv.
|
@@ -161,6 +162,7 @@
|
|
161
162
|
:second-narrow: s
|
162
163
|
:second-short: sek.
|
163
164
|
:week: nedelja
|
165
|
+
:week-narrow: Week
|
164
166
|
:week-short: ned.
|
165
167
|
:weekOfMonth: "nedelja u mesecu"
|
166
168
|
:weekOfMonth-narrow: "ned. u mes."
|
@@ -126,23 +126,54 @@
|
|
126
126
|
0: BC
|
127
127
|
1: "umnyaka wokuzalwa kukaYesu"
|
128
128
|
:narrow:
|
129
|
-
0:
|
129
|
+
0: BCE
|
130
|
+
1: CE
|
130
131
|
:fields:
|
131
132
|
:day: Day
|
133
|
+
:day-narrow: Day
|
134
|
+
:day-short: Day
|
132
135
|
:dayOfYear: "Day Of Year"
|
136
|
+
:dayOfYear-narrow: "Day Of Year"
|
137
|
+
:dayOfYear-short: "Day Of Year"
|
133
138
|
:dayperiod: Dayperiod
|
139
|
+
:dayperiod-narrow: Dayperiod
|
140
|
+
:dayperiod-short: Dayperiod
|
134
141
|
:era: Era
|
142
|
+
:era-narrow: Era
|
143
|
+
:era-short: Era
|
135
144
|
:hour: Hour
|
145
|
+
:hour-narrow: Hour
|
146
|
+
:hour-short: Hour
|
136
147
|
:minute: Minute
|
148
|
+
:minute-narrow: Minute
|
149
|
+
:minute-short: Minute
|
137
150
|
:month: Month
|
151
|
+
:month-narrow: Month
|
152
|
+
:month-short: Month
|
138
153
|
:quarter: Quarter
|
154
|
+
:quarter-narrow: Quarter
|
155
|
+
:quarter-short: Quarter
|
139
156
|
:second: Second
|
157
|
+
:second-narrow: Second
|
158
|
+
:second-short: Second
|
140
159
|
:week: Week
|
160
|
+
:week-narrow: Week
|
161
|
+
:week-short: Week
|
141
162
|
:weekOfMonth: "Week Of Month"
|
163
|
+
:weekOfMonth-narrow: "Week Of Month"
|
164
|
+
:weekOfMonth-short: "Week Of Month"
|
142
165
|
:weekday: "Day of the Week"
|
166
|
+
:weekday-narrow: "Day of the Week"
|
167
|
+
:weekday-short: "Day of the Week"
|
143
168
|
:weekdayOfMonth: "Weekday Of Month"
|
169
|
+
:weekdayOfMonth-narrow: "Weekday Of Month"
|
170
|
+
:weekdayOfMonth-short: "Weekday Of Month"
|
144
171
|
:year: Year
|
172
|
+
:year-narrow: Year
|
173
|
+
:year-short: Year
|
145
174
|
:zone: Zone
|
175
|
+
:zone-narrow: Zone
|
176
|
+
:zone-short: Zone
|
146
177
|
:formats:
|
147
178
|
:date:
|
148
179
|
:full:
|
@@ -126,7 +126,8 @@
|
|
126
126
|
0: BCE
|
127
127
|
1: CE
|
128
128
|
:narrow:
|
129
|
-
0:
|
129
|
+
0: BCE
|
130
|
+
1: CE
|
130
131
|
:fields:
|
131
132
|
:day: Usuku
|
132
133
|
:day-narrow: Usuku
|
@@ -166,6 +167,7 @@
|
|
166
167
|
:weekday-short: "Usuku evikini"
|
167
168
|
:weekdayOfMonth: "usuku lwenyanga"
|
168
169
|
:weekdayOfMonth-narrow: "usuku lwenyanga"
|
170
|
+
:weekdayOfMonth-short: "Weekday Of Month"
|
169
171
|
:year: Unyaka
|
170
172
|
:year-narrow: Unyaka
|
171
173
|
:year-short: Unyaka
|
@@ -444,8 +444,8 @@ describe TwitterCldr::Formatters::DateTimeFormatter do
|
|
444
444
|
end
|
445
445
|
|
446
446
|
it "pattern LLL" do
|
447
|
-
expect(@formatter.send(:month_stand_alone, Date.new(2010, 1, 1), 'LLL', 3)).to eq("Jan")
|
448
|
-
expect(@formatter.send(:month_stand_alone, Date.new(2010, 10, 1), 'LLL', 3)).to eq("Okt")
|
447
|
+
expect(@formatter.send(:month_stand_alone, Date.new(2010, 1, 1), 'LLL', 3)).to eq("Jan.")
|
448
|
+
expect(@formatter.send(:month_stand_alone, Date.new(2010, 10, 1), 'LLL', 3)).to eq("Okt.")
|
449
449
|
end
|
450
450
|
|
451
451
|
it "pattern LLLL" do
|
@@ -56,7 +56,7 @@ describe TwitterCldr::Shared::Calendar do
|
|
56
56
|
end
|
57
57
|
|
58
58
|
it 'supports abbreviated names form' do
|
59
|
-
expect(calendar.months(:abbreviated)).to eq(%w[Jan Feb
|
59
|
+
expect(calendar.months(:abbreviated)).to eq(%w[Jan. Feb. März Apr. Mai Juni Juli Aug. Sept. Okt. Nov. Dez.])
|
60
60
|
end
|
61
61
|
|
62
62
|
it 'returns nil if invalid names form is passed' do
|
@@ -109,13 +109,13 @@ describe TwitterCldr::Shared::Calendar do
|
|
109
109
|
|
110
110
|
it 'supports abbreviated names form' do
|
111
111
|
expect(calendar.weekdays(:abbreviated)).to eq({
|
112
|
-
sun: 'So',
|
113
|
-
mon: 'Mo',
|
114
|
-
tue: 'Di',
|
115
|
-
wed: 'Mi',
|
116
|
-
thu: 'Do',
|
117
|
-
fri: 'Fr',
|
118
|
-
sat: 'Sa'
|
112
|
+
sun: 'So.',
|
113
|
+
mon: 'Mo.',
|
114
|
+
tue: 'Di.',
|
115
|
+
wed: 'Mi.',
|
116
|
+
thu: 'Do.',
|
117
|
+
fri: 'Fr.',
|
118
|
+
sat: 'Sa.'
|
119
119
|
})
|
120
120
|
end
|
121
121
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter_cldr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cameron Dutro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: camertron-eprun
|
@@ -138,6 +138,10 @@ files:
|
|
138
138
|
- lib/twitter_cldr/resources/calendars_importer.rb
|
139
139
|
- lib/twitter_cldr/resources/casefolder.rb.erb
|
140
140
|
- lib/twitter_cldr/resources/casefolder_class_generator.rb
|
141
|
+
- lib/twitter_cldr/resources/cldr_data_builder.rb
|
142
|
+
- lib/twitter_cldr/resources/cldr_document_set.rb
|
143
|
+
- lib/twitter_cldr/resources/cldr_dtd.rb
|
144
|
+
- lib/twitter_cldr/resources/cldr_locale.rb
|
141
145
|
- lib/twitter_cldr/resources/collation_tests_importer.rb
|
142
146
|
- lib/twitter_cldr/resources/collation_tries_importer.rb
|
143
147
|
- lib/twitter_cldr/resources/currency_symbols_importer.rb
|