r18n-core 3.2.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +39 -33
  3. data/lib/r18n-core.rb +29 -15
  4. data/lib/r18n-core/filter_list.rb +15 -10
  5. data/lib/r18n-core/filters.rb +22 -26
  6. data/lib/r18n-core/helpers.rb +2 -2
  7. data/lib/r18n-core/i18n.rb +61 -59
  8. data/lib/r18n-core/locale.rb +120 -97
  9. data/{locales → lib/r18n-core/locales}/af.rb +12 -8
  10. data/lib/r18n-core/locales/az.rb +38 -0
  11. data/lib/r18n-core/locales/bg.rb +29 -0
  12. data/{locales → lib/r18n-core/locales}/ca.rb +9 -6
  13. data/{locales → lib/r18n-core/locales}/cs.rb +11 -7
  14. data/lib/r18n-core/locales/cy.rb +50 -0
  15. data/{locales → lib/r18n-core/locales}/da.rb +10 -7
  16. data/lib/r18n-core/locales/de.rb +33 -0
  17. data/{locales → lib/r18n-core/locales}/en-au.rb +1 -1
  18. data/{locales → lib/r18n-core/locales}/en-gb.rb +1 -1
  19. data/{locales → lib/r18n-core/locales}/en-us.rb +2 -1
  20. data/{locales → lib/r18n-core/locales}/en.rb +8 -5
  21. data/{locales → lib/r18n-core/locales}/eo.rb +5 -3
  22. data/lib/r18n-core/locales/es-cl.rb +16 -0
  23. data/{locales → lib/r18n-core/locales}/es-us.rb +4 -3
  24. data/{locales → lib/r18n-core/locales}/es.rb +5 -3
  25. data/{locales → lib/r18n-core/locales}/fa.rb +1 -1
  26. data/lib/r18n-core/locales/fi.rb +39 -0
  27. data/{locales → lib/r18n-core/locales}/fr.rb +10 -6
  28. data/{locales → lib/r18n-core/locales}/gl.rb +5 -3
  29. data/{locales → lib/r18n-core/locales}/hr.rb +8 -5
  30. data/{locales → lib/r18n-core/locales}/hu.rb +8 -5
  31. data/{locales → lib/r18n-core/locales}/id.rb +8 -4
  32. data/{locales → lib/r18n-core/locales}/it.rb +8 -5
  33. data/{locales → lib/r18n-core/locales}/ja.rb +4 -3
  34. data/{locales → lib/r18n-core/locales}/kk.rb +11 -7
  35. data/{locales → lib/r18n-core/locales}/ko.rb +0 -0
  36. data/lib/r18n-core/locales/lv.rb +46 -0
  37. data/lib/r18n-core/locales/mn.rb +30 -0
  38. data/{locales → lib/r18n-core/locales}/nb.rb +5 -3
  39. data/{locales → lib/r18n-core/locales}/nl.rb +10 -7
  40. data/{locales → lib/r18n-core/locales}/no.rb +0 -0
  41. data/lib/r18n-core/locales/pl.rb +45 -0
  42. data/{locales → lib/r18n-core/locales}/pt-br.rb +1 -1
  43. data/lib/r18n-core/locales/pt.rb +35 -0
  44. data/lib/r18n-core/locales/ru.rb +46 -0
  45. data/{locales → lib/r18n-core/locales}/sk.rb +10 -6
  46. data/{locales → lib/r18n-core/locales}/sr-latn.rb +5 -3
  47. data/{locales → lib/r18n-core/locales}/sv-se.rb +6 -4
  48. data/lib/r18n-core/locales/th.rb +41 -0
  49. data/{locales → lib/r18n-core/locales}/tr.rb +5 -4
  50. data/lib/r18n-core/locales/uk.rb +31 -0
  51. data/{locales → lib/r18n-core/locales}/vi.rb +11 -7
  52. data/{locales → lib/r18n-core/locales}/zh-cn.rb +1 -1
  53. data/{locales → lib/r18n-core/locales}/zh-tw.rb +3 -3
  54. data/{locales → lib/r18n-core/locales}/zh.rb +4 -3
  55. data/lib/r18n-core/translated.rb +35 -34
  56. data/lib/r18n-core/translated_string.rb +4 -2
  57. data/lib/r18n-core/translation.rb +16 -17
  58. data/lib/r18n-core/unsupported_locale.rb +6 -5
  59. data/lib/r18n-core/untranslated.rb +10 -4
  60. data/lib/r18n-core/utils.rb +1 -14
  61. data/lib/r18n-core/version.rb +1 -1
  62. data/lib/r18n-core/yaml_loader.rb +13 -13
  63. data/lib/r18n-core/yaml_methods.rb +3 -1
  64. data/r18n-core.gemspec +1 -1
  65. data/spec/filters_spec.rb +3 -0
  66. data/spec/i18n_spec.rb +22 -8
  67. data/spec/locale_spec.rb +4 -5
  68. data/spec/locales/af_spec.rb +9 -0
  69. data/spec/locales/en-us_spec.rb +16 -1
  70. data/spec/locales/es-us_spec.rb +11 -0
  71. data/spec/locales/fi_spec.rb +9 -0
  72. data/spec/locales/hu_spec.rb +2 -0
  73. data/spec/locales/id_spec.rb +23 -0
  74. data/spec/locales/vi_spec.rb +4 -3
  75. data/spec/r18n_spec.rb +21 -7
  76. data/spec/spec_helper.rb +0 -7
  77. data/spec/translated_spec.rb +121 -65
  78. data/spec/translation_spec.rb +5 -2
  79. data/spec/translations/with_regions/en-US.yml +0 -0
  80. data/spec/translations/yaml/en-GB.yml +1 -0
  81. data/spec/translations/yaml/en-us.yml +1 -0
  82. data/spec/yaml_loader_spec.rb +4 -2
  83. metadata +64 -50
  84. data/locales/az.rb +0 -34
  85. data/locales/bg.rb +0 -25
  86. data/locales/cy.rb +0 -50
  87. data/locales/de.rb +0 -29
  88. data/locales/fi.rb +0 -35
  89. data/locales/lv.rb +0 -41
  90. data/locales/mn.rb +0 -27
  91. data/locales/pl.rb +0 -40
  92. data/locales/pt.rb +0 -29
  93. data/locales/ru.rb +0 -41
  94. data/locales/th.rb +0 -37
  95. data/locales/uk.rb +0 -27
@@ -0,0 +1 @@
1
+ one: British One
@@ -0,0 +1 @@
1
+ one: American One
@@ -32,8 +32,8 @@ describe R18n::Loader::YAML do
32
32
 
33
33
  it 'loads translation' do
34
34
  expect(@loader.load(R18n.locale('ru'))).to eq(
35
- 'one' => 'Один',
36
- 'in' => { 'another' => { 'level' => 'Иерархический' } },
35
+ 'one' => 'Один',
36
+ 'in' => { 'another' => { 'level' => 'Иерархический' } },
37
37
  'typed' => R18n::Typed.new('my', 'value')
38
38
  )
39
39
  end
@@ -47,6 +47,8 @@ describe R18n::Loader::YAML do
47
47
  expect(loader.available).to match_array([
48
48
  R18n.locale('ru'),
49
49
  R18n.locale('en'),
50
+ R18n.locale('en-us'),
51
+ R18n.locale('en-gb'),
50
52
  R18n.locale('fr'),
51
53
  R18n.locale('notransl'),
52
54
  R18n.locale('nolocale')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r18n-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-08 00:00:00.000000000 Z
11
+ date: 2020-01-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  R18n is a i18n tool to translate your Ruby application.
@@ -70,6 +70,52 @@ files:
70
70
  - lib/r18n-core/helpers.rb
71
71
  - lib/r18n-core/i18n.rb
72
72
  - lib/r18n-core/locale.rb
73
+ - lib/r18n-core/locales/af.rb
74
+ - lib/r18n-core/locales/az.rb
75
+ - lib/r18n-core/locales/bg.rb
76
+ - lib/r18n-core/locales/ca.rb
77
+ - lib/r18n-core/locales/cs.rb
78
+ - lib/r18n-core/locales/cy.rb
79
+ - lib/r18n-core/locales/da.rb
80
+ - lib/r18n-core/locales/de.rb
81
+ - lib/r18n-core/locales/en-au.rb
82
+ - lib/r18n-core/locales/en-gb.rb
83
+ - lib/r18n-core/locales/en-us.rb
84
+ - lib/r18n-core/locales/en.rb
85
+ - lib/r18n-core/locales/eo.rb
86
+ - lib/r18n-core/locales/es-cl.rb
87
+ - lib/r18n-core/locales/es-us.rb
88
+ - lib/r18n-core/locales/es.rb
89
+ - lib/r18n-core/locales/fa.rb
90
+ - lib/r18n-core/locales/fi.rb
91
+ - lib/r18n-core/locales/fr.rb
92
+ - lib/r18n-core/locales/gl.rb
93
+ - lib/r18n-core/locales/hr.rb
94
+ - lib/r18n-core/locales/hu.rb
95
+ - lib/r18n-core/locales/id.rb
96
+ - lib/r18n-core/locales/it.rb
97
+ - lib/r18n-core/locales/ja.rb
98
+ - lib/r18n-core/locales/kk.rb
99
+ - lib/r18n-core/locales/ko.rb
100
+ - lib/r18n-core/locales/lv.rb
101
+ - lib/r18n-core/locales/mn.rb
102
+ - lib/r18n-core/locales/nb.rb
103
+ - lib/r18n-core/locales/nl.rb
104
+ - lib/r18n-core/locales/no.rb
105
+ - lib/r18n-core/locales/pl.rb
106
+ - lib/r18n-core/locales/pt-br.rb
107
+ - lib/r18n-core/locales/pt.rb
108
+ - lib/r18n-core/locales/ru.rb
109
+ - lib/r18n-core/locales/sk.rb
110
+ - lib/r18n-core/locales/sr-latn.rb
111
+ - lib/r18n-core/locales/sv-se.rb
112
+ - lib/r18n-core/locales/th.rb
113
+ - lib/r18n-core/locales/tr.rb
114
+ - lib/r18n-core/locales/uk.rb
115
+ - lib/r18n-core/locales/vi.rb
116
+ - lib/r18n-core/locales/zh-cn.rb
117
+ - lib/r18n-core/locales/zh-tw.rb
118
+ - lib/r18n-core/locales/zh.rb
73
119
  - lib/r18n-core/translated.rb
74
120
  - lib/r18n-core/translated_string.rb
75
121
  - lib/r18n-core/translation.rb
@@ -79,61 +125,20 @@ files:
79
125
  - lib/r18n-core/version.rb
80
126
  - lib/r18n-core/yaml_loader.rb
81
127
  - lib/r18n-core/yaml_methods.rb
82
- - locales/af.rb
83
- - locales/az.rb
84
- - locales/bg.rb
85
- - locales/ca.rb
86
- - locales/cs.rb
87
- - locales/cy.rb
88
- - locales/da.rb
89
- - locales/de.rb
90
- - locales/en-au.rb
91
- - locales/en-gb.rb
92
- - locales/en-us.rb
93
- - locales/en.rb
94
- - locales/eo.rb
95
- - locales/es-us.rb
96
- - locales/es.rb
97
- - locales/fa.rb
98
- - locales/fi.rb
99
- - locales/fr.rb
100
- - locales/gl.rb
101
- - locales/hr.rb
102
- - locales/hu.rb
103
- - locales/id.rb
104
- - locales/it.rb
105
- - locales/ja.rb
106
- - locales/kk.rb
107
- - locales/ko.rb
108
- - locales/lv.rb
109
- - locales/mn.rb
110
- - locales/nb.rb
111
- - locales/nl.rb
112
- - locales/no.rb
113
- - locales/pl.rb
114
- - locales/pt-br.rb
115
- - locales/pt.rb
116
- - locales/ru.rb
117
- - locales/sk.rb
118
- - locales/sr-latn.rb
119
- - locales/sv-se.rb
120
- - locales/th.rb
121
- - locales/tr.rb
122
- - locales/uk.rb
123
- - locales/vi.rb
124
- - locales/zh-cn.rb
125
- - locales/zh-tw.rb
126
- - locales/zh.rb
127
128
  - r18n-core.gemspec
128
129
  - spec/filters_spec.rb
129
130
  - spec/i18n_spec.rb
130
131
  - spec/locale_spec.rb
132
+ - spec/locales/af_spec.rb
131
133
  - spec/locales/cs_spec.rb
132
134
  - spec/locales/en-us_spec.rb
133
135
  - spec/locales/en_spec.rb
136
+ - spec/locales/es-us_spec.rb
134
137
  - spec/locales/fa_spec.rb
138
+ - spec/locales/fi_spec.rb
135
139
  - spec/locales/fr_spec.rb
136
140
  - spec/locales/hu_spec.rb
141
+ - spec/locales/id_spec.rb
137
142
  - spec/locales/it_spec.rb
138
143
  - spec/locales/no_spec.rb
139
144
  - spec/locales/pl_spec.rb
@@ -153,9 +158,12 @@ files:
153
158
  - spec/translations/general/ru.yml
154
159
  - spec/translations/two/en.yml
155
160
  - spec/translations/two/fr.yml
161
+ - spec/translations/with_regions/en-US.yml
162
+ - spec/translations/yaml/en-GB.yml
163
+ - spec/translations/yaml/en-us.yml
156
164
  - spec/translations/yaml/en.yaml
157
165
  - spec/yaml_loader_spec.rb
158
- homepage: https://github.com/ai/r18n
166
+ homepage: https://github.com/r18n/r18n
159
167
  licenses:
160
168
  - LGPL-3.0
161
169
  metadata: {}
@@ -174,8 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
182
  - !ruby/object:Gem::Version
175
183
  version: '0'
176
184
  requirements: []
177
- rubyforge_project:
178
- rubygems_version: 2.7.6
185
+ rubygems_version: 3.1.2
179
186
  signing_key:
180
187
  specification_version: 4
181
188
  summary: I18n tool to translate your Ruby application.
@@ -183,12 +190,16 @@ test_files:
183
190
  - spec/filters_spec.rb
184
191
  - spec/i18n_spec.rb
185
192
  - spec/locale_spec.rb
193
+ - spec/locales/af_spec.rb
186
194
  - spec/locales/cs_spec.rb
187
195
  - spec/locales/en-us_spec.rb
188
196
  - spec/locales/en_spec.rb
197
+ - spec/locales/es-us_spec.rb
189
198
  - spec/locales/fa_spec.rb
199
+ - spec/locales/fi_spec.rb
190
200
  - spec/locales/fr_spec.rb
191
201
  - spec/locales/hu_spec.rb
202
+ - spec/locales/id_spec.rb
192
203
  - spec/locales/it_spec.rb
193
204
  - spec/locales/no_spec.rb
194
205
  - spec/locales/pl_spec.rb
@@ -208,5 +219,8 @@ test_files:
208
219
  - spec/translations/general/ru.yml
209
220
  - spec/translations/two/en.yml
210
221
  - spec/translations/two/fr.yml
222
+ - spec/translations/with_regions/en-US.yml
223
+ - spec/translations/yaml/en-GB.yml
224
+ - spec/translations/yaml/en-us.yml
211
225
  - spec/translations/yaml/en.yaml
212
226
  - spec/yaml_loader_spec.rb
@@ -1,34 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module R18n
4
- module Locales
5
- # Azerbaijani locale
6
- class Az < Locale
7
- set(
8
- title: 'Azərbaycanca',
9
-
10
- wday_names: %w[Bazar BazarErtəsi ÇərşənbəAxşamı Çərşənbə CüməAxşamı Cümə
11
- Şənbə],
12
- wday_abbrs: %w[B. B.e Ç.a Ç. C.a C. Ş.],
13
-
14
- month_names: %w[yanvar fevral mart aprel may iyun iyul avqust
15
- sentyabr oktyabr noyabr dekabr],
16
- month_abbrs: %w[yan fev mar apr may iyn iyl avq sen okt noy dek],
17
- month_standalone: %w[Yanvar Fevral Mart Aprel May İyun İyul Avqust
18
- Sentyabr Oktyabr Noyabr Dekabr],
19
-
20
- time_am: ' gündüz',
21
- time_pm: ' axşam',
22
- date_format: '%d.%m.%Y',
23
- time_format: '_%H:%M',
24
-
25
- number_decimal: ',',
26
- number_group: ' '
27
- )
28
-
29
- def pluralize(_number)
30
- 'n'
31
- end
32
- end
33
- end
34
- end
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module R18n
4
- module Locales
5
- # Bulgarian locale
6
- class Bg < Locale
7
- set(
8
- title: 'Български',
9
-
10
- wday_names: %w[Неделя Понеделник Вторник Сряда Четвъртък Петък Събота],
11
- wday_abbrs: %w[Нед Пон Вто Сря Чет Пет Съб],
12
-
13
- month_names: %w[Януари Февруари Март Април Май Юни Юли Август
14
- Септември Октомври Ноември Декември],
15
- month_abbrs: %w[Яну Фев Мар Апр Май Юни Юли Авг Сеп Окт Ное Дек],
16
- month_standalone: %w[Януари Февруари Март Април Май Юни Юли Август
17
- Септември Октомври Ноември Декември],
18
- date_format: '%d.%m.%Y',
19
-
20
- number_decimal: ',',
21
- number_group: ' '
22
- )
23
- end
24
- end
25
- end
@@ -1,50 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module R18n
4
- module Locales
5
- # Welsh locale
6
- class Cy < Locale
7
- set(
8
- title: 'Welsh',
9
- sublocales: [],
10
-
11
- week_start: :sunday,
12
- wday_names: ["Dydd Sul", "Dydd Llun", "Dydd Mawrth", "Dydd Mercher", "Dydd Iau", "Dydd Gwener", "Dydd Sadwrn"],
13
- wday_abbrs: %w[Sul Llu Maw Mer Iau Gwe Sad],
14
-
15
- month_names: %w[Ionawr Chwefror Mawrth Ebrill Mai Mehefin Gorffennaf Awst Medi Hydref Tachwedd Rhagfyr],
16
- month_abbrs: %w[Ion Chw Maw Ebr Mai Meh Gor Aws Med Hyd Tac Rha],
17
-
18
- date_format: '%Y-%m-%d',
19
- full_format: '%e o %B',
20
- year_format: '_, %Y',
21
-
22
- number_decimal: '.',
23
- number_group: ','
24
- )
25
-
26
- def ordinalize(n)
27
- case n % 10
28
- when 1 then "#{n}af"
29
- when 2 then "#{n}il"
30
- when 3 then "#{n}ydd"
31
- when 4 then "#{n}ydd"
32
- when 11 then "#{n}eg"
33
- when 13 then "#{n}eg"
34
- when 14 then "#{n}eg"
35
- when 16 then "#{n}eg"
36
- when 17 then "#{n}eg"
37
- when 19 then "#{n}eg"
38
- when 21..31 then "#{n}ain"
39
- else "#{n}ed"
40
- end
41
- end
42
-
43
- def format_date_full(date, year = true, *_params)
44
- format = full_format
45
- format = year_format.sub('_', format) if year
46
- strftime(date, format.sub('%e', ordinalize(date.mday)))
47
- end
48
- end
49
- end
50
- end
@@ -1,29 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module R18n
4
- module Locales
5
- # German locale
6
- class De < Locale
7
- set(
8
- title: 'Deutsch',
9
-
10
- wday_names: %w[Sonntag Montag Dienstag Mittwoch Donnerstag Freitag
11
- Samstag],
12
- wday_abbrs: %w[So Mo Di Mi Do Fr Sa],
13
-
14
- month_names: %w[Januar Februar März April Mai Juni Juli August
15
- September Oktober November Dezember],
16
- month_abbrs: %w[Jan. Feb. Mär. Apr. Mai. Jun. Jul. Aug. Sep. Okt.
17
- Nov. Dez.],
18
-
19
- time_am: 'vormittags',
20
- time_pm: 'nachmittags',
21
- date_format: '%d.%m.%Y',
22
- full_format: '%-d. %B',
23
-
24
- number_decimal: ',',
25
- number_group: '.'
26
- )
27
- end
28
- end
29
- end
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module R18n
4
- module Locales
5
- # Finnish locale
6
- class Fi < Locale
7
- set(
8
- title: 'Suomi',
9
-
10
- wday_names: %w[sunnuntai maanantai tiistai keskiviikko torstai
11
- terjantai lauantai],
12
- wday_abbrs: %w[su ma ti ke to te la],
13
-
14
- month_names: %w[tammikuuta helmikuuta maaliskuuta huhtikuuta
15
- toukokuuta kesäkuuta heinäkuuta elokuuta syyskuuta
16
- lokakuuta marraskuuta joulukuuta],
17
- month_abbrs: %w[tam hel maa huh tou kes hei elo syy lok mar jou],
18
- month_standalone: %w[tammikuu helmikuu maaliskuu huhtikuu toukokuu
19
- kesäkuu heinäkuu elokuu syyskuu lokakuu
20
- marraskuu joulukuu],
21
-
22
- date_format: '%d.%m.%Y',
23
- full_format: '%-d. %B',
24
- time_format: '_ %H.%M',
25
-
26
- number_decimal: ',',
27
- number_group: ''
28
- )
29
-
30
- def format_time_full(time, *_params)
31
- format_time(format_date_full(time) + ' kello', time)
32
- end
33
- end
34
- end
35
- end
@@ -1,41 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module R18n
4
- module Locales
5
- # Latvian locale
6
- class Lv < Locale
7
- set(
8
- title: 'Latviešu',
9
-
10
- week_start: :monday,
11
- wday_names: %w[Svētdiena Pirmdiena Otrdiena Trešdiena Ceturtdiena
12
- Piektdiena Sestdiena],
13
- wday_abbrs: %w[Sv P O T C P S],
14
-
15
- month_names: %w[janvārī februārī martā aprīlī maijā jūnijā jūlijā
16
- augustā septembrī oktobrī novembrī decembrī],
17
- month_abbrs: %w[jan feb mar apr mai jūn jūl aug sep okt nov dec],
18
- month_standalone: %w[janvāris februāris marts aprīlis maijs jūnijs
19
- jūlijs augusts septembris oktobris novembris
20
- decembris],
21
-
22
- date_format: '%d.%m.%Y.',
23
- full_format: '%-d.%B',
24
- year_format: '%Y.gada _',
25
-
26
- number_decimal: ',',
27
- number_group: ' '
28
- )
29
-
30
- def pluralize(number)
31
- if number.zero?
32
- 0
33
- elsif number % 10 == 1 && number % 100 != 11
34
- 1
35
- else
36
- 'n'
37
- end
38
- end
39
- end
40
- end
41
- end
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module R18n
4
- module Locales
5
- # Mongolian locale
6
- class Mn < Locale
7
- set(
8
- title: 'Монгол',
9
-
10
- wday_names: ['Ням гариг', 'Даваа гариг', 'Мягмар гариг', 'Лхагва гариг',
11
- 'Пүрэв гариг', 'Баасан гариг', 'Бямба гариг'],
12
- wday_abbrs: %w[ня да мя лх пү ба бя],
13
-
14
- month_names: ['Нэгдүгээр сар', 'Хоёрдугаар сар', 'Гуравдугаар сар',
15
- 'Дөрөвдүгээр сар', 'Тавдугаар сар', 'Зургадугаар сар',
16
- 'Долдугаар сар', 'Наймдугаар сар', 'Есдүгээр сар',
17
- 'Аравдугаар сар', 'Арваннэгдүгээр сар',
18
- 'Арванхоёрдугаар сар'],
19
-
20
- date_format: '%Y-%m-%d',
21
-
22
- number_decimal: ',',
23
- number_group: '.'
24
- )
25
- end
26
- end
27
- end