rails-i18n 0.1.0 → 5.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (297) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +439 -0
  3. data/MIT-LICENSE.txt +1 -1
  4. data/README.md +104 -48
  5. data/lib/rails-i18n.rb +1 -4
  6. data/lib/rails_i18n.rb +2 -0
  7. data/lib/rails_i18n/common_pluralizations/east_slavic.rb +42 -0
  8. data/lib/rails_i18n/common_pluralizations/one_other.rb +19 -0
  9. data/lib/rails_i18n/common_pluralizations/one_two_other.rb +28 -0
  10. data/lib/rails_i18n/common_pluralizations/one_upto_two_other.rb +19 -0
  11. data/lib/rails_i18n/common_pluralizations/one_with_zero_other.rb +20 -0
  12. data/lib/rails_i18n/common_pluralizations/other.rb +17 -0
  13. data/lib/rails_i18n/common_pluralizations/romanian.rb +28 -0
  14. data/lib/rails_i18n/common_pluralizations/west_slavic.rb +27 -0
  15. data/lib/rails_i18n/railtie.rb +33 -0
  16. data/lib/rails_i18n/unicode.rb +1 -0
  17. data/rails/locale/af.yml +213 -0
  18. data/rails/locale/ar.yml +256 -204
  19. data/rails/locale/az.yml +203 -0
  20. data/rails/locale/be.yml +269 -0
  21. data/rails/locale/bg.yml +176 -302
  22. data/rails/locale/bn.yml +176 -0
  23. data/rails/locale/bs.yml +232 -141
  24. data/rails/locale/ca.yml +176 -230
  25. data/rails/locale/cs.yml +218 -0
  26. data/rails/locale/cy.yml +222 -197
  27. data/rails/locale/da.yml +183 -211
  28. data/rails/locale/de-AT.yml +191 -166
  29. data/rails/locale/de-CH.yml +190 -165
  30. data/rails/locale/de-DE.yml +219 -0
  31. data/rails/locale/de.yml +190 -201
  32. data/rails/locale/el-CY.yml +202 -0
  33. data/rails/locale/el.yml +178 -149
  34. data/rails/locale/en-AU.yml +193 -198
  35. data/rails/locale/en-CA.yml +215 -0
  36. data/rails/locale/en-CY.yml +215 -0
  37. data/rails/locale/en-GB.yml +192 -197
  38. data/rails/locale/en-IE.yml +215 -0
  39. data/rails/locale/en-IN.yml +215 -0
  40. data/rails/locale/en-NZ.yml +215 -0
  41. data/rails/locale/en-US.yml +193 -200
  42. data/rails/locale/en-ZA.yml +215 -0
  43. data/rails/locale/en.yml +215 -0
  44. data/rails/locale/eo.yml +165 -189
  45. data/rails/locale/es-419.yml +219 -0
  46. data/rails/locale/es-AR.yml +190 -190
  47. data/rails/locale/es-CL.yml +195 -200
  48. data/rails/locale/es-CO.yml +189 -190
  49. data/rails/locale/es-CR.yml +219 -0
  50. data/rails/locale/es-EC.yml +219 -0
  51. data/rails/locale/es-ES.yml +219 -0
  52. data/rails/locale/es-MX.yml +189 -197
  53. data/rails/locale/es-NI.yml +219 -0
  54. data/rails/locale/es-PA.yml +219 -0
  55. data/rails/locale/es-PE.yml +200 -151
  56. data/rails/locale/es-US.yml +219 -0
  57. data/rails/locale/es-VE.yml +219 -0
  58. data/rails/locale/es.yml +198 -204
  59. data/rails/locale/et.yml +183 -236
  60. data/rails/locale/eu.yml +187 -201
  61. data/rails/locale/fa.yml +183 -199
  62. data/rails/locale/fi.yml +188 -202
  63. data/rails/locale/fr-CA.yml +185 -195
  64. data/rails/locale/fr-CH.yml +185 -192
  65. data/rails/locale/fr-FR.yml +217 -0
  66. data/rails/locale/fr.yml +184 -189
  67. data/rails/locale/gl.yml +172 -0
  68. data/rails/locale/he.yml +176 -205
  69. data/rails/locale/hi-IN.yml +172 -197
  70. data/rails/locale/hi.yml +172 -197
  71. data/rails/locale/hr.yml +224 -143
  72. data/rails/locale/hu.yml +173 -192
  73. data/rails/locale/id.yml +193 -168
  74. data/rails/locale/is.yml +192 -206
  75. data/rails/locale/it-CH.yml +202 -0
  76. data/rails/locale/it.yml +192 -215
  77. data/rails/locale/ja.yml +184 -205
  78. data/rails/locale/ka.yml +211 -0
  79. data/rails/locale/km.yml +167 -0
  80. data/rails/locale/kn.yml +172 -198
  81. data/rails/locale/ko.yml +182 -205
  82. data/rails/locale/lb.yml +209 -0
  83. data/rails/locale/lo.yml +221 -227
  84. data/rails/locale/lt.yml +204 -167
  85. data/rails/locale/lv.yml +199 -187
  86. data/rails/locale/mk.yml +184 -140
  87. data/rails/locale/ml.yml +210 -0
  88. data/rails/locale/mn.yml +180 -177
  89. data/rails/locale/mr-IN.yml +207 -0
  90. data/rails/locale/ms.yml +202 -0
  91. data/rails/locale/nb.yml +184 -189
  92. data/rails/locale/ne.yml +205 -0
  93. data/rails/locale/nl.yml +190 -203
  94. data/rails/locale/nn.yml +186 -117
  95. data/rails/locale/oc.yml +212 -0
  96. data/rails/locale/or.yml +196 -0
  97. data/rails/locale/pa.yml +208 -0
  98. data/rails/locale/pl.yml +217 -210
  99. data/rails/locale/pt-BR.yml +200 -216
  100. data/rails/locale/pt.yml +216 -0
  101. data/rails/locale/rm.yml +194 -147
  102. data/rails/locale/ro.yml +185 -187
  103. data/rails/locale/ru.yml +244 -351
  104. data/rails/locale/sk.yml +210 -235
  105. data/rails/locale/sl.yml +198 -222
  106. data/rails/locale/sq.yml +208 -0
  107. data/rails/locale/sr.yml +224 -141
  108. data/rails/locale/sv-SE.yml +191 -257
  109. data/rails/locale/sv.yml +207 -0
  110. data/rails/locale/sw.yml +174 -202
  111. data/rails/locale/ta.yml +208 -0
  112. data/rails/locale/te.yml +215 -0
  113. data/rails/locale/th.yml +170 -0
  114. data/rails/locale/tl.yml +202 -0
  115. data/rails/locale/tr.yml +189 -157
  116. data/rails/locale/tt.yml +218 -0
  117. data/rails/locale/ug.yml +207 -0
  118. data/rails/locale/uk.yml +245 -330
  119. data/rails/locale/ur.yml +209 -0
  120. data/rails/locale/uz.yml +254 -0
  121. data/rails/locale/vi.yml +187 -226
  122. data/rails/locale/wo.yml +208 -0
  123. data/rails/locale/zh-CN.yml +154 -223
  124. data/rails/locale/zh-HK.yml +213 -0
  125. data/rails/locale/zh-TW.yml +180 -217
  126. data/rails/locale/zh-YUE.yml +213 -0
  127. data/rails/pluralization/ak.rb +3 -0
  128. data/rails/pluralization/am.rb +3 -0
  129. data/rails/pluralization/ar.rb +32 -0
  130. data/rails/pluralization/az.rb +3 -0
  131. data/rails/pluralization/be.rb +3 -0
  132. data/rails/pluralization/bg.rb +3 -0
  133. data/rails/pluralization/bh.rb +3 -0
  134. data/rails/pluralization/bm.rb +3 -0
  135. data/rails/pluralization/bn.rb +3 -0
  136. data/rails/pluralization/bo.rb +3 -0
  137. data/rails/pluralization/br.rb +31 -0
  138. data/rails/pluralization/bs.rb +3 -0
  139. data/rails/pluralization/by.rb +3 -0
  140. data/rails/pluralization/ca.rb +3 -0
  141. data/rails/pluralization/cs.rb +3 -0
  142. data/rails/pluralization/cy.rb +24 -0
  143. data/rails/pluralization/da.rb +3 -0
  144. data/rails/pluralization/de-AT.rb +3 -0
  145. data/rails/pluralization/de-CH.rb +3 -0
  146. data/rails/pluralization/de-DE.rb +3 -0
  147. data/rails/pluralization/de.rb +3 -0
  148. data/rails/pluralization/dz.rb +3 -0
  149. data/rails/pluralization/el.rb +3 -0
  150. data/rails/pluralization/en-AU.rb +3 -0
  151. data/rails/pluralization/en-CA.rb +3 -0
  152. data/rails/pluralization/en-GB.rb +3 -0
  153. data/rails/pluralization/en-IN.rb +3 -0
  154. data/rails/pluralization/en-NZ.rb +3 -0
  155. data/rails/pluralization/en.rb +3 -0
  156. data/rails/pluralization/eo.rb +3 -0
  157. data/rails/pluralization/es-419.rb +3 -0
  158. data/rails/pluralization/es-AR.rb +3 -0
  159. data/rails/pluralization/es-CL.rb +3 -0
  160. data/rails/pluralization/es-CO.rb +3 -0
  161. data/rails/pluralization/es-CR.rb +3 -0
  162. data/rails/pluralization/es-EC.rb +3 -0
  163. data/rails/pluralization/es-ES.rb +3 -0
  164. data/rails/pluralization/es-MX.rb +3 -0
  165. data/rails/pluralization/es-NI.rb +3 -0
  166. data/rails/pluralization/es-PA.rb +3 -0
  167. data/rails/pluralization/es-PE.rb +3 -0
  168. data/rails/pluralization/es-US.rb +3 -0
  169. data/rails/pluralization/es-VE.rb +3 -0
  170. data/rails/pluralization/es.rb +3 -0
  171. data/rails/pluralization/et.rb +3 -0
  172. data/rails/pluralization/eu.rb +3 -0
  173. data/rails/pluralization/fa.rb +3 -0
  174. data/rails/pluralization/ff.rb +3 -0
  175. data/rails/pluralization/fi.rb +3 -0
  176. data/rails/pluralization/fr-CA.rb +3 -0
  177. data/rails/pluralization/fr-CH.rb +3 -0
  178. data/rails/pluralization/fr-FR.rb +3 -0
  179. data/rails/pluralization/fr.rb +3 -0
  180. data/rails/pluralization/ga.rb +27 -0
  181. data/rails/pluralization/gd.rb +25 -0
  182. data/rails/pluralization/gl.rb +3 -0
  183. data/rails/pluralization/guw.rb +3 -0
  184. data/rails/pluralization/gv.rb +22 -0
  185. data/rails/pluralization/he.rb +3 -0
  186. data/rails/pluralization/hi-IN.rb +3 -0
  187. data/rails/pluralization/hi.rb +3 -0
  188. data/rails/pluralization/hr.rb +3 -0
  189. data/rails/pluralization/hsb.rb +28 -0
  190. data/rails/pluralization/hu.rb +3 -0
  191. data/rails/pluralization/id.rb +3 -0
  192. data/rails/pluralization/ig.rb +3 -0
  193. data/rails/pluralization/ii.rb +3 -0
  194. data/rails/pluralization/is.rb +3 -0
  195. data/rails/pluralization/it-CH.rb +3 -0
  196. data/rails/pluralization/it.rb +3 -0
  197. data/rails/pluralization/iu.rb +3 -0
  198. data/rails/pluralization/ja.rb +3 -0
  199. data/rails/pluralization/jv.rb +3 -0
  200. data/rails/pluralization/ka.rb +3 -0
  201. data/rails/pluralization/kab.rb +3 -0
  202. data/rails/pluralization/kde.rb +3 -0
  203. data/rails/pluralization/kea.rb +3 -0
  204. data/rails/pluralization/km.rb +3 -0
  205. data/rails/pluralization/kn.rb +3 -0
  206. data/rails/pluralization/ko.rb +3 -0
  207. data/rails/pluralization/ksh.rb +23 -0
  208. data/rails/pluralization/kw.rb +3 -0
  209. data/rails/pluralization/lag.rb +24 -0
  210. data/rails/pluralization/ln.rb +3 -0
  211. data/rails/pluralization/lo.rb +3 -0
  212. data/rails/pluralization/lt.rb +27 -0
  213. data/rails/pluralization/lv.rb +22 -0
  214. data/rails/pluralization/mg.rb +3 -0
  215. data/rails/pluralization/mk.rb +22 -0
  216. data/rails/pluralization/ml.rb +3 -0
  217. data/rails/pluralization/mn.rb +3 -0
  218. data/rails/pluralization/mo.rb +3 -0
  219. data/rails/pluralization/mr-IN.rb +3 -0
  220. data/rails/pluralization/ms.rb +3 -0
  221. data/rails/pluralization/mt.rb +28 -0
  222. data/rails/pluralization/my.rb +3 -0
  223. data/rails/pluralization/naq.rb +3 -0
  224. data/rails/pluralization/nb.rb +3 -0
  225. data/rails/pluralization/ne.rb +3 -0
  226. data/rails/pluralization/nl.rb +3 -0
  227. data/rails/pluralization/nn.rb +3 -0
  228. data/rails/pluralization/nso.rb +3 -0
  229. data/rails/pluralization/oc.rb +3 -0
  230. data/rails/pluralization/or.rb +3 -0
  231. data/rails/pluralization/pa.rb +3 -0
  232. data/rails/pluralization/pl.rb +29 -0
  233. data/rails/pluralization/pt.rb +3 -0
  234. data/rails/pluralization/ro.rb +3 -0
  235. data/rails/pluralization/root.rb +3 -0
  236. data/rails/pluralization/ru.rb +3 -0
  237. data/rails/pluralization/sah.rb +3 -0
  238. data/rails/pluralization/se.rb +3 -0
  239. data/rails/pluralization/ses.rb +3 -0
  240. data/rails/pluralization/sg.rb +3 -0
  241. data/rails/pluralization/sh.rb +3 -0
  242. data/rails/pluralization/shi.rb +3 -0
  243. data/rails/pluralization/sk.rb +3 -0
  244. data/rails/pluralization/sl.rb +28 -0
  245. data/rails/pluralization/sma.rb +3 -0
  246. data/rails/pluralization/smi.rb +3 -0
  247. data/rails/pluralization/smj.rb +3 -0
  248. data/rails/pluralization/smn.rb +3 -0
  249. data/rails/pluralization/sms.rb +3 -0
  250. data/rails/pluralization/sr.rb +3 -0
  251. data/rails/pluralization/sv-SE.rb +3 -0
  252. data/rails/pluralization/sv.rb +3 -0
  253. data/rails/pluralization/sw.rb +3 -0
  254. data/rails/pluralization/th.rb +3 -0
  255. data/rails/pluralization/ti.rb +3 -0
  256. data/rails/pluralization/tl.rb +3 -0
  257. data/rails/pluralization/to.rb +3 -0
  258. data/rails/pluralization/tr.rb +3 -0
  259. data/rails/pluralization/tzm.rb +21 -0
  260. data/rails/pluralization/uk.rb +3 -0
  261. data/rails/pluralization/ur.rb +3 -0
  262. data/rails/pluralization/vi.rb +3 -0
  263. data/rails/pluralization/wa.rb +3 -0
  264. data/rails/pluralization/wo.rb +3 -0
  265. data/rails/pluralization/yo.rb +3 -0
  266. data/rails/pluralization/zh-CN.rb +3 -0
  267. data/rails/pluralization/zh-HK.rb +3 -0
  268. data/rails/pluralization/zh-TW.rb +3 -0
  269. data/rails/pluralization/zh-YUE.rb +3 -0
  270. data/rails/pluralization/zh.rb +3 -0
  271. data/rails/transliteration/az.yml +24 -0
  272. data/rails/transliteration/bg.yml +64 -0
  273. data/rails/transliteration/ca.yml +28 -0
  274. data/rails/transliteration/de.yml +12 -0
  275. data/rails/transliteration/el.yml +104 -0
  276. data/rails/transliteration/es.yml +18 -0
  277. data/rails/transliteration/fa.yml +47 -0
  278. data/rails/transliteration/fr.yml +36 -0
  279. data/rails/transliteration/hu.yml +22 -0
  280. data/rails/transliteration/oc.yml +28 -0
  281. data/rails/transliteration/pl.yml +22 -0
  282. data/rails/transliteration/pt.yml +28 -0
  283. data/rails/transliteration/ro.yml +14 -0
  284. data/rails/transliteration/ru.rb +93 -0
  285. data/rails/transliteration/uk.rb +129 -0
  286. data/rails/transliteration/vi.yml +138 -0
  287. metadata +376 -118
  288. data/rails/locale/bn-IN.yml +0 -223
  289. data/rails/locale/cs.rb +0 -229
  290. data/rails/locale/dsb.yml +0 -225
  291. data/rails/locale/fur.yml +0 -184
  292. data/rails/locale/gl-ES.yml +0 -236
  293. data/rails/locale/gsw-CH.yml +0 -222
  294. data/rails/locale/hsb.yml +0 -233
  295. data/rails/locale/pt-PT.yml +0 -230
  296. data/rails/locale/sr-Latn.yml +0 -159
  297. data/rails/locale/th.rb +0 -199
@@ -1,108 +1,184 @@
1
- # Australian English translations for Ruby on Rails
2
-
3
- "en-AU":
1
+ ---
2
+ en-AU:
3
+ activerecord:
4
+ errors:
5
+ messages:
6
+ record_invalid: "Validation failed: %{errors}"
7
+ restrict_dependent_destroy:
8
+ has_one: "Cannot delete record because a dependent %{record} exists"
9
+ has_many: "Cannot delete record because dependent %{record} exist"
4
10
  date:
11
+ abbr_day_names:
12
+ - Sun
13
+ - Mon
14
+ - Tue
15
+ - Wed
16
+ - Thu
17
+ - Fri
18
+ - Sat
19
+ abbr_month_names:
20
+ -
21
+ - Jan
22
+ - Feb
23
+ - Mar
24
+ - Apr
25
+ - May
26
+ - Jun
27
+ - Jul
28
+ - Aug
29
+ - Sep
30
+ - Oct
31
+ - Nov
32
+ - Dec
33
+ day_names:
34
+ - Sunday
35
+ - Monday
36
+ - Tuesday
37
+ - Wednesday
38
+ - Thursday
39
+ - Friday
40
+ - Saturday
5
41
  formats:
6
42
  default: "%d-%m-%Y"
7
- short: "%b %d"
8
- long: "%B %d, %Y"
9
-
10
- day_names:
11
- - Sunday
12
- - Monday
13
- - Tuesday
14
- - Wednesday
15
- - Thursday
16
- - Friday
17
- - Saturday
18
- abbr_day_names:
19
- - Sun
20
- - Mon
21
- - Tue
22
- - Wed
23
- - Thu
24
- - Fri
25
- - Sat
26
-
43
+ long: "%d %B, %Y"
44
+ short: "%d %b"
27
45
  month_names:
28
- - ~
29
- - January
30
- - February
31
- - March
32
- - April
33
- - May
34
- - June
35
- - July
36
- - August
37
- - September
38
- - October
39
- - November
40
- - December
41
- abbr_month_names:
42
- - ~
43
- - Jan
44
- - Feb
45
- - Mar
46
- - Apr
47
- - May
48
- - Jun
49
- - Jul
50
- - Aug
51
- - Sep
52
- - Oct
53
- - Nov
54
- - Dec
46
+ -
47
+ - January
48
+ - February
49
+ - March
50
+ - April
51
+ - May
52
+ - June
53
+ - July
54
+ - August
55
+ - September
56
+ - October
57
+ - November
58
+ - December
55
59
  order:
56
- - :year
57
- - :month
58
- - :day
59
-
60
- time:
61
- formats:
62
- default: "%a, %d %b %Y %H:%M:%S %z"
63
- short: "%d %b %H:%M"
64
- long: "%B %d, %Y %H:%M"
65
- am: "am"
66
- pm: "pm"
67
-
68
- support:
69
- array:
70
- words_connector: ", "
71
- two_words_connector: " and "
72
- last_word_connector: ", and "
73
-
60
+ - :year
61
+ - :month
62
+ - :day
63
+ datetime:
64
+ distance_in_words:
65
+ about_x_hours:
66
+ one: about 1 hour
67
+ other: about %{count} hours
68
+ about_x_months:
69
+ one: about 1 month
70
+ other: about %{count} months
71
+ about_x_years:
72
+ one: about 1 year
73
+ other: about %{count} years
74
+ almost_x_years:
75
+ one: almost 1 year
76
+ other: almost %{count} years
77
+ half_a_minute: half a minute
78
+ less_than_x_minutes:
79
+ one: less than a minute
80
+ other: less than %{count} minutes
81
+ less_than_x_seconds:
82
+ one: less than 1 second
83
+ other: less than %{count} seconds
84
+ over_x_years:
85
+ one: over 1 year
86
+ other: over %{count} years
87
+ x_days:
88
+ one: 1 day
89
+ other: "%{count} days"
90
+ x_minutes:
91
+ one: 1 minute
92
+ other: "%{count} minutes"
93
+ x_months:
94
+ one: 1 month
95
+ other: "%{count} months"
96
+ x_years:
97
+ one: 1 year
98
+ other: "%{count} years"
99
+ x_seconds:
100
+ one: 1 second
101
+ other: "%{count} seconds"
102
+ prompts:
103
+ day: Day
104
+ hour: Hour
105
+ minute: Minute
106
+ month: Month
107
+ second: Seconds
108
+ year: Year
109
+ errors:
110
+ format: "%{attribute} %{message}"
111
+ messages:
112
+ accepted: must be accepted
113
+ blank: can't be blank
114
+ present: must be blank
115
+ confirmation: doesn't match %{attribute}
116
+ empty: can't be empty
117
+ equal_to: must be equal to %{count}
118
+ even: must be even
119
+ exclusion: is reserved
120
+ greater_than: must be greater than %{count}
121
+ greater_than_or_equal_to: must be greater than or equal to %{count}
122
+ inclusion: is not included in the list
123
+ invalid: is invalid
124
+ less_than: must be less than %{count}
125
+ less_than_or_equal_to: must be less than or equal to %{count}
126
+ model_invalid: "Validation failed: %{errors}"
127
+ not_a_number: is not a number
128
+ not_an_integer: must be an integer
129
+ odd: must be odd
130
+ required: must exist
131
+ taken: has already been taken
132
+ too_long:
133
+ one: is too long (maximum is 1 character)
134
+ other: is too long (maximum is %{count} characters)
135
+ too_short:
136
+ one: is too short (minimum is 1 character)
137
+ other: is too short (minimum is %{count} characters)
138
+ wrong_length:
139
+ one: is the wrong length (should be 1 character)
140
+ other: is the wrong length (should be %{count} characters)
141
+ other_than: must be other than %{count}
142
+ template:
143
+ body: 'There were problems with the following fields:'
144
+ header:
145
+ one: 1 error prohibited this %{model} from being saved
146
+ other: "%{count} errors prohibited this %{model} from being saved"
147
+ helpers:
74
148
  select:
75
- prompt: "Please select"
76
-
149
+ prompt: Please select
150
+ submit:
151
+ create: Create %{model}
152
+ submit: Save %{model}
153
+ update: Update %{model}
77
154
  number:
78
- format:
79
- separator: "."
80
- delimiter: ","
81
- precision: 3
82
- significant: false
83
- strip_insignificant_zeros: false
84
-
85
155
  currency:
86
156
  format:
87
- format: "%u%n"
88
- unit: "$"
89
- separator: "."
90
157
  delimiter: ","
158
+ format: "%u%n"
91
159
  precision: 2
160
+ separator: "."
92
161
  significant: false
93
162
  strip_insignificant_zeros: false
94
-
95
- percentage:
96
- format:
97
- delimiter: ""
98
-
99
- precision:
100
- format:
101
- delimiter: ""
102
-
163
+ unit: "$"
164
+ format:
165
+ delimiter: ","
166
+ precision: 3
167
+ separator: "."
168
+ significant: false
169
+ strip_insignificant_zeros: false
103
170
  human:
171
+ decimal_units:
172
+ format: "%n %u"
173
+ units:
174
+ billion: Billion
175
+ million: Million
176
+ quadrillion: Quadrillion
177
+ thousand: Thousand
178
+ trillion: Trillion
179
+ unit: ''
104
180
  format:
105
- delimiter: ""
181
+ delimiter: ''
106
182
  precision: 3
107
183
  significant: true
108
184
  strip_insignificant_zeros: true
@@ -110,111 +186,30 @@
110
186
  format: "%n %u"
111
187
  units:
112
188
  byte:
113
- one: "Byte"
114
- other: "Bytes"
115
- kb: "KB"
116
- mb: "MB"
117
- gb: "GB"
118
- tb: "TB"
119
- decimal_units:
120
- format: "%n %u"
121
- units:
122
- unit: ""
123
- thousand: Thousand
124
- million: Million
125
- billion: Billion
126
- trillion: Trillion
127
- quadrillion: Quadrillion
128
-
129
- datetime:
130
- distance_in_words:
131
- half_a_minute: "half a minute"
132
- less_than_x_seconds:
133
- one: "less than 1 second"
134
- other: "less than %{count} seconds"
135
- x_seconds:
136
- one: "1 second"
137
- other: "%{count} seconds"
138
- less_than_x_minutes:
139
- one: "less than a minute"
140
- other: "less than %{count} minutes"
141
- x_minutes:
142
- one: "1 minute"
143
- other: "%{count} minutes"
144
- about_x_hours:
145
- one: "about 1 hour"
146
- other: "about %{count} hours"
147
- x_days:
148
- one: "1 day"
149
- other: "%{count} days"
150
- about_x_months:
151
- one: "about 1 month"
152
- other: "about %{count} months"
153
- x_months:
154
- one: "1 month"
155
- other: "%{count} months"
156
- about_x_years:
157
- one: "about 1 year"
158
- other: "about %{count} years"
159
- over_x_years:
160
- one: "over 1 year"
161
- other: "over %{count} years"
162
- almost_x_years:
163
- one: "almost 1 year"
164
- other: "almost %{count} years"
165
- prompts:
166
- year: "Year"
167
- month: "Month"
168
- day: "Day"
169
- hour: "Hour"
170
- minute: "Minute"
171
- second: "Seconds"
172
-
173
- helpers:
174
- select:
175
- prompt: "Please select"
176
-
177
- submit:
178
- create: 'Create %{model}'
179
- update: 'Update %{model}'
180
- submit: 'Save %{model}'
181
-
182
- errors:
183
- format: "%{attribute} %{message}"
184
-
185
- messages: &errors_messages
186
- inclusion: "is not included in the list"
187
- exclusion: "is reserved"
188
- invalid: "is invalid"
189
- confirmation: "doesn't match confirmation"
190
- accepted: "must be accepted"
191
- empty: "can't be empty"
192
- blank: "can't be blank"
193
- too_long: "is too long (maximum is %{count} characters)"
194
- too_short: "is too short (minimum is %{count} characters)"
195
- wrong_length: "is the wrong length (should be %{count} characters)"
196
- not_a_number: "is not a number"
197
- not_an_integer: "must be an integer"
198
- greater_than: "must be greater than %{count}"
199
- greater_than_or_equal_to: "must be greater than or equal to %{count}"
200
- equal_to: "must be equal to %{count}"
201
- less_than: "must be less than %{count}"
202
- less_than_or_equal_to: "must be less than or equal to %{count}"
203
- odd: "must be odd"
204
- even: "must be even"
205
-
206
- activerecord:
207
- errors:
208
- template:
209
- header:
210
- one: "1 error prohibited this %{model} from being saved"
211
- other: "%{count} errors prohibited this %{model} from being saved"
212
- body: "There were problems with the following fields:"
213
-
214
- messages:
215
- taken: "has already been taken"
216
- record_invalid: "Validation failed: %{errors}"
217
- <<: *errors_messages
218
-
219
- full_messages:
220
- format: "%{attribute} %{message}"
189
+ one: Byte
190
+ other: Bytes
191
+ gb: GB
192
+ kb: KB
193
+ mb: MB
194
+ tb: TB
195
+ pb: PB
196
+ eb: EB
197
+ percentage:
198
+ format:
199
+ delimiter: ''
200
+ format: "%n%"
201
+ precision:
202
+ format:
203
+ delimiter: ''
204
+ support:
205
+ array:
206
+ last_word_connector: ", and "
207
+ two_words_connector: " and "
208
+ words_connector: ", "
209
+ time:
210
+ am: am
211
+ formats:
212
+ default: "%a, %d %b %Y %H:%M:%S %z"
213
+ long: "%d %B, %Y %H:%M"
214
+ short: "%d %b %H:%M"
215
+ pm: pm
@@ -0,0 +1,215 @@
1
+ ---
2
+ en-CA:
3
+ activerecord:
4
+ errors:
5
+ messages:
6
+ record_invalid: "Validation failed: %{errors}"
7
+ restrict_dependent_destroy:
8
+ has_one: "Cannot delete record because a dependent %{record} exists"
9
+ has_many: "Cannot delete record because dependent %{record} exist"
10
+ date:
11
+ abbr_day_names:
12
+ - Sun
13
+ - Mon
14
+ - Tue
15
+ - Wed
16
+ - Thu
17
+ - Fri
18
+ - Sat
19
+ abbr_month_names:
20
+ -
21
+ - Jan
22
+ - Feb
23
+ - Mar
24
+ - Apr
25
+ - May
26
+ - Jun
27
+ - Jul
28
+ - Aug
29
+ - Sep
30
+ - Oct
31
+ - Nov
32
+ - Dec
33
+ day_names:
34
+ - Sunday
35
+ - Monday
36
+ - Tuesday
37
+ - Wednesday
38
+ - Thursday
39
+ - Friday
40
+ - Saturday
41
+ formats:
42
+ default: "%d-%m-%Y"
43
+ long: "%B %d, %Y"
44
+ short: "%d %b"
45
+ month_names:
46
+ -
47
+ - January
48
+ - February
49
+ - March
50
+ - April
51
+ - May
52
+ - June
53
+ - July
54
+ - August
55
+ - September
56
+ - October
57
+ - November
58
+ - December
59
+ order:
60
+ - :year
61
+ - :month
62
+ - :day
63
+ datetime:
64
+ distance_in_words:
65
+ about_x_hours:
66
+ one: about 1 hour
67
+ other: about %{count} hours
68
+ about_x_months:
69
+ one: about 1 month
70
+ other: about %{count} months
71
+ about_x_years:
72
+ one: about 1 year
73
+ other: about %{count} years
74
+ almost_x_years:
75
+ one: almost 1 year
76
+ other: almost %{count} years
77
+ half_a_minute: half a minute
78
+ less_than_x_minutes:
79
+ one: less than a minute
80
+ other: less than %{count} minutes
81
+ less_than_x_seconds:
82
+ one: less than 1 second
83
+ other: less than %{count} seconds
84
+ over_x_years:
85
+ one: over 1 year
86
+ other: over %{count} years
87
+ x_days:
88
+ one: 1 day
89
+ other: "%{count} days"
90
+ x_minutes:
91
+ one: 1 minute
92
+ other: "%{count} minutes"
93
+ x_months:
94
+ one: 1 month
95
+ other: "%{count} months"
96
+ x_years:
97
+ one: 1 year
98
+ other: "%{count} years"
99
+ x_seconds:
100
+ one: 1 second
101
+ other: "%{count} seconds"
102
+ prompts:
103
+ day: Day
104
+ hour: Hour
105
+ minute: Minute
106
+ month: Month
107
+ second: Seconds
108
+ year: Year
109
+ errors:
110
+ format: "%{attribute} %{message}"
111
+ messages:
112
+ accepted: must be accepted
113
+ blank: can't be blank
114
+ present: must be blank
115
+ confirmation: doesn't match %{attribute}
116
+ empty: can't be empty
117
+ equal_to: must be equal to %{count}
118
+ even: must be even
119
+ exclusion: is reserved
120
+ greater_than: must be greater than %{count}
121
+ greater_than_or_equal_to: must be greater than or equal to %{count}
122
+ inclusion: is not included in the list
123
+ invalid: is invalid
124
+ less_than: must be less than %{count}
125
+ less_than_or_equal_to: must be less than or equal to %{count}
126
+ model_invalid: "Validation failed: %{errors}"
127
+ not_a_number: is not a number
128
+ not_an_integer: must be an integer
129
+ odd: must be odd
130
+ required: must exist
131
+ taken: has already been taken
132
+ too_long:
133
+ one: is too long (maximum is 1 character)
134
+ other: is too long (maximum is %{count} characters)
135
+ too_short:
136
+ one: is too short (minimum is 1 character)
137
+ other: is too short (minimum is %{count} characters)
138
+ wrong_length:
139
+ one: is the wrong length (should be 1 character)
140
+ other: is the wrong length (should be %{count} characters)
141
+ other_than: must be other than %{count}
142
+ template:
143
+ body: 'There were problems with the following fields:'
144
+ header:
145
+ one: 1 error prohibited this %{model} from being saved
146
+ other: "%{count} errors prohibited this %{model} from being saved"
147
+ helpers:
148
+ select:
149
+ prompt: Please select
150
+ submit:
151
+ create: Create %{model}
152
+ submit: Save %{model}
153
+ update: Update %{model}
154
+ number:
155
+ currency:
156
+ format:
157
+ delimiter: ","
158
+ format: "%u%n"
159
+ precision: 2
160
+ separator: "."
161
+ significant: false
162
+ strip_insignificant_zeros: false
163
+ unit: "$"
164
+ format:
165
+ delimiter: ","
166
+ precision: 3
167
+ separator: "."
168
+ significant: false
169
+ strip_insignificant_zeros: false
170
+ human:
171
+ decimal_units:
172
+ format: "%n %u"
173
+ units:
174
+ billion: Billion
175
+ million: Million
176
+ quadrillion: Quadrillion
177
+ thousand: Thousand
178
+ trillion: Trillion
179
+ unit: ''
180
+ format:
181
+ delimiter: ''
182
+ precision: 3
183
+ significant: true
184
+ strip_insignificant_zeros: true
185
+ storage_units:
186
+ format: "%n %u"
187
+ units:
188
+ byte:
189
+ one: Byte
190
+ other: Bytes
191
+ gb: GB
192
+ kb: KB
193
+ mb: MB
194
+ tb: TB
195
+ pb: PB
196
+ eb: EB
197
+ percentage:
198
+ format:
199
+ delimiter: ''
200
+ format: "%n%"
201
+ precision:
202
+ format:
203
+ delimiter: ''
204
+ support:
205
+ array:
206
+ last_word_connector: ", and "
207
+ two_words_connector: " and "
208
+ words_connector: ", "
209
+ time:
210
+ am: am
211
+ formats:
212
+ default: "%a, %d %b %Y %I:%M:%S %p %Z"
213
+ long: "%B %d, %Y %I:%M %p"
214
+ short: "%d %b %I:%M %p"
215
+ pm: pm