rails-i18n 7.0.6 → 7.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +2 -2
  4. data/lib/rails_i18n/common_pluralizations/one_few_other.rb +2 -1
  5. data/lib/rails_i18n/common_pluralizations/one_other.rb +1 -1
  6. data/lib/rails_i18n/common_pluralizations/one_two_other.rb +5 -7
  7. data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +4 -2
  8. data/lib/rails_i18n/common_pluralizations/one_with_zero_other.rb +6 -1
  9. data/lib/rails_i18n/common_pluralizations/romanian.rb +5 -2
  10. data/lib/rails_i18n/common_pluralizations/west_slavic.rb +4 -6
  11. data/rails/locale/af.yml +19 -19
  12. data/rails/locale/az.yml +12 -12
  13. data/rails/locale/bg.yml +12 -12
  14. data/rails/locale/bs.yml +6 -6
  15. data/rails/locale/ca.yml +17 -17
  16. data/rails/locale/cy.yml +251 -0
  17. data/rails/locale/da.yml +3 -3
  18. data/rails/locale/de-AT.yml +4 -4
  19. data/rails/locale/de-CH.yml +4 -4
  20. data/rails/locale/de-DE.yml +4 -4
  21. data/rails/locale/de.yml +4 -4
  22. data/rails/locale/el-CY.yml +9 -9
  23. data/rails/locale/el.yml +9 -9
  24. data/rails/locale/en-AU.yml +15 -15
  25. data/rails/locale/en-CA.yml +15 -15
  26. data/rails/locale/en-CY.yml +15 -15
  27. data/rails/locale/en-GB.yml +15 -15
  28. data/rails/locale/en-IE.yml +15 -15
  29. data/rails/locale/en-IN.yml +15 -15
  30. data/rails/locale/en-NZ.yml +15 -15
  31. data/rails/locale/en-TT.yml +15 -15
  32. data/rails/locale/en-US.yml +15 -15
  33. data/rails/locale/en-ZA.yml +18 -18
  34. data/rails/locale/en.yml +15 -15
  35. data/rails/locale/eo.yml +5 -5
  36. data/rails/locale/es-419.yml +16 -16
  37. data/rails/locale/es-AR.yml +16 -16
  38. data/rails/locale/es-CL.yml +16 -16
  39. data/rails/locale/es-CO.yml +16 -16
  40. data/rails/locale/es-CR.yml +16 -16
  41. data/rails/locale/es-EC.yml +16 -16
  42. data/rails/locale/es-ES.yml +16 -16
  43. data/rails/locale/es-MX.yml +16 -16
  44. data/rails/locale/es-NI.yml +16 -16
  45. data/rails/locale/es-PA.yml +16 -16
  46. data/rails/locale/es-PE.yml +16 -16
  47. data/rails/locale/es-US.yml +16 -16
  48. data/rails/locale/es-VE.yml +16 -16
  49. data/rails/locale/es.yml +19 -18
  50. data/rails/locale/eu.yml +4 -4
  51. data/rails/locale/fa.yml +2 -2
  52. data/rails/locale/fi.yml +3 -3
  53. data/rails/locale/fr-CA.yml +7 -7
  54. data/rails/locale/fr-CH.yml +7 -7
  55. data/rails/locale/fr-FR.yml +7 -7
  56. data/rails/locale/fr.yml +9 -9
  57. data/rails/locale/gd.yml +252 -0
  58. data/rails/locale/gl.yml +9 -9
  59. data/rails/locale/hi-IN.yml +2 -2
  60. data/rails/locale/hi.yml +2 -2
  61. data/rails/locale/hr.yml +46 -46
  62. data/rails/locale/hu.yml +12 -12
  63. data/rails/locale/id.yml +7 -7
  64. data/rails/locale/is.yml +14 -14
  65. data/rails/locale/it-CH.yml +10 -10
  66. data/rails/locale/it.yml +9 -9
  67. data/rails/locale/ja.yml +2 -0
  68. data/rails/locale/ka.yml +16 -16
  69. data/rails/locale/kn.yml +5 -5
  70. data/rails/locale/ko.yml +3 -3
  71. data/rails/locale/lb.yml +7 -7
  72. data/rails/locale/lv.yml +1 -2
  73. data/rails/locale/mg.yml +6 -6
  74. data/rails/locale/ml.yml +11 -11
  75. data/rails/locale/mn.yml +15 -15
  76. data/rails/locale/mr-IN.yml +2 -2
  77. data/rails/locale/ms.yml +13 -13
  78. data/rails/locale/nb.yml +16 -16
  79. data/rails/locale/ne.yml +15 -15
  80. data/rails/locale/nl.yml +7 -7
  81. data/rails/locale/nn.yml +10 -10
  82. data/rails/locale/oc.yml +1 -1
  83. data/rails/locale/or.yml +12 -12
  84. data/rails/locale/pa.yml +15 -15
  85. data/rails/locale/pap-AW.yml +16 -16
  86. data/rails/locale/pap-CW.yml +16 -16
  87. data/rails/locale/pl.yml +4 -4
  88. data/rails/locale/pt-BR.yml +18 -17
  89. data/rails/locale/pt.yml +15 -14
  90. data/rails/locale/rm.yml +2 -2
  91. data/rails/locale/ro.yml +6 -6
  92. data/rails/locale/ru.yml +17 -15
  93. data/rails/locale/sl.yml +10 -10
  94. data/rails/locale/sq.yml +15 -19
  95. data/rails/locale/sw.yml +9 -9
  96. data/rails/locale/ta.yml +10 -10
  97. data/rails/locale/tr.yml +16 -16
  98. data/rails/locale/uz.yml +1 -1
  99. data/rails/locale/wo.yml +15 -15
  100. data/rails/ordinals/de-AT.rb +15 -0
  101. data/rails/ordinals/de-CH.rb +15 -0
  102. data/rails/ordinals/de-DE.rb +15 -0
  103. data/rails/ordinals/de.rb +15 -0
  104. data/rails/ordinals/gd.rb +24 -0
  105. data/rails/pluralization/ar.rb +3 -2
  106. data/rails/pluralization/gd.rb +29 -0
  107. data/rails/pluralization/hsb.rb +7 -9
  108. data/rails/pluralization/lt.rb +3 -2
  109. data/rails/pluralization/lv.rb +1 -2
  110. data/rails/pluralization/mk.rb +2 -3
  111. data/rails/pluralization/pl.rb +4 -3
  112. data/rails/pluralization/sl.rb +7 -11
  113. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 475615df0336d9f48d08c06d2037b0661d80f74c4330d0a55bf67271a4658550
