rails-i18n 7.0.3 → 7.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +120 -0
  3. data/README.md +41 -14
  4. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +3 -3
  5. data/lib/rails_i18n/common_pluralizations/{serbian.rb → one_few_other.rb} +10 -3
  6. data/lib/rails_i18n/common_pluralizations/one_other.rb +1 -1
  7. data/lib/rails_i18n/common_pluralizations/one_two_other.rb +5 -7
  8. data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +4 -2
  9. data/lib/rails_i18n/common_pluralizations/one_with_zero_other.rb +6 -1
  10. data/lib/rails_i18n/common_pluralizations/romanian.rb +5 -2
  11. data/lib/rails_i18n/common_pluralizations/west_slavic.rb +4 -6
  12. data/lib/rails_i18n/railtie.rb +9 -6
  13. data/lib/rails_i18n.rb +10 -0
  14. data/rails/locale/af.yml +20 -20
  15. data/rails/locale/ar.yml +1 -1
  16. data/rails/locale/az.yml +12 -12
  17. data/rails/locale/bg.yml +12 -12
  18. data/rails/locale/bn.yml +22 -19
  19. data/rails/locale/bs.yml +8 -8
  20. data/rails/locale/ca.yml +17 -17
  21. data/rails/locale/cs.yml +31 -31
  22. data/rails/locale/cy.yml +63 -44
  23. data/rails/locale/da.yml +16 -15
  24. data/rails/locale/de-AT.yml +7 -4
  25. data/rails/locale/de-CH.yml +7 -4
  26. data/rails/locale/de-DE.yml +7 -4
  27. data/rails/locale/de.yml +7 -4
  28. data/rails/locale/dz.yml +213 -0
  29. data/rails/locale/el-CY.yml +9 -9
  30. data/rails/locale/el.yml +9 -9
  31. data/rails/locale/en-AU.yml +15 -15
  32. data/rails/locale/en-CA.yml +15 -15
  33. data/rails/locale/en-CY.yml +15 -15
  34. data/rails/locale/en-GB.yml +15 -15
  35. data/rails/locale/en-IE.yml +15 -15
  36. data/rails/locale/en-IN.yml +15 -15
  37. data/rails/locale/en-NZ.yml +15 -15
  38. data/rails/locale/en-TT.yml +15 -15
  39. data/rails/locale/en-US.yml +19 -17
  40. data/rails/locale/en-ZA.yml +18 -18
  41. data/rails/locale/en.yml +17 -15
  42. data/rails/locale/eo.yml +5 -5
  43. data/rails/locale/es-419.yml +20 -18
  44. data/rails/locale/es-AR.yml +20 -18
  45. data/rails/locale/es-CL.yml +20 -18
  46. data/rails/locale/es-CO.yml +20 -18
  47. data/rails/locale/es-CR.yml +20 -18
  48. data/rails/locale/es-EC.yml +20 -18
  49. data/rails/locale/es-ES.yml +20 -18
  50. data/rails/locale/es-MX.yml +20 -18
  51. data/rails/locale/es-NI.yml +20 -18
  52. data/rails/locale/es-PA.yml +20 -18
  53. data/rails/locale/es-PE.yml +20 -18
  54. data/rails/locale/es-US.yml +20 -18
  55. data/rails/locale/es-VE.yml +20 -18
  56. data/rails/locale/es.yml +20 -18
  57. data/rails/locale/eu.yml +4 -4
  58. data/rails/locale/fa.yml +2 -2
  59. data/rails/locale/fi.yml +3 -3
  60. data/rails/locale/fr-CA.yml +10 -8
  61. data/rails/locale/fr-CH.yml +12 -10
  62. data/rails/locale/fr-FR.yml +12 -10
  63. data/rails/locale/fr.yml +26 -24
  64. data/rails/locale/fy.yml +215 -0
  65. data/rails/locale/gd.yml +252 -0
  66. data/rails/locale/gl.yml +12 -12
  67. data/rails/locale/hi-IN.yml +2 -2
  68. data/rails/locale/hi.yml +2 -2
  69. data/rails/locale/hr.yml +46 -46
  70. data/rails/locale/hu.yml +12 -12
  71. data/rails/locale/id.yml +7 -7
  72. data/rails/locale/is.yml +16 -16
  73. data/rails/locale/it-CH.yml +10 -10
  74. data/rails/locale/it.yml +10 -10
  75. data/rails/locale/ja.yml +15 -39
  76. data/rails/locale/ka.yml +16 -16
  77. data/rails/locale/kk.yml +225 -0
  78. data/rails/locale/kn.yml +5 -5
  79. data/rails/locale/ko.yml +34 -58
  80. data/rails/locale/lb.yml +7 -7
  81. data/rails/locale/lo.yml +13 -85
  82. data/rails/locale/lv.yml +11 -1
  83. data/rails/locale/mg.yml +6 -6
  84. data/rails/locale/ml.yml +11 -11
  85. data/rails/locale/mn.yml +15 -15
  86. data/rails/locale/mr-IN.yml +2 -2
  87. data/rails/locale/ms.yml +13 -13
  88. data/rails/locale/nb.yml +20 -20
  89. data/rails/locale/ne.yml +15 -15
  90. data/rails/locale/nl.yml +7 -7
  91. data/rails/locale/nn.yml +12 -12
  92. data/rails/locale/oc.yml +1 -1
  93. data/rails/locale/or.yml +12 -12
  94. data/rails/locale/pa.yml +15 -15
  95. data/rails/locale/pap-AW.yml +16 -16
  96. data/rails/locale/pap-CW.yml +16 -16
  97. data/rails/locale/pl.yml +4 -4
  98. data/rails/locale/pt-BR.yml +21 -19
  99. data/rails/locale/pt.yml +16 -14
  100. data/rails/locale/rm.yml +2 -2
  101. data/rails/locale/ro.yml +8 -8
  102. data/rails/locale/ru.yml +17 -15
  103. data/rails/locale/sc.yml +223 -0
  104. data/rails/locale/sk.yml +1 -0
  105. data/rails/locale/sl.yml +10 -10
  106. data/rails/locale/sq.yml +15 -19
  107. data/rails/locale/sv-FI.yml +207 -0
  108. data/rails/locale/sv-SE.yml +6 -3
  109. data/rails/locale/sv.yml +6 -3
  110. data/rails/locale/sw.yml +9 -9
  111. data/rails/locale/ta.yml +10 -10
  112. data/rails/locale/tr.yml +16 -16
  113. data/rails/locale/uk.yml +1 -1
  114. data/rails/locale/uz.yml +1 -1
  115. data/rails/locale/vi.yml +13 -37
  116. data/rails/locale/wo.yml +15 -15
  117. data/rails/locale/zh-CN.yml +30 -30
  118. data/rails/locale/zh-HK.yml +35 -67
  119. data/rails/locale/zh-TW.yml +37 -69
  120. data/rails/locale/zh-YUE.yml +30 -62
  121. data/rails/ordinals/be.yml +6 -0
  122. data/rails/ordinals/bs.yml +6 -0
  123. data/rails/ordinals/cs.yml +6 -0
  124. data/rails/ordinals/da.yml +6 -0
  125. data/rails/ordinals/de-AT.yml +6 -0
  126. data/rails/ordinals/de-CH.yml +6 -0
  127. data/rails/ordinals/de-DE.yml +6 -0
  128. data/rails/ordinals/de.yml +6 -0
  129. data/rails/ordinals/eo.yml +6 -0
  130. data/rails/ordinals/et.yml +6 -0
  131. data/rails/ordinals/fa.yml +6 -0
  132. data/rails/ordinals/fi.yml +6 -0
  133. data/rails/ordinals/gd.rb +24 -0
  134. data/rails/ordinals/hr.yml +6 -0
  135. data/rails/ordinals/hu.yml +6 -0
  136. data/rails/ordinals/is.yml +6 -0
  137. data/rails/ordinals/ka.yml +6 -0
  138. data/rails/ordinals/lb.yml +6 -0
  139. data/rails/ordinals/lt.yml +6 -0
  140. data/rails/ordinals/lv.yml +6 -0
  141. data/rails/ordinals/mk.yml +6 -0
  142. data/rails/ordinals/nb.yml +6 -0
  143. data/rails/ordinals/ne.yml +6 -0
  144. data/rails/ordinals/nn.yml +6 -0
  145. data/rails/ordinals/pl.yml +6 -0
  146. data/rails/ordinals/sk.yml +6 -0
  147. data/rails/ordinals/sl.yml +6 -0
  148. data/rails/ordinals/sq.yml +6 -0
  149. data/rails/ordinals/sr.yml +6 -0
  150. data/rails/ordinals/sw.yml +6 -0
  151. data/rails/ordinals/tr.yml +6 -0
  152. data/rails/pluralization/ar.rb +3 -2
  153. data/rails/pluralization/bs.rb +2 -2
  154. data/rails/pluralization/el-CY.rb +3 -0
  155. data/rails/pluralization/en-CY.rb +3 -0
  156. data/rails/pluralization/en-IE.rb +3 -0
  157. data/rails/pluralization/en-TT.rb +3 -0
  158. data/rails/pluralization/en-US.rb +3 -0
  159. data/rails/pluralization/en-ZA.rb +3 -0
  160. data/rails/pluralization/fy.rb +3 -0
  161. data/rails/pluralization/gd.rb +8 -4
  162. data/rails/pluralization/hr.rb +2 -2
  163. data/rails/pluralization/hsb.rb +7 -9
  164. data/rails/pluralization/kk.rb +3 -0
  165. data/rails/pluralization/lt.rb +3 -2
  166. data/rails/pluralization/lv.rb +1 -2
  167. data/rails/pluralization/mk.rb +2 -3
  168. data/rails/pluralization/pl.rb +4 -3
  169. data/rails/pluralization/sc.rb +3 -0
  170. data/rails/pluralization/sl.rb +7 -11
  171. data/rails/pluralization/sr.rb +2 -2
  172. data/rails/transliteration/de.yml +1 -0
  173. metadata +50 -51
  174. data/rails/pluralization/ak.rb +0 -3
  175. data/rails/pluralization/am.rb +0 -3
  176. data/rails/pluralization/bh.rb +0 -3
  177. data/rails/pluralization/bm.rb +0 -3
  178. data/rails/pluralization/bo.rb +0 -3
  179. data/rails/pluralization/br.rb +0 -31
  180. data/rails/pluralization/by.rb +0 -3
  181. data/rails/pluralization/cy.rb +0 -24
  182. data/rails/pluralization/dz.rb +0 -3
  183. data/rails/pluralization/ff.rb +0 -3
  184. data/rails/pluralization/ga.rb +0 -27
  185. data/rails/pluralization/guw.rb +0 -3
  186. data/rails/pluralization/gv.rb +0 -22
  187. data/rails/pluralization/ig.rb +0 -3
  188. data/rails/pluralization/ii.rb +0 -3
  189. data/rails/pluralization/iu.rb +0 -3
  190. data/rails/pluralization/jv.rb +0 -3
  191. data/rails/pluralization/kab.rb +0 -3
  192. data/rails/pluralization/kde.rb +0 -3
  193. data/rails/pluralization/kea.rb +0 -3
  194. data/rails/pluralization/ksh.rb +0 -23
  195. data/rails/pluralization/kw.rb +0 -3
  196. data/rails/pluralization/lag.rb +0 -24
  197. data/rails/pluralization/ln.rb +0 -3
  198. data/rails/pluralization/mo.rb +0 -3
  199. data/rails/pluralization/mt.rb +0 -28
  200. data/rails/pluralization/my.rb +0 -3
  201. data/rails/pluralization/naq.rb +0 -3
  202. data/rails/pluralization/nso.rb +0 -3
  203. data/rails/pluralization/root.rb +0 -3
  204. data/rails/pluralization/sah.rb +0 -3
  205. data/rails/pluralization/se.rb +0 -3
  206. data/rails/pluralization/ses.rb +0 -3
  207. data/rails/pluralization/sg.rb +0 -3
  208. data/rails/pluralization/sh.rb +0 -3
  209. data/rails/pluralization/shi.rb +0 -3
  210. data/rails/pluralization/sma.rb +0 -3
  211. data/rails/pluralization/smi.rb +0 -3
  212. data/rails/pluralization/smj.rb +0 -3
  213. data/rails/pluralization/smn.rb +0 -3
  214. data/rails/pluralization/sms.rb +0 -3
  215. data/rails/pluralization/ti.rb +0 -3
  216. data/rails/pluralization/to.rb +0 -3
  217. data/rails/pluralization/tzm.rb +0 -21
  218. data/rails/pluralization/wa.rb +0 -3
  219. data/rails/pluralization/yo.rb +0 -3
  220. data/rails/pluralization/zh.rb +0 -3
@@ -63,41 +63,41 @@ en-IE:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: about 1 hour
66
+ one: about %{count} hour
67
67
  other: about %{count} hours
68
68
  about_x_months:
69
- one: about 1 month
69
+ one: about %{count} month
70
70
  other: about %{count} months
71
71
  about_x_years:
72
- one: about 1 year
72
+ one: about %{count} year
73
73
  other: about %{count} years
74
74
  almost_x_years:
75
- one: almost 1 year
75
+ one: almost %{count} year
76
76
  other: almost %{count} years
77
77
  half_a_minute: half a minute
78
78
  less_than_x_seconds:
79
- one: less than 1 second
79
+ one: less than %{count} second
80
80
  other: less than %{count} seconds
81
81
  less_than_x_minutes:
82
82
  one: less than a minute
83
83
  other: less than %{count} minutes
84
84
  over_x_years:
85
- one: over 1 year
85
+ one: over %{count} year
86
86
  other: over %{count} years
87
87
  x_seconds:
88
- one: 1 second
88
+ one: "%{count} second"
89
89
  other: "%{count} seconds"
90
90
  x_minutes:
91
- one: 1 minute
91
+ one: "%{count} minute"
92
92
  other: "%{count} minutes"
93
93
  x_days:
94
- one: 1 day
94
+ one: "%{count} day"
95
95
  other: "%{count} days"
96
96
  x_months:
97
- one: 1 month
97
+ one: "%{count} month"
98
98
  other: "%{count} months"
99
99
  x_years:
100
- one: 1 year
100
+ one: "%{count} year"
101
101
  other: "%{count} years"
102
102
  prompts:
103
103
  second: Second
@@ -131,18 +131,18 @@ en-IE:
131
131
  required: must exist
132
132
  taken: has already been taken
133
133
  too_long:
134
- one: is too long (maximum is 1 character)
134
+ one: is too long (maximum is %{count} character)
135
135
  other: is too long (maximum is %{count} characters)
136
136
  too_short:
137
- one: is too short (minimum is 1 character)
137
+ one: is too short (minimum is %{count} character)
138
138
  other: is too short (minimum is %{count} characters)
139
139
  wrong_length:
140
- one: is the wrong length (should be 1 character)
140
+ one: is the wrong length (should be %{count} character)
141
141
  other: is the wrong length (should be %{count} characters)
142
142
  template:
143
143
  body: 'There were problems with the following fields:'
144
144
  header:
145
- one: 1 error prohibited this %{model} from being saved
145
+ one: "%{count} error prohibited this %{model} from being saved"
146
146
  other: "%{count} errors prohibited this %{model} from being saved"
147
147
  helpers:
