rails-i18n 7.0.5 → 7.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +78 -2
  3. data/README.md +48 -12
  4. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +2 -2
  5. data/lib/rails_i18n/common_pluralizations/one_few_other.rb +2 -1
  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 -4
  13. data/lib/rails_i18n.rb +10 -0
  14. data/rails/locale/af.yml +19 -19
  15. data/rails/locale/az.yml +12 -12
  16. data/rails/locale/bg.yml +12 -12
  17. data/rails/locale/bn.yml +19 -19
  18. data/rails/locale/bs.yml +6 -6
  19. data/rails/locale/ca.yml +17 -17
  20. data/rails/locale/cy.yml +80 -75
  21. data/rails/locale/da.yml +3 -3
  22. data/rails/locale/de-AT.yml +7 -4
  23. data/rails/locale/de-CH.yml +7 -4
  24. data/rails/locale/de-DE.yml +7 -4
  25. data/rails/locale/de.yml +7 -4
  26. data/rails/locale/dz.yml +213 -0
  27. data/rails/locale/el-CY.yml +9 -9
  28. data/rails/locale/el.yml +9 -9
  29. data/rails/locale/en-AU.yml +15 -15
  30. data/rails/locale/en-CA.yml +15 -15
  31. data/rails/locale/en-CY.yml +15 -15
  32. data/rails/locale/en-GB.yml +15 -15
  33. data/rails/locale/en-IE.yml +15 -15
  34. data/rails/locale/en-IN.yml +15 -15
  35. data/rails/locale/en-NZ.yml +15 -15
  36. data/rails/locale/en-TT.yml +15 -15
  37. data/rails/locale/en-US.yml +15 -15
  38. data/rails/locale/en-ZA.yml +18 -18
  39. data/rails/locale/en.yml +17 -15
  40. data/rails/locale/eo.yml +5 -5
  41. data/rails/locale/es-419.yml +17 -16
  42. data/rails/locale/es-AR.yml +17 -16
  43. data/rails/locale/es-CL.yml +17 -16
  44. data/rails/locale/es-CO.yml +17 -16
  45. data/rails/locale/es-CR.yml +17 -16
  46. data/rails/locale/es-EC.yml +17 -16
  47. data/rails/locale/es-ES.yml +17 -16
  48. data/rails/locale/es-MX.yml +17 -16
  49. data/rails/locale/es-NI.yml +17 -16
  50. data/rails/locale/es-PA.yml +17 -16
  51. data/rails/locale/es-PE.yml +17 -16
  52. data/rails/locale/es-US.yml +17 -16
  53. data/rails/locale/es-VE.yml +17 -16
  54. data/rails/locale/es.yml +20 -18
  55. data/rails/locale/eu.yml +4 -4
  56. data/rails/locale/fa.yml +2 -2
  57. data/rails/locale/fi.yml +3 -3
  58. data/rails/locale/fr-CA.yml +10 -8
  59. data/rails/locale/fr-CH.yml +10 -8
  60. data/rails/locale/fr-FR.yml +10 -8
  61. data/rails/locale/fr.yml +12 -10
  62. data/rails/locale/gd.yml +252 -0
  63. data/rails/locale/gl.yml +10 -10
  64. data/rails/locale/hi-IN.yml +2 -2
  65. data/rails/locale/hi.yml +2 -2
  66. data/rails/locale/hr.yml +46 -46
  67. data/rails/locale/hu.yml +12 -12
  68. data/rails/locale/id.yml +7 -7
  69. data/rails/locale/is.yml +14 -14
  70. data/rails/locale/it-CH.yml +10 -10
  71. data/rails/locale/it.yml +9 -9
  72. data/rails/locale/ja.yml +15 -39
  73. data/rails/locale/ka.yml +16 -16
  74. data/rails/locale/kn.yml +5 -5
  75. data/rails/locale/ko.yml +30 -56
  76. data/rails/locale/lb.yml +7 -7
  77. data/rails/locale/lo.yml +13 -85
  78. data/rails/locale/lv.yml +11 -1
  79. data/rails/locale/mg.yml +6 -6
  80. data/rails/locale/ml.yml +11 -11
  81. data/rails/locale/mn.yml +15 -15
  82. data/rails/locale/mr-IN.yml +2 -2
  83. data/rails/locale/ms.yml +13 -13
  84. data/rails/locale/nb.yml +16 -16
  85. data/rails/locale/ne.yml +15 -15
  86. data/rails/locale/nl.yml +7 -7
  87. data/rails/locale/nn.yml +10 -10
  88. data/rails/locale/oc.yml +1 -1
  89. data/rails/locale/or.yml +12 -12
  90. data/rails/locale/pa.yml +15 -15
  91. data/rails/locale/pap-AW.yml +16 -16
  92. data/rails/locale/pap-CW.yml +16 -16
  93. data/rails/locale/pl.yml +4 -4
  94. data/rails/locale/pt-BR.yml +18 -17
  95. data/rails/locale/pt.yml +15 -14
  96. data/rails/locale/rm.yml +2 -2
  97. data/rails/locale/ro.yml +6 -6
  98. data/rails/locale/ru.yml +17 -15
  99. data/rails/locale/sc.yml +223 -0
  100. data/rails/locale/sl.yml +10 -10
  101. data/rails/locale/sq.yml +15 -19
  102. data/rails/locale/sv-FI.yml +207 -0
  103. data/rails/locale/sv-SE.yml +4 -1
  104. data/rails/locale/sv.yml +4 -1
  105. data/rails/locale/sw.yml +9 -9
  106. data/rails/locale/ta.yml +10 -10
  107. data/rails/locale/tr.yml +16 -16
  108. data/rails/locale/uz.yml +1 -1
  109. data/rails/locale/vi.yml +13 -37
  110. data/rails/locale/wo.yml +15 -15
  111. data/rails/locale/zh-CN.yml +30 -30
  112. data/rails/locale/zh-HK.yml +28 -60
  113. data/rails/locale/zh-TW.yml +30 -62
  114. data/rails/locale/zh-YUE.yml +23 -55
  115. data/rails/ordinals/de-AT.rb +15 -0
  116. data/rails/ordinals/de-CH.rb +15 -0
  117. data/rails/ordinals/de-DE.rb +15 -0
  118. data/rails/ordinals/de.rb +15 -0
  119. data/rails/ordinals/gd.rb +24 -0
  120. data/rails/pluralization/ar.rb +3 -2
  121. data/rails/pluralization/el-CY.rb +3 -0
  122. data/rails/pluralization/en-CY.rb +3 -0
  123. data/rails/pluralization/en-IE.rb +3 -0
  124. data/rails/pluralization/en-TT.rb +3 -0
  125. data/rails/pluralization/en-US.rb +3 -0
  126. data/rails/pluralization/en-ZA.rb +3 -0
  127. data/rails/pluralization/gd.rb +8 -4
  128. data/rails/pluralization/hsb.rb +7 -9
  129. data/rails/pluralization/lt.rb +3 -2
  130. data/rails/pluralization/lv.rb +1 -2
  131. data/rails/pluralization/mk.rb +2 -3
  132. data/rails/pluralization/pl.rb +4 -3
  133. data/rails/pluralization/sc.rb +3 -0
  134. data/rails/pluralization/sl.rb +7 -11
  135. data/rails/transliteration/de.yml +1 -0
  136. metadata +18 -49
  137. data/rails/pluralization/ak.rb +0 -3
  138. data/rails/pluralization/am.rb +0 -3
  139. data/rails/pluralization/bh.rb +0 -3
  140. data/rails/pluralization/bm.rb +0 -3
  141. data/rails/pluralization/bo.rb +0 -3
  142. data/rails/pluralization/br.rb +0 -31
  143. data/rails/pluralization/by.rb +0 -3
  144. data/rails/pluralization/cy.rb +0 -24
  145. data/rails/pluralization/dz.rb +0 -3
  146. data/rails/pluralization/ff.rb +0 -3
  147. data/rails/pluralization/ga.rb +0 -27
  148. data/rails/pluralization/guw.rb +0 -3
  149. data/rails/pluralization/gv.rb +0 -22
  150. data/rails/pluralization/ig.rb +0 -3
  151. data/rails/pluralization/ii.rb +0 -3
  152. data/rails/pluralization/iu.rb +0 -3
  153. data/rails/pluralization/jv.rb +0 -3
  154. data/rails/pluralization/kab.rb +0 -3
  155. data/rails/pluralization/kde.rb +0 -3
  156. data/rails/pluralization/kea.rb +0 -3
  157. data/rails/pluralization/ksh.rb +0 -23
  158. data/rails/pluralization/kw.rb +0 -3
  159. data/rails/pluralization/lag.rb +0 -24
  160. data/rails/pluralization/ln.rb +0 -3
  161. data/rails/pluralization/mo.rb +0 -3
  162. data/rails/pluralization/mt.rb +0 -28
  163. data/rails/pluralization/my.rb +0 -3
  164. data/rails/pluralization/naq.rb +0 -3
  165. data/rails/pluralization/nso.rb +0 -3
  166. data/rails/pluralization/root.rb +0 -3
  167. data/rails/pluralization/sah.rb +0 -3
  168. data/rails/pluralization/se.rb +0 -3
  169. data/rails/pluralization/ses.rb +0 -3
  170. data/rails/pluralization/sg.rb +0 -3
  171. data/rails/pluralization/sh.rb +0 -3
  172. data/rails/pluralization/shi.rb +0 -3
  173. data/rails/pluralization/sma.rb +0 -3
  174. data/rails/pluralization/smi.rb +0 -3
  175. data/rails/pluralization/smj.rb +0 -3
  176. data/rails/pluralization/smn.rb +0 -3
  177. data/rails/pluralization/sms.rb +0 -3
  178. data/rails/pluralization/ti.rb +0 -3
  179. data/rails/pluralization/to.rb +0 -3
  180. data/rails/pluralization/tzm.rb +0 -21
  181. data/rails/pluralization/wa.rb +0 -3
  182. data/rails/pluralization/yo.rb +0 -3
  183. 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:
@@ -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
@@ -131,18 +131,18 @@ en-US:
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-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:
@@ -64,41 +64,41 @@ es-419:
64
64
  datetime:
65
65
  distance_in_words:
66
66
  about_x_hours:
67
- one: cerca de 1 hora
67
+ one: cerca de %{count} hora
68
68
  other: cerca de %{count} horas
69
69
  about_x_months:
70
- one: cerca de 1 mes
70
+ one: cerca de %{count} mes
71
71
  other: cerca de %{count} meses
72
72
  about_x_years:
73
- one: cerca de 1 año
73
+ one: cerca de %{count} año
74
74
  other: cerca de %{count} años
75
75
  almost_x_years:
76
- one: casi 1 año
76
+ one: casi %{count} año
77
77
  other: casi %{count} años
78
78
  half_a_minute: medio minuto
79
79
  less_than_x_seconds:
80
- one: menos de 1 segundo
80
+ one: menos de %{count} segundo
81
81
  other: menos de %{count} segundos
82
82
  less_than_x_minutes:
83
- one: menos de 1 minuto
83
+ one: menos de %{count} minuto
84
84
  other: menos de %{count} minutos
85
85
  over_x_years:
86
- one: más de 1 año
86
+ one: más de %{count} año
87
87
  other: más de %{count} años
88
88
  x_seconds:
89
- one: 1 segundo
89
+ one: "%{count} segundo"
90
90
  other: "%{count} segundos"
91
91
  x_minutes:
92
- one: 1 minuto
92
+ one: "%{count} minuto"
93
93
  other: "%{count} minutos"
94
94
  x_days:
95
- one: 1 día
95
+ one: "%{count} día"
96
96
  other: "%{count} días"
97
97
  x_months:
98
- one: 1 mes
98
+ one: "%{count} mes"
99
99
  other: "%{count} meses"
100
100
  x_years:
101
- one: 1 año
101
+ one: "%{count} año"
102
102
  other: "%{count} años"
103
103
  prompts:
104
104
  second: Segundo
@@ -132,18 +132,18 @@ es-419:
132
132
  required: debe existir
133
133
  taken: ya ha sido tomado
134
134
  too_long:
135
- one: es demasiado largo (máximo 1 caracter)
135
+ one: es demasiado largo (máximo %{count} caracter)
136
136
  other: es demasiado largo (máximo %{count} caracteres)
137
137
  too_short:
138
- one: es demasiado corto (mínimo 1 caracter)
138
+ one: es demasiado corto (mínimo %{count} caracter)
139
139
  other: es demasiado corto (mínimo %{count} caracteres)
140
140
  wrong_length:
141
- one: longitud errónea (debe ser de 1 caracter)
141
+ one: longitud errónea (debe ser de %{count} caracter)
142
142
  other: longitud errónea (debe ser de %{count} caracteres)
143
143
  template:
144
144
  body: 'Revise que los siguientes campos sean válidos:'
145
145
  header:
146
- one: "%{model} no pudo guardarse debido a 1 error"
146
+ one: "%{model} no pudo guardarse debido a %{count} error"
147
147
  other: "%{model} no pudo guardarse debido a %{count} errores"
148
148
  helpers:
149
149
  select:
@@ -165,6 +165,7 @@ es-419:
165
165
  format:
166
166
  delimiter: ","
167
167
  precision: 2
168
+ round_mode: default
168
169
  separator: "."
169
170
  significant: false
170
171
  strip_insignificant_zeros: false