4
- data.tar.gz: c46313e99ee432b4f5873a9464af037a23e3b8009f09e7c60e57b9fb7033590f
3
+ metadata.gz: 4b6b63235eb4a6a2008be34a7fc2f9d68c982bdc149cc1584b07be4a47df32e3
4
+ data.tar.gz: 3233aea32115ecdd2a32b70d869a156f07623d4c1bb754ea05de0f8ea44d7ccb
5
5
  SHA512:
6
- metadata.gz: 7fd3393b9d32f9b2986a02350d4b42a374a927fe1e173bb1c3cf821175ca1ff091298a4406105111624336942f769102e95561ad9b635fd460f05260c9283951
7
- data.tar.gz: 14d018acae0d21299050e7f06e39a9c10173682062d268e1a90e8726cf7478e336ae28dcbbde09e12753f7f8b76398e13cdbe589312e072468dfe8c159579926
6
+ metadata.gz: e28e003e6f7c797f8d4885ea8aa6edf15ff6c7b0be06ff7f18ed351dae7ccc54782bf4f6cc7879e9b8c8dbeac6db21c61523d88c8ec1dd4c9e927d2cb3e7ab00
7
+ data.tar.gz: ef5f52b3d499b64449e099ed65d97b9638dc31f3027dc461234252485695728a9d1d0766624db2104b5a84007d95d8e21b4e9d3b9b285f4cf7fbf3f27a5859a8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## 7.0.7 (2022-05-12)
2
+
3
+ - Non-numerics counts are considered as `other` in all pluralizations #1067
4
+ - Update following locales:
5
+ - Afrikaan (af): ZAR currency format #1066
6
+ - English (en-ZA): ZAR currency format #1066
7
+ - German (de, de-DE, de-AT, de-CH): Use abbreviated months in the short time format #1062
8
+ - Japanese (ja): Add `in` and `round_mode` keys #1059
9
+ - Korean (ko): Fix typo in `equal_to` keys #1061
10
+ - Portuguese (pt, pt-BR): add translation for `errors.messages.in` #1071
11
+ - Scottish Gaelic (gd): Add locale
12
+ - Russian (ru): fix some errors in 'datetime' section, add `errors.messages.in` and `number.format.round_mode` keys #1077
13
+ - Spanish (es): add translation for `errors.messages.in` #1071
14
+ - French (fr, fr-CA, fr-CH, fr-FR): fix typo on 'almost_x_years: one' #1074
15
+ - Indonesian (id): Remove duplicate spaces in `id.datetime.distance_in_words.less_than_x_minutes.other` #1079
16
+ - Romanian (ro): Correction of Saturday in Romanian #1078
17
+ - Croatian (hr): use lowercase for month and weekday names #1081
18
+ - Add ordinalization for German (de, de-AT, de-CH, de-DE)
19
+ - Remove keys that are present twice from Latvian (lv), Albanian (sq) #1080
20
+
1
21
  ## 7.0.6 (2022-11-08)
2
22
 
3
23
  - Add option to choose which modules (locales, pluralization, transliteration,
@@ -38,6 +58,7 @@
38
58
  bo, br, by, cy, dz, ff, ga, gd, guw, gv, ig, ii, iu, jv, kab, kde, kea, ksh,
39
59
  kw, lag, ln, mo, mt, my, naq, nso, root, sah, se, ses, sg, sh, shi, sma, smi,
40
60
  smj, smn, sms, ti, to, tzm, wa, yo, zh #1017
61
+ - Change instances of the `one` pluralization key to use `%{count}` interpolation #993
41
62
 
42
63
  ## 7.0.5 (2022-07-03)
43
64
 
@@ -6,7 +6,6 @@
6
6
  module RailsI18n
7
7
  module Pluralization
8
8
  module EastSlavic
9
-
10
9
  FROM_2_TO_4 = (2..4).to_a.freeze
11
10
  FROM_5_TO_9 = (5..9).to_a.freeze
12
11
  FROM_11_TO_14 = (11..14).to_a.freeze
@@ -14,7 +13,8 @@ module RailsI18n
14
13
 
15
14
  def self.rule
16
15
  lambda do |n|
17
- n ||= 0
16
+ return :other unless n.is_a?(Numeric)
17
+
18
18
  mod10 = n % 10
19
19
  mod100 = n % 100
20
20
 
@@ -6,7 +6,8 @@ module RailsI18n
6
6
 
7
7
  def self.rule
8
8
  lambda do |n|
9
- n ||= 0
9
+ return :other unless n.is_a?(Numeric)
10
+
10
11
  frac = (n.to_d % 1)
11
12
 
12
13
  if frac.nonzero?
@@ -16,4 +16,4 @@ module RailsI18n
16
16
  end
17
17
  end
18
18
  end
19
- end
19
+ end
@@ -6,12 +6,10 @@ module RailsI18n
6
6
  module OneTwoOther
7
7
  def self.rule
8
8
  lambda do |n|
9
- if n == 1
10
- :one
11
- elsif n == 2
12
- :two
13
- else
14
- :other
9
+ case n
10
+ when 1 then :one
11
+ when 2 then :two
12
+ else :other
15
13
  end
16
14
  end
17
15
  end
@@ -25,4 +23,4 @@ module RailsI18n
25
23
  end
26
24
  end
27
25
  end
28
- end
26
+ end
@@ -4,7 +4,9 @@ module RailsI18n
4
4
  module Pluralization
5
5
  module OneUptoTwoOther
6
6
  def self.rule
7
- lambda { |n| n && n >= 0 && n < 2 ? :one : :other }
7
+ lambda do |n|
8
+ n.is_a?(Numeric) && n >= 0 && n < 2 ? :one : :other
9
+ end
8
10
  end
9
11
 
10
12
  def self.with_locale(locale)
@@ -16,4 +18,4 @@ module RailsI18n
16
18
  end
17
19
  end
18
20
  end
19
- end
21
+ end
@@ -5,7 +5,12 @@ module RailsI18n
5
5
  module Pluralization
6
6
  module OneWithZeroOther
7
7
  def self.rule
8
- lambda { |n| n == 0 || n == 1 ? :one : :other }
8
+ lambda do |n|
9
+ case n
10
+ when 0, 1 then :one
11
+ else :other
12
+ end
13
+ end
9
14
  end
10
15
 
11
16
  def self.with_locale(locale)
@@ -3,12 +3,15 @@
3
3
  module RailsI18n
4
4
  module Pluralization
5
5
  module Romanian
6
+ FROM_1_TO_19 = (1..19).to_a.freeze
7
+
6
8
  def self.rule
7
9
  lambda do |n|
8
- n ||= 0
10
+ return :other unless n.is_a?(Numeric)
11
+
9
12
  if n == 1
10
13
  :one
11
- elsif n == 0 || (1..19).to_a.include?(n % 100)
14
+ elsif n == 0 || FROM_1_TO_19.include?(n % 100)
12
15
  :few
13
16
  else
14
17
  :other
@@ -5,12 +5,10 @@ module RailsI18n
5
5
  module WestSlavic
6
6
  def self.rule
7
7
  lambda do |n|
8
- if n == 1
9
- :one
10
- elsif [2, 3, 4].include?(n)
11
- :few
12
- else
13
- :other
8
+ case n
9
+ when 1 then :one
10
+ when 2, 3, 4 then :few
11
+ else :other
14
12
  end
15
13
  end
16
14
  end
data/rails/locale/af.yml CHANGED
@@ -63,41 +63,41 @@ af:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: ongeveer 1 uur
66
+ one: ongeveer %{count} uur
67
67
  other: ongeveer %{count} ure
68
68
  about_x_months:
69
- one: ongeveer 1 maand
69
+ one: ongeveer %{count} maand
70
70
  other: ongeveer %{count} maande
71
71
  about_x_years:
72
- one: ongeveer 1 jaar
72
+ one: ongeveer %{count} jaar
73
73
  other: ongeveer %{count} jaar
74
74
  almost_x_years:
75
- one: sowat 1 jaar
75
+ one: sowat %{count} jaar
76
76
  other: sowat %{count} jaar
77
77
  half_a_minute: halfminuut
78
78
  less_than_x_seconds:
79
- one: minder as 1 sekonde
79
+ one: minder as %{count} sekonde
80
80
  other: minder as %{count} sekondes
81
81
  less_than_x_minutes:
82
- one: minder as 1 minuut
82
+ one: minder as %{count} minuut
83
83
  other: minder as %{count} minute
84
84
  over_x_years:
85
- one: meer as 1 jaar
85
+ one: meer as %{count} jaar
86
86
  other: meer as %{count} jaar
87
87
  x_seconds:
88
- one: 1 sekonde
88
+ one: "%{count} sekonde"
89
89
  other: "%{count} sekondes"
90
90
  x_minutes:
91
- one: 1 minuut
91
+ one: "%{count} minuut"
92
92
  other: "%{count} minute"
93
93
  x_days:
94
- one: 1 dag
94
+ one: "%{count} dag"
95
95
  other: "%{count} days"
96
96
  x_months:
97
- one: 1 maand
97
+ one: "%{count} maand"
98
98
  other: "%{count} maande"
99
99
  x_years:
100
- one: 1 jaar
100
+ one: "%{count} jaar"
101
101
  other: "%{count} jare"
102
102
  prompts:
103
103
  second: Sekondes
@@ -131,18 +131,18 @@ af:
131
131
  required: moet bestaan
132
132
  taken: is reeds geneem
133
133
  too_long:
134
- one: is te lank (maksimum is 1 karakter)
134
+ one: is te lank (maksimum is %{count} karakter)
135
135
  other: is te lank (maksimum is %{count} karakters)
136
136
  too_short:
137
- one: is te kort (minimum is 1 karakter)
137
+ one: is te kort (minimum is %{count} karakter)
138
138
  other: is te kort (minimum is %{count} karakters)
139
139
  wrong_length:
140
- one: is die verkeerde lengte (moet 1 karakter wees)
140
+ one: is die verkeerde lengte (moet %{count} karakter wees)
141
141
  other: is die verkeerde lengte (moet %{count} karakters wees)
142
142
  template:
143
143
  body: 'There were problems with the following fields:'
144
144
  header:
145
- one: 1 fout het verhoed dat hierdie %{model} gestoor kon word
145
+ one: "%{count} fout het verhoed dat hierdie %{model} gestoor kon word"
146
146
  other: "%{count} foute het verhoed dat hierdie %{model} gestoor kon word"
147
147
  helpers:
148
148
  select:
@@ -154,10 +154,10 @@ af:
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/az.yml CHANGED
@@ -63,38 +63,38 @@ az:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: təxminən 1 saat
66
+ one: təxminən %{count} saat
67
67
  other: təxminən %{count} saat
68
68
  about_x_months:
69
- one: təxminən 1 ay
69
+ one: təxminən %{count} ay
70
70
  other: təxminən %{count} ay
71
71
  about_x_years:
72
- one: təxminən 1 il
72
+ one: təxminən %{count} il
73
73
  other: təxminən %{count} il
74
74
  almost_x_years:
75
- one: təqribən 1 il
75
+ one: təqribən %{count} il
76
76
  other: təqribən %{count} il
77
77
  half_a_minute: yarım dəqiqə
78
78
  less_than_x_seconds:
79
- one: 1 saniyədən az
79
+ one: "%{count} saniyədən az"
80
80
  other: "%{count} saniyədən az"
81
81
  less_than_x_minutes:
82
- one: 1 dəqiqədən az
82
+ one: "%{count} dəqiqədən az"
83
83
  other: "%{count} dəqiqədən az"
84
84
  over_x_years:
85
- one: 1 ildən çox
85
+ one: "%{count} ildən çox"
86
86
  other: "%{count} ildən çox"
87
87
  x_seconds:
88
- one: 1 saniyə
88
+ one: "%{count} saniyə"
89
89
  other: "%{count} saniyə"
90
90
  x_minutes:
91
- one: 1 dəqiqə
91
+ one: "%{count} dəqiqə"
92
92
  other: "%{count} dəqiqə"
93
93
  x_days:
94
- one: 1 gün
94
+ one: "%{count} gün"
95
95
  other: "%{count} gün"
96
96
  x_months:
97
- one: 1 ay
97
+ one: "%{count} ay"
98
98
  other: "%{count} ay"
99
99
  prompts:
100
100
  second: Saniyə
@@ -133,7 +133,7 @@ az:
133
133
  template:
134
134
  body: 'Aşağıdaki səhvlər üzə çıxdı:'
135
135
  header:
136
- one: "%{model} saxlanmadı: 1 səhv"
136
+ one: "%{model} saxlanmadı: %{count} səhv"
137
137
  other: "%{model} saxlanmadı: %{count} səhv"
138
138
  helpers:
139
139
  select:
data/rails/locale/bg.yml CHANGED
@@ -60,38 +60,38 @@ bg:
60
60
  datetime:
61
61
  distance_in_words:
62
62
  about_x_hours:
63
- one: около 1 час
63
+ one: около %{count} час
64
64
  other: около %{count} часа
65
65
  about_x_months:
66
- one: около 1 месец
66
+ one: около %{count} месец
67
67
  other: около %{count} месеца
68
68
  about_x_years:
69
- one: около 1 година
69
+ one: около %{count} година
70
70
  other: около %{count} години
71
71
  almost_x_years:
72
- one: почти 1 година
72
+ one: почти %{count} година
73
73
  other: почти %{count} години
74
74
  half_a_minute: половин минута
75
75
  less_than_x_seconds:
76
- one: по-малко от 1 секунда
76
+ one: по-малко от %{count} секунда
77
77
  other: по-малко от %{count} секунди
78
78
  less_than_x_minutes:
79
- one: по-малко от 1 минута
79
+ one: по-малко от %{count} минута
80
80
  other: по-малко от %{count} минути
81
81
  over_x_years:
82
- one: над 1 година
82
+ one: над %{count} година
83
83
  other: над %{count} години
84
84
  x_seconds:
85
- one: 1 секунда
85
+ one: "%{count} секунда"
86
86
  other: "%{count} секунди"
87
87
  x_minutes:
88
- one: 1 минута
88
+ one: "%{count} минута"
89
89
  other: "%{count} минути"
90
90
  x_days:
91
- one: 1 ден
91
+ one: "%{count} ден"
92
92
  other: "%{count} дни"
93
93
  x_months:
94
- one: 1 месец
94
+ one: "%{count} месец"
95
95
  other: "%{count} месеца"
96
96
  prompts:
97
97
  second: Секунда
@@ -126,7 +126,7 @@ bg:
126
126
  template:
127
127
  body: 'Възникнаха проблеми със следните полета:'
128
128
  header:
129
- one: "%{model}: записът е неуспешен заради 1 грешка"
129
+ one: "%{model}: записът е неуспешен заради %{count} грешка"
130
130
  other: "%{model}: записът е неуспешен заради %{count} грешки"
131
131
  helpers:
132
132
  select:
data/rails/locale/bs.yml CHANGED
@@ -78,7 +78,7 @@ bs:
78
78
  many: oko %{count} godina
79
79
  other: oko %{count} godina
80
80
  almost_x_years:
81
- one: skoro 1 godina
81
+ one: skoro %{count} godina
82
82
  few: skoro %{count} godine
83
83
  many: skoro %{count} godina
84
84
  other: skoro %{count} godina
@@ -99,22 +99,22 @@ bs:
99
99
  many: preko %{count} godina
100
100
  other: preko %{count} godina
101
101
  x_seconds:
102
- one: 1 sekund
102
+ one: "%{count} sekund"
103
103
  few: "%{count} sekunde"
104
104
  many: "%{count} sekundi"
105
105
  other: "%{count} sekundi"
106
106
  x_minutes:
107
- one: 1 minut
107
+ one: "%{count} minut"
108
108
  few: "%{count} minute"
109
109
  many: "%{count} minuta"
110
110
  other: "%{count} minuta"
111
111
  x_days:
112
- one: 1 dan
112
+ one: "%{count} dan"
113
113
  few: "%{count} dana"
114
114
  many: "%{count} dana"
115
115
  other: "%{count} dana"
116
116
  x_months:
117
- one: 1 mjesec
117
+ one: "%{count} mjesec"
118
118
  few: "%{count} mjeseca"
119
119
  many: "%{count} mjeseci"
120
120
  other: "%{count} mjeseci"
@@ -153,7 +153,7 @@ bs:
153
153
  template:
154
154
  body: 'Desili su se problemi sa sljedećim poljima:'
155
155
  header:
156
- one: 1 greška je spriječila da se ovaj %{model} spremi
156
+ one: "%{count} greška je spriječila da se ovaj %{model} spremi"
157
157
  few: "%{count} greške su spriječile da se ovaj %{model} spremi"
158
158
  many: "%{count} grešaka je spriječilo da se ovaj %{model} spremi"
159
159
  other: "%{count} grešaka je spriječilo da se ovaj %{model} spremi"
data/rails/locale/ca.yml CHANGED
@@ -6,7 +6,7 @@ ca:
6
6
  record_invalid: 'La validació ha fallat: %{errors}'
7
7
  restrict_dependent_destroy:
8
8
  has_one: No es pot eliminar el registre perquè existeix un %{record} dependent
9
- has_many: No es pot eliminar el registre perquè existeixen %{record} dependents
9
+ has_many: No es pot eliminar el registre perquè existeixen %{record} dependents
10
10
  date:
11
11
  abbr_day_names:
12
12
  - Dg
@@ -63,41 +63,41 @@ ca:
63
63
  datetime:
64
64
  distance_in_words:
65
65
  about_x_hours:
66
- one: aproximadament 1 hora
66
+ one: aproximadament %{count} hora
67
67
  other: aproximadament %{count} hores
68
68
  about_x_months:
69
- one: aproximadament 1 mes
69
+ one: aproximadament %{count} mes
70
70
  other: aproximadament %{count} mesos
71
71
  about_x_years:
72
- one: aproximadament 1 any
72
+ one: aproximadament %{count} any
73
73
  other: aproximadament %{count} anys
74
74
  almost_x_years:
75
- one: quasi 1 any
75
+ one: quasi %{count} any
76
76
  other: quasi %{count} anys
77
77
  half_a_minute: mig minut
78
78
  less_than_x_seconds:
79
- one: menys d'1 segon
79
+ one: menys d'%{count} segon
80
80
  other: menys de %{count} segons
81
81
  less_than_x_minutes:
82
- one: menys d'1 minut
82
+ one: menys d'%{count} minut
83
83
  other: menys de %{count} minuts
84
84
  over_x_years:
85
- one: més d'1 any
85
+ one: més d'%{count} any
86
86
  other: més de %{count} anys
87
87
  x_seconds:
88
- one: 1 segon
88
+ one: "%{count} segon"
89
89
  other: "%{count} segons"
90
90
  x_minutes:
91
- one: 1 minut
91
+ one: "%{count} minut"
92
92
  other: "%{count} minuts"
93
93
  x_days:
94
- one: 1 dia
94
+ one: "%{count} dia"
95
95
  other: "%{count} dies"
96
96
  x_months:
97
- one: 1 mes
97
+ one: "%{count} mes"
98
98
  other: "%{count} mesos"
99
99
  x_years:
100
- one: 1 year
100
+ one: "%{count} year"
101
101
  other: "%{count} years"
102
102
  prompts:
103
103
  second: segon
@@ -131,18 +131,18 @@ ca:
131
131
  required: ha d'existir
132
132
  taken: no està disponible
133
133
  too_long:
134
- one: és massa llarg (1 caràcter màxim)
134
+ one: és massa llarg (%{count} caràcter màxim)
135
135
  other: és massa llarg (%{count} caràcters màxim)
136
136
  too_short:
137
- one: és massa curt (1 caràcter mínim)
137
+ one: és massa curt (%{count} caràcter mínim)
138
138
  other: és massa curt (%{count} caràcters mínim)
139
139
  wrong_length:
140
- one: no té la longitud correcta (1 caràcter exactament)
140
+ one: no té la longitud correcta (%{count} caràcter exactament)
141
141
  other: no té la longitud correcta (%{count} caràcters exactament)
142
142
  template:
143
143
  body: 'Hi ha hagut problemes amb els següents camps:'
144
144
  header:
145
- one: No s'ha pogut desar aquest/a %{model} perquè hi ha 1 error
145
+ one: No s'ha pogut desar aquest/a %{model} perquè hi ha %{count} error
146
146
  other: No s'ha pogut desar aquest/a %{model} perquè hi ha hagut %{count} errors
147
147
  helpers:
148
148
  select: