rails-i18n 0.6.5 → 4.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +217 -0
  3. data/README.md +48 -19
  4. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +10 -3
  5. data/lib/rails_i18n/common_pluralizations/{only_one.rb → one_other.rb} +6 -5
  6. data/lib/rails_i18n/common_pluralizations/one_two_other.rb +7 -9
  7. data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +1 -1
  8. data/lib/rails_i18n/common_pluralizations/romanian.rb +1 -0
  9. data/rails/locale/af.yml +199 -0
  10. data/rails/locale/ar.yml +163 -87
  11. data/rails/locale/az.yml +36 -42
  12. data/rails/locale/be.yml +205 -0
  13. data/rails/locale/bg.yml +28 -34
  14. data/rails/locale/{bn-IN.yml → bn.yml} +36 -42
  15. data/rails/locale/bs.yml +46 -44
  16. data/rails/locale/ca.yml +43 -49
  17. data/rails/locale/cs.yml +75 -62
  18. data/rails/locale/cy.yml +88 -44
  19. data/rails/locale/da.yml +32 -32
  20. data/rails/locale/de-AT.yml +48 -41
  21. data/rails/locale/de-CH.yml +58 -47
  22. data/rails/locale/de-DE.yml +210 -0
  23. data/rails/locale/de.yml +51 -44
  24. data/rails/locale/el.yml +41 -41
  25. data/rails/locale/en-AU.yml +28 -34
  26. data/rails/locale/en-CA.yml +28 -43
  27. data/rails/locale/en-GB.yml +28 -34
  28. data/rails/locale/en-IE.yml +199 -0
  29. data/rails/locale/en-IN.yml +28 -34
  30. data/rails/locale/en-NZ.yml +199 -0
  31. data/rails/locale/en-US.yml +35 -35
  32. data/rails/locale/en-ZA.yml +205 -0
  33. data/rails/locale/en.yml +34 -34
  34. data/rails/locale/eo.yml +28 -34
  35. data/rails/locale/es-419.yml +199 -0
  36. data/rails/locale/es-AR.yml +38 -39
  37. data/rails/locale/es-CL.yml +32 -33
  38. data/rails/locale/es-CO.yml +38 -39
  39. data/rails/locale/es-CR.yml +204 -0
  40. data/rails/locale/es-EC.yml +205 -0
  41. data/rails/locale/es-ES.yml +204 -0
  42. data/rails/locale/es-MX.yml +39 -39
  43. data/rails/locale/es-PA.yml +205 -0
  44. data/rails/locale/es-PE.yml +60 -37
  45. data/rails/locale/es-US.yml +204 -0
  46. data/rails/locale/es-VE.yml +40 -41
  47. data/rails/locale/es.yml +41 -36
  48. data/rails/locale/et.yml +33 -39
  49. data/rails/locale/eu.yml +41 -47
  50. data/rails/locale/fa.yml +41 -47
  51. data/rails/locale/fi.yml +43 -49
  52. data/rails/locale/fr-CA.yml +29 -35
  53. data/rails/locale/fr-CH.yml +35 -35
  54. data/rails/locale/fr-FR.yml +207 -0
  55. data/rails/locale/fr.yml +172 -187
  56. data/rails/locale/{gl-ES.yml → gl.yml} +33 -39
  57. data/rails/locale/he.yml +35 -41
  58. data/rails/locale/hi-IN.yml +35 -41
  59. data/rails/locale/hi.yml +37 -43
  60. data/rails/locale/hr.yml +61 -61
  61. data/rails/locale/hu.yml +51 -57
  62. data/rails/locale/id.yml +50 -44
  63. data/rails/locale/is.yml +31 -31
  64. data/rails/locale/it-CH.yml +199 -0
  65. data/rails/locale/it.yml +82 -82
  66. data/rails/locale/ja.yml +53 -55
  67. data/rails/locale/km.yml +164 -0
  68. data/rails/locale/kn.yml +38 -44
  69. data/rails/locale/ko.yml +29 -35
  70. data/rails/locale/lb.yml +206 -0
  71. data/rails/locale/lo.yml +85 -43
  72. data/rails/locale/lt.yml +85 -49
  73. data/rails/locale/lv.yml +63 -48
  74. data/rails/locale/mk.yml +80 -51
  75. data/rails/locale/mn.yml +56 -62
  76. data/rails/locale/mr-IN.yml +206 -0
  77. data/rails/locale/ms.yml +199 -0
  78. data/rails/locale/nb.yml +32 -33
  79. data/rails/locale/ne.yml +199 -0
  80. data/rails/locale/nl.yml +65 -59
  81. data/rails/locale/nn.yml +70 -28
  82. data/rails/locale/or.yml +193 -0
  83. data/rails/locale/pa.yml +205 -0
  84. data/rails/locale/pl.yml +69 -53
  85. data/rails/locale/pt-BR.yml +44 -44
  86. data/rails/locale/{pt-PT.yml → pt.yml} +35 -41
  87. data/rails/locale/rm.yml +74 -32
  88. data/rails/locale/ro.yml +41 -34
  89. data/rails/locale/ru.yml +51 -51
  90. data/rails/locale/sk.yml +35 -40
  91. data/rails/locale/sl.yml +33 -37
  92. data/rails/locale/sq.yml +205 -0
  93. data/rails/locale/sr.yml +128 -61
  94. data/rails/locale/{sv-SE.yml → sv.yml} +34 -34
  95. data/rails/locale/sw.yml +24 -30
  96. data/rails/locale/ta.yml +205 -0
  97. data/rails/locale/th.yml +25 -31
  98. data/rails/locale/tl.yml +105 -135
  99. data/rails/locale/tr.yml +62 -56
  100. data/rails/locale/tt.yml +215 -0
  101. data/rails/locale/ug.yml +204 -0
  102. data/rails/locale/uk.yml +54 -60
  103. data/rails/locale/ur.yml +206 -0
  104. data/rails/locale/uz.yml +251 -0
  105. data/rails/locale/vi.yml +33 -35
  106. data/rails/locale/wo.yml +30 -36
  107. data/rails/locale/zh-CN.yml +47 -41
  108. data/rails/locale/zh-HK.yml +205 -0
  109. data/rails/locale/zh-TW.yml +50 -44
  110. data/rails/locale/zh-YUE.yml +205 -0
  111. data/rails/pluralization/ar.rb +1 -0
  112. data/rails/pluralization/bg.rb +3 -0
  113. data/rails/pluralization/bn.rb +3 -0
  114. data/rails/pluralization/br.rb +1 -0
  115. data/rails/pluralization/ca.rb +3 -0
  116. data/rails/pluralization/da.rb +3 -0
  117. data/rails/pluralization/de-AT.rb +3 -0
  118. data/rails/pluralization/de-CH.rb +3 -0
  119. data/rails/pluralization/de-DE.rb +3 -0
  120. data/rails/pluralization/de.rb +3 -0
  121. data/rails/pluralization/el.rb +3 -0
  122. data/rails/pluralization/en-AU.rb +3 -0
  123. data/rails/pluralization/en-CA.rb +3 -0
  124. data/rails/pluralization/en-GB.rb +3 -0
  125. data/rails/pluralization/en-IN.rb +3 -0
  126. data/rails/pluralization/en-NZ.rb +3 -0
  127. data/rails/pluralization/en.rb +3 -0
  128. data/rails/pluralization/eo.rb +3 -0
  129. data/rails/pluralization/es-419.rb +3 -0
  130. data/rails/pluralization/es-AR.rb +3 -0
  131. data/rails/pluralization/es-CL.rb +3 -0
  132. data/rails/pluralization/es-CO.rb +3 -0
  133. data/rails/pluralization/es-EC.rb +3 -0
  134. data/rails/pluralization/es-ES.rb +3 -0
  135. data/rails/pluralization/es-MX.rb +3 -0
  136. data/rails/pluralization/es-PE.rb +3 -0
  137. data/rails/pluralization/es-VE.rb +3 -0
  138. data/rails/pluralization/es.rb +3 -0
  139. data/rails/pluralization/et.rb +3 -0
  140. data/rails/pluralization/eu.rb +3 -0
  141. data/rails/pluralization/fi.rb +3 -0
  142. data/rails/pluralization/fr-CA.rb +3 -0
  143. data/rails/pluralization/fr-CH.rb +3 -0
  144. data/rails/pluralization/fr-FR.rb +3 -0
  145. data/rails/pluralization/gl.rb +3 -0
  146. data/rails/pluralization/gv.rb +1 -0
  147. data/rails/pluralization/hi-IN.rb +3 -0
  148. data/rails/pluralization/hsb.rb +28 -0
  149. data/rails/pluralization/hu.rb +2 -2
  150. data/rails/pluralization/is.rb +3 -0
  151. data/rails/pluralization/it-CH.rb +3 -0
  152. data/rails/pluralization/it.rb +3 -0
  153. data/rails/pluralization/lag.rb +1 -0
  154. data/rails/pluralization/lt.rb +1 -0
  155. data/rails/pluralization/lv.rb +1 -0
  156. data/rails/pluralization/mk.rb +1 -0
  157. data/rails/pluralization/mn.rb +3 -0
  158. data/rails/pluralization/mr-IN.rb +3 -0
  159. data/rails/pluralization/mt.rb +1 -0
  160. data/rails/pluralization/nb.rb +3 -0
  161. data/rails/pluralization/ne.rb +3 -0
  162. data/rails/pluralization/nl.rb +3 -0
  163. data/rails/pluralization/nn.rb +3 -0
  164. data/rails/pluralization/or.rb +3 -0
  165. data/rails/pluralization/pa.rb +3 -0
  166. data/rails/pluralization/pl.rb +1 -0
  167. data/rails/pluralization/sl.rb +1 -0
  168. data/rails/pluralization/sv.rb +3 -0
  169. data/rails/pluralization/sw.rb +3 -0
  170. data/rails/pluralization/ur.rb +3 -0
  171. data/rails/pluralization/zh-CN.rb +3 -0
  172. data/rails/pluralization/zh-HK.rb +3 -0
  173. data/rails/pluralization/zh-TW.rb +3 -0
  174. data/rails/pluralization/zh-YUE.rb +3 -0
  175. data/rails/transliteration/de.yml +12 -0
  176. data/rails/transliteration/el.yml +104 -0
  177. data/rails/transliteration/fr.yml +36 -0
  178. data/rails/transliteration/pl.yml +22 -0
  179. data/rails/transliteration/ro.yml +14 -0
  180. data/rails/transliteration/ru.rb +2 -0
  181. data/rails/transliteration/uk.rb +3 -1
  182. metadata +278 -194
  183. data/rails/locale/csb.yml +0 -210
  184. data/rails/locale/dsb.yml +0 -215
  185. data/rails/locale/fur.yml +0 -199
  186. data/rails/locale/gsw-CH.yml +0 -199
  187. data/rails/locale/hsb.yml +0 -214
  188. data/rails/locale/sr-Latn.yml +0 -170
data/rails/locale/fa.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fa:
2
3
  date:
3
4
  abbr_day_names:
@@ -31,9 +32,9 @@ fa:
31
32
  - جمعه
32
33
  - شنبه
33
34
  formats:
34
- default: ! '%Y/%m/%d'
35
- long: ! '%e %B %Y'
36
- short: ! '%m/%d'
35
+ default: "%Y/%m/%d"
36
+ long: "%e %B %Y"
37
+ short: "%m/%d"
37
38
  month_names:
38
39
  -
39
40
  - ژانویه
@@ -55,39 +56,39 @@ fa:
55
56
  datetime:
56
57
  distance_in_words:
57
58
  about_x_hours:
58
- one: حدود ۱ ساعت
59
+ one: حدود یک ساعت
59
60
  other: حدود %{count} ساعت
60
61
  about_x_months:
61
- one: حدود ۱ ماه
62
+ one: حدود یک ماه
62
63
  other: حدود %{count} ماه
63
64
  about_x_years:
64
- one: حدود ۱ سال
65
+ one: حدود یک سال
65
66
  other: حدود %{count} سال
66
67
  almost_x_years:
67
- one: حدود ۱ سال
68
+ one: حدود یک سال
68
69
  other: حدود %{count} سال
69
70
  half_a_minute: نیم دقیقه
70
71
  less_than_x_minutes:
71
- one: کمتر از ۱ دقیقه
72
+ one: کمتر از یک دقیقه
72
73
  other: کمتر از %{count} دقیقه
73
74
  less_than_x_seconds:
74
- one: ۱ ثانیه
75
+ one: یک ثانیه
75
76
  other: کمتر از %{count} ثانیه
76
77
  over_x_years:
77
- one: بیش از ۱ سال
78
+ one: بیش از یک سال
78
79
  other: بیش از %{count} سال
79
80
  x_days:
80
- one: ۱ روز
81
- other: ! '%{count} روز'
81
+ one: یک روز
82
+ other: "%{count} روز"
82
83
  x_minutes:
83
- one: ۱ دقیقه
84
- other: ! '%{count} دقیقه'
84
+ one: یک دقیقه
85
+ other: "%{count} دقیقه"
85
86
  x_months:
86
- one: ۱ ماه
87
- other: ! '%{count} ماه'
87
+ one: یک ماه
88
+ other: "%{count} ماه"
88
89
  x_seconds:
89
- one: ۱ ثانیه
90
- other: ! '%{count} ثانیه'
90
+ one: یک ثانیه
91
+ other: "%{count} ثانیه"
91
92
  prompts:
92
93
  day: روز
93
94
  hour: ساعت
@@ -95,8 +96,8 @@ fa:
95
96
  month: ماه
96
97
  second: ثانیه
97
98
  year: سال
98
- errors: &errors
99
- format: ! '%{attribute} %{message}'
99
+ errors:
100
+ format: "%{attribute} %{message}"
100
101
  messages:
101
102
  accepted: باید پذیرفته شود
102
103
  blank: نباید خالی باشد
@@ -120,38 +121,38 @@ fa:
120
121
  too_short: کوتاه است (حداقل %{count} کاراکتر)
121
122
  wrong_length: نااندازه است (باید %{count} کاراکتر باشد)
122
123
  template:
123
- body: ! 'موارد زیر مشکل داشت:'
124
+ body: 'موارد زیر مشکل داشت:'
124
125
  header:
125
126
  one: 1 خطا جلوی ذخیره این %{model} را گرفت
126
- other: ! '%{count} خطا جلوی ذخیره این %{model} را گرفت'
127
+ other: "%{count} خطا جلوی ذخیره این %{model} را گرفت"
127
128
  helpers:
128
129
  select:
129
130
  prompt: لطفا انتخاب کنید
130
131
  submit:
131
- create: ! '%{model} ایجاد'
132
- submit: ! '%{model} ذخیره'
133
- update: ! '%{model} بروز'
132
+ create: ایجاد %{model}
133
+ submit: ذخیره‌ی %{model}
134
+ update: بروز رسانی %{model}
134
135
  number:
135
136
  currency:
136
137
  format:
137
- delimiter: ٬
138
- format: ! '%n %u'
138
+ delimiter: "٬"
139
+ format: "%n %u"
139
140
  precision: 0
140
- separator: ٫
141
+ separator: "٫"
141
142
  significant: false
142
143
  strip_insignificant_zeros: false
143
- unit: ریال
144
+ unit: "﷼"
144
145
  format:
145
- delimiter: ٬
146
+ delimiter: "٬"
146
147
  precision: 2
147
- separator: ٫
148
+ separator: "٫"
148
149
  significant: false
149
150
  strip_insignificant_zeros: false
150
151
  human:
151
152
  decimal_units:
152
- format: ! '%n %u'
153
+ format: "%n %u"
153
154
  units:
154
- billion: بیلیون
155
+ billion: میلیارد
155
156
  million: میلیون
156
157
  quadrillion: کادریلیون
157
158
  thousand: هزار
@@ -163,7 +164,7 @@ fa:
163
164
  significant: true
164
165
  strip_insignificant_zeros: true
165
166
  storage_units:
166
- format: ! '%n %u'
167
+ format: "%n %u"
167
168
  units:
168
169
  byte:
169
170
  one: بایت
@@ -180,20 +181,13 @@ fa:
180
181
  delimiter: ''
181
182
  support:
182
183
  array:
183
- last_word_connector: ! و '
184
- two_words_connector: ! ' و '
185
- words_connector: ! '، '
184
+ last_word_connector: " و "
185
+ two_words_connector: " و "
186
+ words_connector: "، "
186
187
  time:
187
188
  am: قبل از ظهر
188
189
  formats:
189
- default: ! '%A، %e %B %Y، ساعت %H:%M:%S (%Z)'
190
- long: ! '%e %B %Y، ساعت %H:%M'
191
- short: ! '%e %B، ساعت %H:%M'
190
+ default: "%A، %e %B %Y، ساعت %H:%M:%S (%Z)"
191
+ long: "%e %B %Y، ساعت %H:%M"
192
+ short: "%e %B، ساعت %H:%M"
192
193
  pm: بعد از ظهر
193
- # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
194
- activemodel:
195
- errors:
196
- <<: *errors
197
- activerecord:
198
- errors:
199
- <<: *errors
data/rails/locale/fi.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fi:
2
3
  date:
3
4
  abbr_day_names:
@@ -31,9 +32,9 @@ fi:
31
32
  - perjantai
32
33
  - lauantai
33
34
  formats:
34
- default: ! '%e. %Bta %Y'
35
- long: ! '%A %e. %Bta %Y'
36
- short: ! '%e.%m.%Y'
35
+ default: "%-d.%-m.%Y"
36
+ long: "%A %e. %Bta %Y"
37
+ short: "%d. %b"
37
38
  month_names:
38
39
  -
39
40
  - tammikuu
@@ -78,25 +79,25 @@ fi:
78
79
  other: yli %{count} vuotta
79
80
  x_days:
80
81
  one: päivä
81
- other: ! '%{count} päivää'
82
+ other: "%{count} päivää"
82
83
  x_minutes:
83
84
  one: minuutti
84
- other: ! '%{count} minuuttia'
85
+ other: "%{count} minuuttia"
85
86
  x_months:
86
87
  one: kuukausi
87
- other: ! '%{count} kuukautta'
88
+ other: "%{count} kuukautta"
88
89
  x_seconds:
89
90
  one: sekunti
90
- other: ! '%{count} sekuntia'
91
+ other: "%{count} sekuntia"
91
92
  prompts:
92
- day: Päivä
93
- hour: Tunti
94
- minute: Minuutti
95
- month: Kuukausi
96
- second: Sekunti
97
- year: Vuosi
98
- errors: &errors
99
- format: ! '%{attribute} %{message}'
93
+ day: päivä
94
+ hour: tunti
95
+ minute: minuutti
96
+ month: kuukausi
97
+ second: sekunti
98
+ year: vuosi
99
+ errors:
100
+ format: "%{attribute} %{message}"
100
101
  messages:
101
102
  accepted: täytyy olla hyväksytty
102
103
  blank: ei voi olla sisällötön
@@ -112,18 +113,18 @@ fi:
112
113
  less_than: täytyy olla pienempi kuin %{count}
113
114
  less_than_or_equal_to: täytyy olla pienempi tai yhtä suuri kuin %{count}
114
115
  not_a_number: ei ole luku
115
- not_an_integer: on kokonaisluku
116
+ not_an_integer: ei ole kokonaisluku
116
117
  odd: täytyy olla pariton
117
- record_invalid: ! 'Validointi epäonnistui: %{errors}'
118
+ record_invalid: 'Validointi epäonnistui: %{errors}'
118
119
  taken: on jo käytössä
119
120
  too_long: on liian pitkä (saa olla enintään %{count} merkkiä)
120
121
  too_short: on liian lyhyt (oltava vähintään %{count} merkkiä)
121
122
  wrong_length: on väärän pituinen (täytyy olla täsmälleen %{count} merkkiä)
122
123
  template:
123
- body: ! 'Seuraavat kentät aiheuttivat ongelmia:'
124
+ body: 'Seuraavat kentät aiheuttivat ongelmia:'
124
125
  header:
125
126
  one: Virhe syötteessä esti mallin %{model} tallentamisen
126
- other: ! '%{count} virhettä esti mallin %{model} tallentamisen'
127
+ other: "%{count} virhettä esti mallin %{model} tallentamisen"
127
128
  helpers:
128
129
  select:
129
130
  prompt: Valitse
@@ -134,28 +135,28 @@ fi:
134
135
  number:
135
136
  currency:
136
137
  format:
137
- delimiter: .
138
- format: ! '%n %u'
138
+ delimiter: "."
139
+ format: "%n %u"
139
140
  precision: 2
140
- separator: ! ','
141
+ separator: ","
141
142
  significant: false
142
143
  strip_insignificant_zeros: false
143
- unit: €
144
+ unit: ""
144
145
  format:
145
- delimiter: ! ','
146
+ delimiter: "."
146
147
  precision: 3
147
- separator: .
148
+ separator: ","
148
149
  significant: false
149
150
  strip_insignificant_zeros: false
150
151
  human:
151
152
  decimal_units:
152
- format: ! '%n %u'
153
+ format: "%n %u"
153
154
  units:
154
- billion: Miljardia
155
- million: Euroa
156
- quadrillion: Kvadriljoona
157
- thousand: Tuhatta
158
- trillion: Biljoona
155
+ thousand: tuhatta
156
+ million: miljoonaa
157
+ billion: miljardia
158
+ trillion: biljoonaa
159
+ quadrillion: tuhatta biljoonaa
159
160
  unit: ''
160
161
  format:
161
162
  delimiter: ''
@@ -163,15 +164,15 @@ fi:
163
164
  significant: true
164
165
  strip_insignificant_zeros: true
165
166
  storage_units:
166
- format: ! '%n %u'
167
+ format: "%n %u"
167
168
  units:
168
169
  byte:
169
170
  one: tavu
170
171
  other: tavua
171
- gb: GB
172
- kb: kB
173
- mb: MB
174
- tb: TB
172
+ gb: Gt
173
+ kb: kt
174
+ mb: Mt
175
+ tb: Tt
175
176
  percentage:
176
177
  format:
177
178
  delimiter: ''
@@ -180,20 +181,13 @@ fi:
180
181
  delimiter: ''
181
182
  support:
182
183
  array:
183
- last_word_connector: ! ' ja '
184
- two_words_connector: ! ' ja '
185
- words_connector: ! ', '
184
+ last_word_connector: " ja "
185
+ two_words_connector: " ja "
186
+ words_connector: ", "
186
187
  time:
187
188
  am: aamupäivä
188
189
  formats:
189
- default: ! '%A %e. %Bta %Y %H:%M:%S %z'
190
- long: ! '%e. %Bta %Y %H.%M'
191
- short: ! '%e.%m. %H.%M'
190
+ default: "%A %e. %Bta %Y %H:%M:%S %z"
191
+ long: "%e. %Bta %Y %H.%M"
192
+ short: "%e.%m. %H.%M"
192
193
  pm: iltapäivä
193
- # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
194
- activemodel:
195
- errors:
196
- <<: *errors
197
- activerecord:
198
- errors:
199
- <<: *errors
@@ -1,3 +1,4 @@
1
+ ---
1
2
  fr-CA:
2
3
  date:
3
4
  abbr_day_names:
@@ -31,9 +32,9 @@ fr-CA:
31
32
  - vendredi
32
33
  - samedi
33
34
  formats:
34
- default: ! '%Y-%m-%d'
35
- long: ! '%d %B %Y'
36
- short: ! '%y-%m-%d'
35
+ default: "%Y-%m-%d"
36
+ long: "%d %B %Y"
37
+ short: "%y-%m-%d"
37
38
  month_names:
38
39
  -
39
40
  - janvier
@@ -80,16 +81,16 @@ fr-CA:
80
81
  other: plus de %{count} ans
81
82
  x_days:
82
83
  one: 1 jour
83
- other: ! '%{count} jours'
84
+ other: "%{count} jours"
84
85
  x_minutes:
85
86
  one: 1 minute
86
- other: ! '%{count} minutes'
87
+ other: "%{count} minutes"
87
88
  x_months:
88
89
  one: 1 mois
89
- other: ! '%{count} mois'
90
+ other: "%{count} mois"
90
91
  x_seconds:
91
92
  one: 1 seconde
92
- other: ! '%{count} secondes'
93
+ other: "%{count} secondes"
93
94
  prompts:
94
95
  day: Jour
95
96
  hour: Heure
@@ -97,12 +98,12 @@ fr-CA:
97
98
  month: Mois
98
99
  second: Seconde
99
100
  year: Année
100
- errors: &errors
101
- format: '%{attribute} %{message}'
101
+ errors:
102
+ format: "%{attribute} %{message}"
102
103
  messages:
103
104
  accepted: doit être accepté(e)
104
105
  blank: doit être rempli(e)
105
- confirmation: ne concorde pas avec la confirmation
106
+ confirmation: ne concorde pas avec %{attribute}
106
107
  empty: doit être rempli(e)
107
108
  equal_to: doit être égal à %{count}
108
109
  even: doit être pair
@@ -116,7 +117,7 @@ fr-CA:
116
117
  not_a_number: n'est pas un nombre
117
118
  not_an_integer: doit être un nombre entier
118
119
  odd: doit être impair
119
- record_invalid: ! 'La validation a échoué : %{errors}'
120
+ record_invalid: 'La validation a échoué : %{errors}'
120
121
  taken: n'est pas disponible
121
122
  too_long:
122
123
  one: est trop long (pas plus d'un caractère)
@@ -128,10 +129,10 @@ fr-CA:
128
129
  one: ne fait pas la bonne longueur (doit comporter un seul caractère)
129
130
  other: ne fait pas la bonne longueur (doit comporter %{count} caractères)
130
131
  template:
131
- body: ! 'Veuillez vérifier les champs suivants : '
132
+ body: 'Veuillez vérifier les champs suivants : '
132
133
  header:
133
- one: ! 'Impossible d''enregistrer ce %{model} : 1 erreur'
134
- other: ! 'Impossible d''enregistrer ce %{model} : %{count} erreurs'
134
+ one: 'Impossible d''enregistrer ce %{model} : 1 erreur'
135
+ other: 'Impossible d''enregistrer ce %{model} : %{count} erreurs'
135
136
  helpers:
136
137
  select:
137
138
  prompt: Veuillez sélectionner
@@ -142,22 +143,22 @@ fr-CA:
142
143
  number:
143
144
  currency:
144
145
  format:
145
- delimiter: ! ' '
146
- format: ! '%n %u'
146
+ delimiter: " "
147
+ format: "%n %u"
147
148
  precision: 2
148
- separator: ! ','
149
+ separator: ","
149
150
  significant: false
150
151
  strip_insignificant_zeros: false
151
- unit: $
152
+ unit: "$"
152
153
  format:
153
- delimiter: ! ' '
154
+ delimiter: " "
154
155
  precision: 3
155
- separator: ! ','
156
+ separator: ","
156
157
  significant: false
157
158
  strip_insignificant_zeros: false
158
159
  human:
159
160
  decimal_units:
160
- format: ! '%n %u'
161
+ format: "%n %u"
161
162
  units:
162
163
  billion: Milliard
163
164
  million: Million
@@ -171,7 +172,7 @@ fr-CA:
171
172
  significant: true
172
173
  strip_insignificant_zeros: true
173
174
  storage_units:
174
- format: ! '%n %u'
175
+ format: "%n %u"
175
176
  units:
176
177
  byte:
177
178
  one: Octet
@@ -188,20 +189,13 @@ fr-CA:
188
189
  delimiter: ''
189
190
  support:
190
191
  array:
191
- last_word_connector: ! ' et '
192
- two_words_connector: ! ' et '
193
- words_connector: ! ', '
192
+ last_word_connector: " et "
193
+ two_words_connector: " et "
194
+ words_connector: ", "
194
195
  time:
195
196
  am: am
196
197
  formats:
197
- default: ! '%H:%M:%S'
198
- long: ! '%A %d %B %Y %H:%M'
199
- short: ! '%H:%M'
198
+ default: "%H h %M min %S s"
199
+ long: "%A %d %B %Y %H h %M"
200
+ short: "%H h %M"
200
201
  pm: pm
201
- # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
202
- activemodel:
203
- errors:
204
- <<: *errors
205
- activerecord:
206
- errors:
207
- <<: *errors