148
148
  select:
@@ -63,41 +63,41 @@ en-IN:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: about 1 hour
66
+ one: about %{count} hour
67
67
  other: about %{count} hours
68
68
  about_x_months:
69
- one: about 1 month
69
+ one: about %{count} month
70
70
  other: about %{count} months
71
71
  about_x_years:
72
- one: about 1 year
72
+ one: about %{count} year
73
73
  other: about %{count} years
74
74
  almost_x_years:
75
- one: almost 1 year
75
+ one: almost %{count} year
76
76
  other: almost %{count} years
77
77
  half_a_minute: half a minute
78
78
  less_than_x_seconds:
79
- one: less than 1 second
79
+ one: less than %{count} second
80
80
  other: less than %{count} seconds
81
81
  less_than_x_minutes:
82
82
  one: less than a minute
83
83
  other: less than %{count} minutes
84
84
  over_x_years:
85
- one: over 1 year
85
+ one: over %{count} year
86
86
  other: over %{count} years
87
87
  x_seconds:
88
- one: 1 second
88
+ one: "%{count} second"
89
89
  other: "%{count} seconds"
90
90
  x_minutes:
91
- one: 1 minute
91
+ one: "%{count} minute"
92
92
  other: "%{count} minutes"
93
93
  x_days:
94
- one: 1 day
94
+ one: "%{count} day"
95
95
  other: "%{count} days"
96
96
  x_months:
97
- one: 1 month
97
+ one: "%{count} month"
98
98
  other: "%{count} months"
99
99
  x_years:
100
- one: 1 year
100
+ one: "%{count} year"
101
101
  other: "%{count} years"
102
102
  prompts:
103
103
  second: Second
@@ -131,18 +131,18 @@ en-IN:
131
131
  required: must exist
132
132
  taken: has already been taken
133
133
  too_long:
134
- one: is too long (maximum is 1 character)
134
+ one: is too long (maximum is %{count} character)
135
135
  other: is too long (maximum is %{count} characters)
136
136
  too_short:
137
- one: is too short (minimum is 1 character)
137
+ one: is too short (minimum is %{count} character)
138
138
  other: is too short (minimum is %{count} characters)
139
139
  wrong_length:
140
- one: is the wrong length (should be 1 character)
140
+ one: is the wrong length (should be %{count} character)
141
141
  other: is the wrong length (should be %{count} characters)
142
142
  template:
143
143
  body: 'There were problems with the following fields:'
144
144
  header:
145
- one: 1 error prohibited this %{model} from being saved
145
+ one: "%{count} error prohibited this %{model} from being saved"
146
146
  other: "%{count} errors prohibited this %{model} from being saved"
147
147
  helpers:
148
148
  select:
@@ -63,41 +63,41 @@ en-NZ:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: about 1 hour
66
+ one: about %{count} hour
67
67
  other: about %{count} hours
68
68
  about_x_months:
69
- one: about 1 month
69
+ one: about %{count} month
70
70
  other: about %{count} months
71
71
  about_x_years:
72
- one: about 1 year
72
+ one: about %{count} year
73
73
  other: about %{count} years
74
74
  almost_x_years:
75
- one: almost 1 year
75
+ one: almost %{count} year
76
76
  other: almost %{count} years
77
77
  half_a_minute: half a minute
78
78
  less_than_x_seconds:
79
- one: less than 1 second
79
+ one: less than %{count} second
80
80
  other: less than %{count} seconds
81
81
  less_than_x_minutes:
82
82
  one: less than a minute
83
83
  other: less than %{count} minutes
84
84
  over_x_years:
85
- one: over 1 year
85
+ one: over %{count} year
86
86
  other: over %{count} years
87
87
  x_seconds:
88
- one: 1 second
88
+ one: "%{count} second"
89
89
  other: "%{count} seconds"
90
90
  x_minutes:
91
- one: 1 minute
91
+ one: "%{count} minute"
92
92
  other: "%{count} minutes"
93
93
  x_days:
94
- one: 1 day
94
+ one: "%{count} day"
95
95
  other: "%{count} days"
96
96
  x_months:
97
- one: 1 month
97
+ one: "%{count} month"
98
98
  other: "%{count} months"
99
99
  x_years:
100
- one: 1 year
100
+ one: "%{count} year"
101
101
  other: "%{count} years"
102
102
  prompts:
103
103
  second: Second
@@ -131,18 +131,18 @@ en-NZ:
131
131
  required: must exist
132
132
  taken: has already been taken
133
133
  too_long:
134
- one: is too long (maximum is 1 character)
134
+ one: is too long (maximum is %{count} character)
135
135
  other: is too long (maximum is %{count} characters)
136
136
  too_short:
137
- one: is too short (minimum is 1 character)
137
+ one: is too short (minimum is %{count} character)
138
138
  other: is too short (minimum is %{count} characters)
139
139
  wrong_length:
140
- one: is the wrong length (should be 1 character)
140
+ one: is the wrong length (should be %{count} character)
141
141
  other: is the wrong length (should be %{count} characters)
142
142
  template:
143
143
  body: 'There were problems with the following fields:'
144
144
  header:
145
- one: 1 error prohibited this %{model} from being saved
145
+ one: "%{count} error prohibited this %{model} from being saved"
146
146
  other: "%{count} errors prohibited this %{model} from being saved"
147
147
  helpers:
148
148
  select:
@@ -63,41 +63,41 @@ en-TT:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: about 1 hour
66
+ one: about %{count} hour
67
67
  other: about %{count} hours
68
68
  about_x_months:
69
- one: about 1 month
69
+ one: about %{count} month
70
70
  other: about %{count} months
71
71
  about_x_years:
72
- one: about 1 year
72
+ one: about %{count} year
73
73
  other: about %{count} years
74
74
  almost_x_years:
75
- one: almost 1 year
75
+ one: almost %{count} year
76
76
  other: almost %{count} years
77
77
  half_a_minute: half a minute
78
78
  less_than_x_minutes:
79
79
  one: less than a minute
80
80
  other: less than %{count} minutes
81
81
  less_than_x_seconds:
82
- one: less than 1 second
82
+ one: less than %{count} second
83
83
  other: less than %{count} seconds
84
84
  over_x_years:
85
- one: over 1 year
85
+ one: over %{count} year
86
86
  other: over %{count} years
87
87
  x_days:
88
- one: 1 day
88
+ one: "%{count} day"
89
89
  other: "%{count} days"
90
90
  x_minutes:
91
- one: 1 minute
91
+ one: "%{count} minute"
92
92
  other: "%{count} minutes"
93
93
  x_months:
94
- one: 1 month
94
+ one: "%{count} month"
95
95
  other: "%{count} months"
96
96
  x_years:
97
- one: 1 year
97
+ one: "%{count} year"
98
98
  other: "%{count} years"
99
99
  x_seconds:
100
- one: 1 second
100
+ one: "%{count} second"
101
101
  other: "%{count} seconds"
102
102
  prompts:
103
103
  day: Day
@@ -130,19 +130,19 @@ en-TT:
130
130
  required: must exist
131
131
  taken: has already been taken
132
132
  too_long:
133
- one: is too long (maximum is 1 character)
133
+ one: is too long (maximum is %{count} character)
134
134
  other: is too long (maximum is %{count} characters)
135
135
  too_short:
136
- one: is too short (minimum is 1 character)
136
+ one: is too short (minimum is %{count} character)
137
137
  other: is too short (minimum is %{count} characters)
138
138
  wrong_length:
139
- one: is the wrong length (should be 1 character)
139
+ one: is the wrong length (should be %{count} character)
140
140
  other: is the wrong length (should be %{count} characters)
141
141
  other_than: must be other than %{count}
142
142
  template:
143
143
  body: 'There were problems with the following fields:'
144
144
  header:
145
- one: 1 error prohibited this %{model} from being saved
145
+ one: "%{count} error prohibited this %{model} from being saved"
146
146
  other: "%{count} errors prohibited this %{model} from being saved"
147
147
  helpers:
148
148
  select:
@@ -17,7 +17,7 @@ en-US:
17
17
  - Fri
18
18
  - Sat
19
19
  abbr_month_names:
20
- -
20
+ -
21
21
  - Jan
22
22
  - Feb
23
23
  - Mar
@@ -43,7 +43,7 @@ en-US:
43
43
  long: "%B %d, %Y"
44
44
  short: "%b %d"
45
45
  month_names:
46
- -
46
+ -
47
47
  - January
48
48
  - February
49
49
  - March
@@ -63,41 +63,41 @@ en-US:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: about 1 hour
66
+ one: about %{count} hour
67
67
  other: about %{count} hours
68
68
  about_x_months:
69
- one: about 1 month
69
+ one: about %{count} month
70
70
  other: about %{count} months
71
71
  about_x_years:
72
- one: about 1 year
72
+ one: about %{count} year
73
73
  other: about %{count} years
74
74
  almost_x_years:
75
- one: almost 1 year
75
+ one: almost %{count} year
76
76
  other: almost %{count} years
77
77
  half_a_minute: half a minute
78
78
  less_than_x_seconds:
79
- one: less than 1 second
79
+ one: less than %{count} second
80
80
  other: less than %{count} seconds
81
81
  less_than_x_minutes:
82
82
  one: less than a minute
83
83
  other: less than %{count} minutes
84
84
  over_x_years:
85
- one: over 1 year
85
+ one: over %{count} year
86
86
  other: over %{count} years
87
87
  x_seconds:
88
- one: 1 second
88
+ one: "%{count} second"
89
89
  other: "%{count} seconds"
90
90
  x_minutes:
91
- one: 1 minute
91
+ one: "%{count} minute"
92
92
  other: "%{count} minutes"
93
93
  x_days:
94
- one: 1 day
94
+ one: "%{count} day"
95
95
  other: "%{count} days"
96
96
  x_months:
97
- one: 1 month
97
+ one: "%{count} month"
98
98
  other: "%{count} months"
99
99
  x_years:
100
- one: 1 year
100
+ one: "%{count} year"
101
101
  other: "%{count} years"
102
102
  prompts:
103
103
  second: Second
@@ -118,6 +118,7 @@ en-US:
118
118
  exclusion: is reserved
119
119
  greater_than: must be greater than %{count}
120
120
  greater_than_or_equal_to: must be greater than or equal to %{count}
121
+ in: must be in %{count}
121
122
  inclusion: is not included in the list
122
123
  invalid: is invalid
123
124
  less_than: must be less than %{count}
@@ -131,18 +132,18 @@ en-US:
131
132
  required: must exist
132
133
  taken: has already been taken
133
134
  too_long:
134
- one: is too long (maximum is 1 character)
135
+ one: is too long (maximum is %{count} character)
135
136
  other: is too long (maximum is %{count} characters)
136
137
  too_short:
137
- one: is too short (minimum is 1 character)
138
+ one: is too short (minimum is %{count} character)
138
139
  other: is too short (minimum is %{count} characters)
139
140
  wrong_length:
140
- one: is the wrong length (should be 1 character)
141
+ one: is the wrong length (should be %{count} character)
141
142
  other: is the wrong length (should be %{count} characters)
142
143
  template:
143
144
  body: 'There were problems with the following fields:'
144
145
  header:
145
- one: 1 error prohibited this %{model} from being saved
146
+ one: "%{count} error prohibited this %{model} from being saved"
146
147
  other: "%{count} errors prohibited this %{model} from being saved"
147
148
  helpers:
148
149
  select:
@@ -164,6 +165,7 @@ en-US:
164
165
  format:
165
166
  delimiter: ","
166
167
  precision: 3
168
+ round_mode: default
167
169
  separator: "."
168
170
  significant: false
169
171
  strip_insignificant_zeros: false
@@ -63,41 +63,41 @@ en-ZA:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: about 1 hour
66
+ one: about %{count} hour
67
67
  other: about %{count} hours
68
68
  about_x_months:
69
- one: about 1 month
69
+ one: about %{count} month
70
70
  other: about %{count} months
71
71
  about_x_years:
72
- one: about 1 year
72
+ one: about %{count} year
73
73
  other: about %{count} years
74
74
  almost_x_years:
75
- one: almost 1 year
75
+ one: almost %{count} year
76
76
  other: almost %{count} years
77
77
  half_a_minute: half a minute
78
78
  less_than_x_seconds:
79
- one: less than 1 second
79
+ one: less than %{count} second
80
80
  other: less than %{count} seconds
81
81
  less_than_x_minutes:
82
82
  one: less than a minute
83
83
  other: less than %{count} minutes
84
84
  over_x_years:
85
- one: over 1 year
85
+ one: over %{count} year
86
86
  other: over %{count} years
87
87
  x_seconds:
88
- one: 1 second
88
+ one: "%{count} second"
89
89
  other: "%{count} seconds"
90
90
  x_minutes:
91
- one: 1 minute
91
+ one: "%{count} minute"
92
92
  other: "%{count} minutes"
93
93
  x_days:
94
- one: 1 day
94
+ one: "%{count} day"
95
95
  other: "%{count} days"
96
96
  x_months:
97
- one: 1 month
97
+ one: "%{count} month"
98
98
  other: "%{count} months"
99
99
  x_years:
100
- one: 1 year
100
+ one: "%{count} year"
101
101
  other: "%{count} years"
102
102
  prompts:
103
103
  second: Second
@@ -131,18 +131,18 @@ en-ZA:
131
131
  required: must exist
132
132
  taken: has already been taken
133
133
  too_long:
134
- one: is too long (maximum is 1 character)
134
+ one: is too long (maximum is %{count} character)
135
135
  other: is too long (maximum is %{count} characters)
136
136
  too_short:
137
- one: is too short (minimum is 1 character)
137
+ one: is too short (minimum is %{count} character)
138
138
  other: is too short (minimum is %{count} characters)
139
139
  wrong_length:
140
- one: is the wrong length (should be 1 character)
140
+ one: is the wrong length (should be %{count} character)
141
141
  other: is the wrong length (should be %{count} characters)
142
142
  template:
143
143
  body: 'There were problems with the following fields:'
144
144
  header:
145
- one: 1 error prohibited this %{model} from being saved
145
+ one: "%{count} error prohibited this %{model} from being saved"
146
146
  other: "%{count} errors prohibited this %{model} from being saved"
147
147
  helpers:
148
148
  select:
@@ -154,10 +154,10 @@ en-ZA:
154
154
  number:
155
155
  currency:
156
156
  format:
157
- delimiter: ","
158
- format: "%u%n"
157
+ delimiter: " "
158
+ format: "%u %n"
159
159
  precision: 2
160
- separator: "."
160
+ separator: ","
161
161
  significant: false
162
162
  strip_insignificant_zeros: false
163
163
  unit: R
data/rails/locale/en.yml CHANGED
@@ -63,41 +63,41 @@ en:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: about 1 hour
66
+ one: about %{count} hour
67
67
  other: about %{count} hours
68
68
  about_x_months:
69
- one: about 1 month
69
+ one: about %{count} month
70
70
  other: about %{count} months
71
71
  about_x_years:
72
- one: about 1 year
72
+ one: about %{count} year
73
73
  other: about %{count} years
74
74
  almost_x_years:
75
- one: almost 1 year
75
+ one: almost %{count} year
76
76
  other: almost %{count} years
77
77
  half_a_minute: half a minute
78
78
  less_than_x_seconds:
79
- one: less than 1 second
79
+ one: less than %{count} second
80
80
  other: less than %{count} seconds
81
81
  less_than_x_minutes:
82
82
  one: less than a minute
83
83
  other: less than %{count} minutes
84
84
  over_x_years:
85
- one: over 1 year
85
+ one: over %{count} year
86
86
  other: over %{count} years
87
87
  x_seconds:
88
- one: 1 second
88
+ one: "%{count} second"
89
89
  other: "%{count} seconds"
90
90
  x_minutes:
91
- one: 1 minute
91
+ one: "%{count} minute"
92
92
  other: "%{count} minutes"
93
93
  x_days:
94
- one: 1 day
94
+ one: "%{count} day"
95
95
  other: "%{count} days"
96
96
  x_months:
97
- one: 1 month
97
+ one: "%{count} month"
98
98
  other: "%{count} months"
99
99
  x_years:
100
- one: 1 year
100
+ one: "%{count} year"
101
101
  other: "%{count} years"
102
102
  prompts:
103
103
  second: Second
@@ -118,6 +118,7 @@ en:
118
118
  exclusion: is reserved
119
119
  greater_than: must be greater than %{count}
120
120
  greater_than_or_equal_to: must be greater than or equal to %{count}
121
+ in: must be in %{count}
121
122
  inclusion: is not included in the list
122
123
  invalid: is invalid
123
124
  less_than: must be less than %{count}
@@ -131,18 +132,18 @@ en:
131
132
  required: must exist
132
133
  taken: has already been taken
133
134
  too_long:
134
- one: is too long (maximum is 1 character)
135
+ one: is too long (maximum is %{count} character)
135
136
  other: is too long (maximum is %{count} characters)
136
137
  too_short:
137
- one: is too short (minimum is 1 character)
138
+ one: is too short (minimum is %{count} character)
138
139
  other: is too short (minimum is %{count} characters)
139
140
  wrong_length:
140
- one: is the wrong length (should be 1 character)
141
+ one: is the wrong length (should be %{count} character)
141
142
  other: is the wrong length (should be %{count} characters)
142
143
  template:
143
144
  body: 'There were problems with the following fields:'
144
145
  header:
145
- one: 1 error prohibited this %{model} from being saved
146
+ one: "%{count} error prohibited this %{model} from being saved"
146
147
  other: "%{count} errors prohibited this %{model} from being saved"
147
148
  helpers:
148
149
  select:
@@ -164,6 +165,7 @@ en:
164
165
  format:
165
166
  delimiter: ","
166
167
  precision: 3
168
+ round_mode: default
167
169
  separator: "."
168
170
  significant: false
169
171
  strip_insignificant_zeros: false
data/rails/locale/eo.yml CHANGED
@@ -84,16 +84,16 @@ eo:
84
84
  one: pli ol unu jaro
85
85
  other: pli ol %{count} jaroj
86
86
  x_seconds:
87
- one: 1 sekundo
87
+ one: "%{count} sekundo"
88
88
  other: "%{count} sekundoj"
89
89
  x_minutes:
90
- one: 1 minuto
90
+ one: "%{count} minuto"
91
91
  other: "%{count} minutoj"
92
92
  x_days:
93
- one: 1 tago
93
+ one: "%{count} tago"
94
94
  other: "%{count} tagoj"
95
95
  x_months:
96
- one: 1 monato
96
+ one: "%{count} monato"
97
97
  other: "%{count} monatoj"
98
98
  prompts:
99
99
  second: Sekundo
@@ -128,7 +128,7 @@ eo:
128
128
  template:
129
129
  body: 'Kontrolu la jenajn kampojn: '
130
130
  header:
131
- one: 'Ne eblas registri tiun %{model}: 1 eraro'
131
+ one: 'Ne eblas registri tiun %{model}: %{count} eraro'
132
132
  other: 'Ne eblas registri tiun %{model}: %{count} eraroj'
133
133
  helpers:
134
134
  select: