rails-i18n 0.4.0 → 0.5.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. data/README.md +5 -0
  2. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +35 -0
  3. data/lib/rails_i18n/common_pluralizations/one_two_other.rb +30 -0
  4. data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +19 -0
  5. data/lib/rails_i18n/common_pluralizations/one_with_zero_other.rb +20 -0
  6. data/lib/rails_i18n/common_pluralizations/other.rb +17 -0
  7. data/lib/rails_i18n/common_pluralizations/romanian.rb +27 -0
  8. data/lib/rails_i18n/common_pluralizations/west_slavic.rb +27 -0
  9. data/lib/rails_i18n/railtie.rb +18 -5
  10. data/rails/locale/ja.yml +1 -1
  11. data/rails/pluralization/ak.rb +3 -0
  12. data/rails/pluralization/am.rb +3 -0
  13. data/rails/pluralization/ar.rb +31 -0
  14. data/rails/pluralization/az.rb +3 -0
  15. data/rails/pluralization/be.rb +3 -0
  16. data/rails/pluralization/bh.rb +3 -0
  17. data/rails/pluralization/bm.rb +3 -0
  18. data/rails/pluralization/bo.rb +3 -0
  19. data/rails/pluralization/br.rb +30 -0
  20. data/rails/pluralization/bs.rb +3 -0
  21. data/rails/pluralization/cs.rb +3 -0
  22. data/rails/pluralization/cy.rb +24 -0
  23. data/rails/pluralization/dz.rb +3 -0
  24. data/rails/pluralization/fa.rb +3 -0
  25. data/rails/pluralization/ff.rb +3 -0
  26. data/rails/pluralization/fil.rb +3 -0
  27. data/rails/pluralization/fr.rb +3 -0
  28. data/rails/pluralization/ga.rb +27 -0
  29. data/rails/pluralization/gd.rb +25 -0
  30. data/rails/pluralization/guw.rb +3 -0
  31. data/rails/pluralization/gv.rb +21 -0
  32. data/rails/pluralization/hi.rb +3 -0
  33. data/rails/pluralization/hr.rb +3 -0
  34. data/rails/pluralization/hu.rb +3 -0
  35. data/rails/pluralization/id.rb +3 -0
  36. data/rails/pluralization/ig.rb +3 -0
  37. data/rails/pluralization/ii.rb +3 -0
  38. data/rails/pluralization/iu.rb +3 -0
  39. data/rails/pluralization/ja.rb +3 -0
  40. data/rails/pluralization/jv.rb +3 -0
  41. data/rails/pluralization/ka.rb +3 -0
  42. data/rails/pluralization/kab.rb +3 -0
  43. data/rails/pluralization/kde.rb +3 -0
  44. data/rails/pluralization/kea.rb +3 -0
  45. data/rails/pluralization/km.rb +3 -0
  46. data/rails/pluralization/kn.rb +3 -0
  47. data/rails/pluralization/ko.rb +3 -0
  48. data/rails/pluralization/ksh.rb +23 -0
  49. data/rails/pluralization/kw.rb +3 -0
  50. data/rails/pluralization/lag.rb +23 -0
  51. data/rails/pluralization/ln.rb +3 -0
  52. data/rails/pluralization/lo.rb +3 -0
  53. data/rails/pluralization/lt.rb +26 -0
  54. data/rails/pluralization/lv.rb +23 -0
  55. data/rails/pluralization/mg.rb +3 -0
  56. data/rails/pluralization/mk.rb +21 -0
  57. data/rails/pluralization/mo.rb +3 -0
  58. data/rails/pluralization/ms.rb +3 -0
  59. data/rails/pluralization/mt.rb +27 -0
  60. data/rails/pluralization/my.rb +3 -0
  61. data/rails/pluralization/naq.rb +3 -0
  62. data/rails/pluralization/nso.rb +3 -0
  63. data/rails/pluralization/pl.rb +28 -0
  64. data/rails/pluralization/ro.rb +3 -0
  65. data/rails/pluralization/root.rb +3 -0
  66. data/rails/pluralization/ru.rb +3 -0
  67. data/rails/pluralization/sah.rb +3 -0
  68. data/rails/pluralization/se.rb +3 -0
  69. data/rails/pluralization/ses.rb +3 -0
  70. data/rails/pluralization/sg.rb +3 -0
  71. data/rails/pluralization/sh.rb +3 -0
  72. data/rails/pluralization/shi.rb +3 -0
  73. data/rails/pluralization/sk.rb +3 -0
  74. data/rails/pluralization/sl.rb +27 -0
  75. data/rails/pluralization/sma.rb +3 -0
  76. data/rails/pluralization/smi.rb +3 -0
  77. data/rails/pluralization/smj.rb +3 -0
  78. data/rails/pluralization/smn.rb +3 -0
  79. data/rails/pluralization/sms.rb +3 -0
  80. data/rails/pluralization/sr.rb +3 -0
  81. data/rails/pluralization/th.rb +3 -0
  82. data/rails/pluralization/ti.rb +3 -0
  83. data/rails/pluralization/tl.rb +3 -0
  84. data/rails/pluralization/to.rb +3 -0
  85. data/rails/pluralization/tr.rb +3 -0
  86. data/rails/pluralization/tzm.rb +21 -0
  87. data/rails/pluralization/uk.rb +3 -0
  88. data/rails/pluralization/vi.rb +3 -0
  89. data/rails/pluralization/wa.rb +3 -0
  90. data/rails/pluralization/wo.rb +3 -0
  91. data/rails/pluralization/yo.rb +3 -0
  92. data/rails/pluralization/zh.rb +3 -0
  93. data/rails/transliteration/bg.yml +64 -0
  94. data/rails/transliteration/ru.rb +72 -0
  95. metadata +107 -24
  96. data/will_paginate/bg.yml +0 -4
  97. data/will_paginate/en-GB.yml +0 -18
  98. data/will_paginate/en-US.yml +0 -18
  99. data/will_paginate/hu.yml +0 -5
  100. data/will_paginate/ja.yml +0 -18
  101. data/will_paginate/nl.yml +0 -5
  102. data/will_paginate/ro.yml +0 -4
  103. data/will_paginate/sk.yml +0 -19
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
+
3
+ ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:ti)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
+
3
+ ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:tl)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:to)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:tr)
@@ -0,0 +1,21 @@
1
+ module RailsI18n
2
+ module Pluralization
3
+ module CentralMoroccoTamazight
4
+ def self.rule
5
+ lambda do |n|
6
+ if ([0, 1] + (11..99).to_a).include?(n)
7
+ :one
8
+ else
9
+ :other
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
16
+
17
+ { :tzm => {
18
+ :'i18n' => {
19
+ :plural => {
20
+ :keys => [:one, :other],
21
+ :rule => RailsI18n::Pluralization::CentralMoroccoTamazight.rule }}}}
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/east_slavic'
2
+
3
+ ::RailsI18n::Pluralization::EastSlavic.with_locale(:uk)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:vi)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
+
3
+ ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:wa)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:wo)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:yo)
@@ -0,0 +1,3 @@
1
+ require 'rails_i18n/common_pluralizations/other'
2
+
3
+ ::RailsI18n::Pluralization::Other.with_locale(:zh)
@@ -0,0 +1,64 @@
1
+ bg:
2
+ i18n:
3
+ transliterate:
4
+ rule:
5
+ а: "a"
6
+ А: "A"
7
+ б: "b"
8
+ Б: "B"
9
+ в: "v"
10
+ В: "V"
11
+ г: "g"
12
+ Г: "G"
13
+ д: "d"
14
+ Д: "D"
15
+ е: "e"
16
+ Е: "E"
17
+ ж: "zh"
18
+ Ж: "Zh"
19
+ з: "z"
20
+ З: "Z"
21
+ и: "i"
22
+ И: "I"
23
+ й: "y"
24
+ Й: "Y"
25
+ к: "k"
26
+ К: "K"
27
+ л: "l"
28
+ Л: "L"
29
+ м: "m"
30
+ М: "M"
31
+ н: "n"
32
+ Н: "N"
33
+ о: "o"
34
+ О: "O"
35
+ п: "p"
36
+ П: "P"
37
+ р: "r"
38
+ Р: "R"
39
+ с: "s"
40
+ С: "S"
41
+ т: "t"
42
+ Т: "T"
43
+ у: "u"
44
+ У: "U"
45
+ ф: "f"
46
+ Ф: "F"
47
+ х: "h"
48
+ Х: "H"
49
+ ц: "ts"
50
+ Ц: "Ts"
51
+ ч: "ch"
52
+ Ч: "Ch"
53
+ ш: "sh"
54
+ Ш: "Sh"
55
+ щ: "sht"
56
+ Щ: "Sht"
57
+ ъ: "a"
58
+ Ъ: "A"
59
+ ь: "y"
60
+ Ь: "Y"
61
+ ю: "yu"
62
+ Ю: "Yu"
63
+ я: "ya"
64
+ Я: "Ya"
@@ -0,0 +1,72 @@
1
+ # (c) Yaroslav Markin, Julian "julik" Tarkhanov and Co
2
+ # https://github.com/yaroslav/russian/blob/master/lib/russian/transliteration.rb
3
+
4
+ module RailsI18n
5
+ module Transliteration
6
+ module Russian
7
+ LOWER_SINGLE = {
8
+ "і"=>"i","ґ"=>"g","ё"=>"yo","№"=>"#","є"=>"e",
9
+ "ї"=>"yi","а"=>"a","б"=>"b",
10
+ "в"=>"v","г"=>"g","д"=>"d","е"=>"e","ж"=>"zh",
11
+ "з"=>"z","и"=>"i","й"=>"y","к"=>"k","л"=>"l",
12
+ "м"=>"m","н"=>"n","о"=>"o","п"=>"p","р"=>"r",
13
+ "с"=>"s","т"=>"t","у"=>"u","ф"=>"f","х"=>"h",
14
+ "ц"=>"ts","ч"=>"ch","ш"=>"sh","щ"=>"sch","ъ"=>"'",
15
+ "ы"=>"y","ь"=>"","э"=>"e","ю"=>"yu","я"=>"ya",
16
+ }
17
+
18
+ LOWER_MULTI = {
19
+ "ье"=>"ie",
20
+ "ьё"=>"ie",
21
+ }
22
+
23
+ UPPER_SINGLE = {
24
+ "Ґ"=>"G","Ё"=>"YO","Є"=>"E","Ї"=>"YI","І"=>"I",
25
+ "А"=>"A","Б"=>"B","В"=>"V","Г"=>"G",
26
+ "Д"=>"D","Е"=>"E","Ж"=>"ZH","З"=>"Z","И"=>"I",
27
+ "Й"=>"Y","К"=>"K","Л"=>"L","М"=>"M","Н"=>"N",
28
+ "О"=>"O","П"=>"P","Р"=>"R","С"=>"S","Т"=>"T",
29
+ "У"=>"U","Ф"=>"F","Х"=>"H","Ц"=>"TS","Ч"=>"CH",
30
+ "Ш"=>"SH","Щ"=>"SCH","Ъ"=>"'","Ы"=>"Y","Ь"=>"",
31
+ "Э"=>"E","Ю"=>"YU","Я"=>"YA",
32
+ }
33
+
34
+ UPPER_MULTI = {
35
+ "ЬЕ"=>"IE",
36
+ "ЬЁ"=>"IE",
37
+ }
38
+
39
+ LOWER = (LOWER_SINGLE.merge(LOWER_MULTI)).freeze
40
+ UPPER = (UPPER_SINGLE.merge(UPPER_MULTI)).freeze
41
+ MULTI_KEYS = (LOWER_MULTI.merge(UPPER_MULTI)).keys.sort_by {|s| s.length}.reverse.freeze
42
+
43
+ def self.rule
44
+ lambda do |string|
45
+ chars = string.scan(%r{#{MULTI_KEYS.join '|'}|\w|.})
46
+
47
+ result = ""
48
+
49
+ chars.each_with_index do |char, index|
50
+ if UPPER.has_key?(char) && LOWER.has_key?(chars[index+1])
51
+ # combined case
52
+ result << UPPER[char].downcase.capitalize
53
+ elsif UPPER.has_key?(char)
54
+ result << UPPER[char]
55
+ elsif LOWER.has_key?(char)
56
+ result << LOWER[char]
57
+ else
58
+ result << char
59
+ end
60
+ end
61
+
62
+ result
63
+ end
64
+ end
65
+ end
66
+ end
67
+ end
68
+
69
+ { :ru => {
70
+ :i18n => {
71
+ :transliterate => {
72
+ :rule => RailsI18n::Transliteration::Russian.rule }}}}
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
5
- prerelease:
4
+ version: 0.5.0.beta1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rails I18n Group
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-10 00:00:00.000000000 Z
12
+ date: 2012-02-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
16
- requirement: &10803700 !ruby/object:Gem::Requirement
16
+ requirement: &20257440 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0.5'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *10803700
24
+ version_requirements: *20257440
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rails
27
- requirement: &10801640 !ruby/object:Gem::Requirement
27
+ requirement: &20256980 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *10801640
35
+ version_requirements: *20256980
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec-rails
38
- requirement: &10797600 !ruby/object:Gem::Requirement
38
+ requirement: &20256520 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.7.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *10797600
46
+ version_requirements: *20256520
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: i18n-spec
49
- requirement: &10796240 !ruby/object:Gem::Requirement
49
+ requirement: &20256060 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,18 +54,18 @@ dependencies:
54
54
  version: 0.1.1
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *10796240
57
+ version_requirements: *20256060
58
58
  - !ruby/object:Gem::Dependency
59
- name: will_paginate
60
- requirement: &10794460 !ruby/object:Gem::Requirement
59
+ name: spork
60
+ requirement: &20255600 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
- - - ! '>='
63
+ - - ~>
64
64
  - !ruby/object:Gem::Version
65
- version: 3.0.0
65
+ version: 1.0rc
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *10794460
68
+ version_requirements: *20255600
69
69
  description: A set of common locale data and translations to internationalize and/or
70
70
  localize your Rails applications.
71
71
  email: rails-i18n@googlegroups.com
@@ -75,6 +75,13 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - lib/rails-i18n.rb
77
77
  - lib/rails_i18n/railtie.rb
78
+ - lib/rails_i18n/common_pluralizations/west_slavic.rb
79
+ - lib/rails_i18n/common_pluralizations/one_two_other.rb
80
+ - lib/rails_i18n/common_pluralizations/east_slavic.rb
81
+ - lib/rails_i18n/common_pluralizations/other.rb
82
+ - lib/rails_i18n/common_pluralizations/romanian.rb
83
+ - lib/rails_i18n/common_pluralizations/one_upto_two_other.rb
84
+ - lib/rails_i18n/common_pluralizations/one_with_zero_other.rb
78
85
  - lib/rails_i18n.rb
79
86
  - rails/locale/hi-IN.yml
80
87
  - rails/locale/en-AU.yml
@@ -150,14 +157,90 @@ files:
150
157
  - rails/locale/bs.yml
151
158
  - rails/locale/lt.yml
152
159
  - rails/locale/fur.yml
153
- - will_paginate/nl.yml
154
- - will_paginate/en-US.yml
155
- - will_paginate/ja.yml
156
- - will_paginate/bg.yml
157
- - will_paginate/ro.yml
158
- - will_paginate/hu.yml
159
- - will_paginate/sk.yml
160
- - will_paginate/en-GB.yml
160
+ - rails/pluralization/km.rb
161
+ - rails/pluralization/ln.rb
162
+ - rails/pluralization/cy.rb
163
+ - rails/pluralization/az.rb
164
+ - rails/pluralization/ja.rb
165
+ - rails/pluralization/naq.rb
166
+ - rails/pluralization/wa.rb
167
+ - rails/pluralization/lo.rb
168
+ - rails/pluralization/lt.rb
169
+ - rails/pluralization/smj.rb
170
+ - rails/pluralization/ses.rb
171
+ - rails/pluralization/ksh.rb
172
+ - rails/pluralization/gd.rb
173
+ - rails/pluralization/tzm.rb
174
+ - rails/pluralization/ms.rb
175
+ - rails/pluralization/zh.rb
176
+ - rails/pluralization/sma.rb
177
+ - rails/pluralization/ff.rb
178
+ - rails/pluralization/id.rb
179
+ - rails/pluralization/tl.rb
180
+ - rails/pluralization/guw.rb
181
+ - rails/pluralization/fr.rb
182
+ - rails/pluralization/lv.rb
183
+ - rails/pluralization/to.rb
184
+ - rails/pluralization/root.rb
185
+ - rails/pluralization/ru.rb
186
+ - rails/pluralization/uk.rb
187
+ - rails/pluralization/am.rb
188
+ - rails/pluralization/sah.rb
189
+ - rails/pluralization/fa.rb
190
+ - rails/pluralization/se.rb
191
+ - rails/pluralization/my.rb
192
+ - rails/pluralization/hu.rb
193
+ - rails/pluralization/kab.rb
194
+ - rails/pluralization/jv.rb
195
+ - rails/pluralization/sl.rb
196
+ - rails/pluralization/ga.rb
197
+ - rails/pluralization/iu.rb
198
+ - rails/pluralization/ko.rb
199
+ - rails/pluralization/smn.rb
200
+ - rails/pluralization/be.rb
201
+ - rails/pluralization/kn.rb
202
+ - rails/pluralization/pl.rb
203
+ - rails/pluralization/hr.rb
204
+ - rails/pluralization/yo.rb
205
+ - rails/pluralization/mt.rb
206
+ - rails/pluralization/kde.rb
207
+ - rails/pluralization/wo.rb
208
+ - rails/pluralization/bs.rb
209
+ - rails/pluralization/shi.rb
210
+ - rails/pluralization/tr.rb
211
+ - rails/pluralization/dz.rb
212
+ - rails/pluralization/lag.rb
213
+ - rails/pluralization/sk.rb
214
+ - rails/pluralization/ig.rb
215
+ - rails/pluralization/sg.rb
216
+ - rails/pluralization/sh.rb
217
+ - rails/pluralization/bm.rb
218
+ - rails/pluralization/kw.rb
219
+ - rails/pluralization/sr.rb
220
+ - rails/pluralization/br.rb
221
+ - rails/pluralization/vi.rb
222
+ - rails/pluralization/cs.rb
223
+ - rails/pluralization/kea.rb
224
+ - rails/pluralization/sms.rb
225
+ - rails/pluralization/mk.rb
226
+ - rails/pluralization/mo.rb
227
+ - rails/pluralization/nso.rb
228
+ - rails/pluralization/ar.rb
229
+ - rails/pluralization/bo.rb
230
+ - rails/pluralization/th.rb
231
+ - rails/pluralization/fil.rb
232
+ - rails/pluralization/mg.rb
233
+ - rails/pluralization/ak.rb
234
+ - rails/pluralization/hi.rb
235
+ - rails/pluralization/ro.rb
236
+ - rails/pluralization/smi.rb
237
+ - rails/pluralization/gv.rb
238
+ - rails/pluralization/ka.rb
239
+ - rails/pluralization/bh.rb
240
+ - rails/pluralization/ii.rb
241
+ - rails/pluralization/ti.rb
242
+ - rails/transliteration/ru.rb
243
+ - rails/transliteration/bg.yml
161
244
  - README.md
162
245
  - MIT-LICENSE.txt
163
246
  homepage: http://github.com/svenfuchs/rails-i18n
@@ -1,4 +0,0 @@
1
- bg:
2
- will_paginate:
3
- previous_label: "← предишна"
4
- next_label: "следваща →"
@@ -1,18 +0,0 @@
1
- "en-GB":
2
- will_paginate:
3
- previous_label: "&#8592; Previous"
4
- next_label: "Next &#8594;"
5
- page_gap: "&hellip;"
6
-
7
- page_entries_info:
8
- single_page:
9
- zero: "No %{model} found"
10
- one: "Displaying 1 %{model}"
11
- other: "Displaying all %{count} %{model}"
12
- single_page_html:
13
- zero: "No %{model} found"
14
- one: "Displaying <b>1</b> %{model}"
15
- other: "Displaying <b>all&nbsp;%{count}</b> %{model}"
16
-
17
- multi_page: "Displaying %{model} %{from} - %{to} of %{count} in total"
18
- multi_page_html: "Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{count}</b> in total"
@@ -1,18 +0,0 @@
1
- "en-US":
2
- will_paginate:
3
- previous_label: "&#8592; Previous"
4
- next_label: "Next &#8594;"
5
- page_gap: "&hellip;"
6
-
7
- page_entries_info:
8
- single_page:
9
- zero: "No %{model} found"
10
- one: "Displaying 1 %{model}"
11
- other: "Displaying all %{count} %{model}"
12
- single_page_html:
13
- zero: "No %{model} found"
14
- one: "Displaying <b>1</b> %{model}"
15
- other: "Displaying <b>all&nbsp;%{count}</b> %{model}"
16
-
17
- multi_page: "Displaying %{model} %{from} - %{to} of %{count} in total"
18
- multi_page_html: "Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{count}</b> in total"