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
data/rails/locale/vi.yml CHANGED
@@ -1,241 +1,202 @@
1
- # Vietnamese translation for Ruby on Rails
2
- # by
3
- # Do Hai Bac (dohaibac@gmail.com)
4
- # Dao Thanh Ngoc (ngocdaothanh@gmail.com, http://github.com/ngocdaothanh/rails-i18n/tree/master)
5
-
1
+ ---
6
2
  vi:
3
+ activerecord:
4
+ errors:
5
+ messages:
6
+ record_invalid: 'Có các lỗi sau: %{errors}'
7
+ restrict_dependent_destroy:
8
+ has_one: Không thể xóa do tồn tại đối tượng phụ thuộc %{record}
9
+ has_many: Không thể xóa do tồn tại một số đối tượng phụ thuộc %{record}
10
+ date:
11
+ abbr_day_names:
12
+ - CN
13
+ - Thứ 2
14
+ - Thứ 3
15
+ - Thứ 4
16
+ - Thứ 5
17
+ - Thứ 6
18
+ - Thứ 7
19
+ abbr_month_names:
20
+ -
21
+ - Thg 1
22
+ - Thg 2
23
+ - Thg 3
24
+ - Thg 4
25
+ - Thg 5
26
+ - Thg 6
27
+ - Thg 7
28
+ - Thg 8
29
+ - Thg 9
30
+ - Thg 10
31
+ - Thg 11
32
+ - Thg 12
33
+ day_names:
34
+ - Chủ nhật
35
+ - Thứ hai
36
+ - Thứ ba
37
+ - Thứ tư
38
+ - Thứ năm
39
+ - Thứ sáu
40
+ - Thứ bảy
41
+ formats:
42
+ default: "%d-%m-%Y"
43
+ long: "%d %B, %Y"
44
+ short: "%d %b"
45
+ month_names:
46
+ -
47
+ - Tháng một
48
+ - Tháng hai
49
+ - Tháng ba
50
+ - Tháng tư
51
+ - Tháng năm
52
+ - Tháng sáu
53
+ - Tháng bảy
54
+ - Tháng tám
55
+ - Tháng chín
56
+ - Tháng mười
57
+ - Tháng mười một
58
+ - Tháng mười hai
59
+ order:
60
+ - :day
61
+ - :month
62
+ - :year
63
+ datetime:
64
+ distance_in_words:
65
+ about_x_hours:
66
+ one: khoảng 1 giờ
67
+ other: khoảng %{count} giờ
68
+ about_x_months:
69
+ one: khoảng 1 tháng
70
+ other: khoảng %{count} tháng
71
+ about_x_years:
72
+ one: khoảng 1 năm
73
+ other: khoảng %{count} năm
74
+ almost_x_years:
75
+ one: gần 1 năm
76
+ other: gần %{count} năm
77
+ half_a_minute: 30 giây
78
+ less_than_x_minutes:
79
+ one: chưa tới 1 phút
80
+ other: chưa tới %{count} phút
81
+ less_than_x_seconds:
82
+ one: chưa tới 1 giây
83
+ other: chưa tới %{count} giây
84
+ over_x_years:
85
+ one: hơn 1 năm
86
+ other: hơn %{count} năm
87
+ x_days:
88
+ one: 1 ngày
89
+ other: "%{count} ngày"
90
+ x_minutes:
91
+ one: 1 phút
92
+ other: "%{count} phút"
93
+ x_months:
94
+ one: 1 tháng
95
+ other: "%{count} tháng"
96
+ x_seconds:
97
+ one: 1 giây
98
+ other: "%{count} giây"
99
+ prompts:
100
+ day: Ngày
101
+ hour: Giờ
102
+ minute: Phút
103
+ month: Tháng
104
+ second: Giây
105
+ year: Năm
106
+ errors:
107
+ format: "%{attribute} %{message}"
108
+ messages:
109
+ accepted: phải được đồng ý
110
+ blank: không thể để trắng
111
+ present: cần phải để trắng
112
+ confirmation: không khớp với xác nhận
113
+ empty: không thể rỗng
114
+ equal_to: phải bằng %{count}
115
+ even: phải là số chẵn
116
+ exclusion: đã được giành trước
117
+ greater_than: phải lớn hơn %{count}
118
+ greater_than_or_equal_to: phải lớn hơn hoặc bằng %{count}
119
+ inclusion: không có trong danh sách
120
+ invalid: không hợp lệ
121
+ less_than: phải nhỏ hơn %{count}
122
+ less_than_or_equal_to: phải nhỏ hơn hoặc bằng %{count}
123
+ not_a_number: không phải là số
124
+ not_an_integer: phải là một số nguyên
125
+ odd: phải là số lẻ
126
+ taken: đã có
127
+ too_long: quá dài (tối đa %{count} ký tự)
128
+ too_short: quá ngắn (tối thiểu %{count} ký tự)
129
+ wrong_length: độ dài không đúng (phải là %{count} ký tự)
130
+ other_than: cần phải khác %{count}
131
+ template:
132
+ body: 'Có lỗi với các mục sau:'
133
+ header:
134
+ one: 1 lỗi ngăn không cho lưu %{model} này
135
+ other: "%{count} lỗi ngăn không cho lưu %{model} này"
136
+ helpers:
137
+ select:
138
+ prompt: Vui lòng chọn
139
+ submit:
140
+ create: Tạo %{model}
141
+ submit: Lưu %{model}
142
+ update: Cập nhật %{model}
7
143
  number:
8
- # Used in number_with_delimiter()
9
- # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
144
+ currency:
145
+ format:
146
+ delimiter: "."
147
+ format: "%n %u"
148
+ precision: 0
149
+ separator: ","
150
+ significant: false
151
+ strip_insignificant_zeros: false
152
+ unit: VNĐ
10
153
  format:
11
- # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
12
- separator: ","
13
- # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
14
154
  delimiter: "."
15
- # Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
16
155
  precision: 3
17
-
18
- # Used in number_to_currency()
19
- currency:
156
+ separator: ","
157
+ significant: false
158
+ strip_insignificant_zeros: false
159
+ human:
160
+ decimal_units:
161
+ format: "%n %u"
162
+ units:
163
+ unit: ''
164
+ billion: Tỷ
165
+ million: Triệu
166
+ quadrillion: Triệu tỷ
167
+ thousand: Nghìn
168
+ trillion: Nghìn tỷ
20
169
  format:
21
- # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
170
+ delimiter: ''
171
+ precision: 1
172
+ significant: true
173
+ strip_insignificant_zeros: true
174
+ storage_units:
22
175
  format: "%n %u"
23
- unit: "đồng"
24
- # These three are to override number.format and are optional
25
- separator: ","
26
- delimiter: "."
27
- precision: 2
28
-
29
- # Used in number_to_percentage()
176
+ units:
177
+ byte:
178
+ one: Byte
179
+ other: Byte
180
+ gb: GB
181
+ kb: KB
182
+ mb: MB
183
+ tb: TB
30
184
  percentage:
31
185
  format:
32
- # These three are to override number.format and are optional
33
- # separator:
34
- delimiter: ""
35
- # precision:
36
-
37
- # Used in number_to_precision()
186
+ delimiter: ''
187
+ format: "%n%"
38
188
  precision:
39
189
  format:
40
- # These three are to override number.format and are optional
41
- # separator:
42
- delimiter: ""
43
- # precision:
44
-
45
- # Used in number_to_human_size()
46
- human:
47
- format:
48
- # These three are to override number.format and are optional
49
- # separator:
50
- delimiter: ""
51
- precision: 1
52
- storage_units:
53
- # Storage units output formatting.
54
- # %u is the storage unit, %n is the number (default: 2 MB)
55
- format: "%n %u"
56
- units:
57
- byte:
58
- one: "Byte"
59
- other: "Byte"
60
- kb: "KB"
61
- mb: "MB"
62
- gb: "GB"
63
- tb: "TB"
64
-
65
- # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
66
- datetime:
67
- distance_in_words:
68
- half_a_minute: "30 giây"
69
- less_than_x_seconds:
70
- one: "chưa tới 1 giây"
71
- other: "chưa tới %{count} giây"
72
- x_seconds:
73
- one: "1 giây"
74
- other: "%{count} giây"
75
- less_than_x_minutes:
76
- one: "chưa tới 1 phút"
77
- other: "chưa tới %{count} phút"
78
- x_minutes:
79
- one: "1 phút"
80
- other: "%{count} phút"
81
- about_x_hours:
82
- one: "khoảng 1 giờ"
83
- other: "khoảng %{count} giờ"
84
- x_days:
85
- one: "1 ngày"
86
- other: "%{count} ngày"
87
- about_x_months:
88
- one: "khoảng 1 tháng"
89
- other: "khoảng %{count} tháng"
90
- x_months:
91
- one: "1 tháng"
92
- other: "%{count} tháng"
93
- about_x_years:
94
- one: "khoảng 1 năm"
95
- other: "khoảng %{count} năm"
96
- over_x_years:
97
- one: "hơn 1 năm"
98
- other: "hơn %{count} năm"
99
- prompts:
100
- year: "Năm"
101
- month: "Tháng"
102
- day: "Ngày"
103
- hour: "Giờ"
104
- minute: "Phút"
105
- second: "Giây"
106
-
107
- activerecord:
108
- errors:
109
- template:
110
- header:
111
- one: "1 lỗi ngăn không cho lưu %{model} này"
112
- other: "%{count} lỗi ngăn không cho lưu %{model} này"
113
- # The variable :count is also available
114
- body: "Có lỗi với các mục sau:"
115
-
116
- # The values :model, :attribute and :value are always available for interpolation
117
- # The value :count is available when applicable. Can be used for pluralization.
118
- messages:
119
- inclusion: "không có trong danh sách"
120
- exclusion: "đã được giành trước"
121
- invalid: "không hợp lệ"
122
- confirmation: "không khớp với xác nhận"
123
- accepted: "phải được đồng ý"
124
- empty: "không thể rỗng"
125
- blank: "không thể để trắng"
126
- too_long: "quá dài (tối đa %{count} ký tự)"
127
- too_short: "quá ngắn (tối thiểu %{count} ký tự)"
128
- wrong_length: "độ dài không đúng (phải là %{count} ký tự)"
129
- taken: "đã có"
130
- not_a_number: "không phải là số"
131
- greater_than: "phải lớn hơn %{count}"
132
- greater_than_or_equal_to: "phải lớn hơn hoặc bằng %{count}"
133
- equal_to: "phải bằng %{count}"
134
- less_than: "phải nhỏ hơn %{count}"
135
- less_than_or_equal_to: "phải nhỏ hơn hoặc bằng %{count}"
136
- odd: "phải là số chẵn"
137
- even: "phải là số lẻ"
138
- # Append your own errors here or at the model/attributes scope.
139
-
140
- # You can define own errors for models or model attributes.
141
- # The values :model, :attribute and :value are always available for interpolation.
142
- #
143
- # For example,
144
- # models:
145
- # user:
146
- # blank: "This is a custom blank message for %{model}: %{attribute}"
147
- # attributes:
148
- # login:
149
- # blank: "This is a custom blank message for User login"
150
- # Will define custom blank validation message for User model and
151
- # custom blank validation message for login attribute of User model.
152
- # models:
153
-
154
- # Translate model names. Used in Model.human_name().
155
- #models:
156
- # For example,
157
- # user: "Dude"
158
- # will translate User model name to "Dude"
159
-
160
- # Translate model attribute names. Used in Model.human_attribute_name(attribute).
161
- #attributes:
162
- # For example,
163
- # user:
164
- # login: "Handle"
165
- # will translate User attribute "login" as "Handle"
166
-
167
- date:
168
- formats:
169
- # Use the strftime parameters for formats.
170
- # When no format has been given, it uses default.
171
- # You can provide other formats here if you like!
172
- default: "%d-%m-%Y"
173
- short: "%d %b"
174
- long: "%d %B, %Y"
175
-
176
- day_names:
177
- - "Chủ nhật"
178
- - "Thứ hai"
179
- - "Thứ ba"
180
- - "Thứ tư"
181
- - "Thứ năm"
182
- - "Thứ sáu"
183
- - "Thứ bảy"
184
- abbr_day_names:
185
- - "Chủ nhật"
186
- - "Thứ hai"
187
- - "Thứ ba"
188
- - "Thứ tư"
189
- - "Thứ năm"
190
- - "Thứ sáu"
191
- - "Thứ bảy"
192
-
193
- # Don't forget the nil at the beginning; there's no such thing as a 0th month
194
- month_names:
195
- - ~
196
- - "Tháng một"
197
- - "Tháng hai"
198
- - "Tháng ba"
199
- - "Tháng tư"
200
- - "Tháng năm"
201
- - "Tháng sáu"
202
- - "Tháng bảy"
203
- - "Tháng tám"
204
- - "Tháng chín"
205
- - "Tháng mười"
206
- - "Tháng mười một"
207
- - "Tháng mười hai"
208
- abbr_month_names:
209
- - ~
210
- - "Tháng một"
211
- - "Tháng hai"
212
- - "Tháng ba"
213
- - "Tháng tư"
214
- - "Tháng năm"
215
- - "Tháng sáu"
216
- - "Tháng bảy"
217
- - "Tháng tám"
218
- - "Tháng chín"
219
- - "Tháng mười"
220
- - "Tháng mười một"
221
- - "Tháng mười hai"
222
- # Used in date_select and datime_select.
223
- order:
224
- - :day
225
- - :month
226
- - :year
227
-
190
+ delimiter: ''
191
+ support:
192
+ array:
193
+ last_word_connector: ", và "
194
+ two_words_connector: " và "
195
+ words_connector: ", "
228
196
  time:
197
+ am: sáng
229
198
  formats:
230
199
  default: "%a, %d %b %Y %H:%M:%S %z"
231
- short: "%d %b %H:%M"
232
200
  long: "%d %B, %Y %H:%M"
233
- am: "sáng"
234
- pm: "chiều"
235
-
236
- # Used in array.to_sentence.
237
- support:
238
- array:
239
- words_connector: ", "
240
- two_words_connector: " và "
241
- last_word_connector: ", và "
201
+ short: "%d %b %H:%M"
202
+ pm: chiều
@@ -0,0 +1,208 @@
1
+ ---
2
+ wo:
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
+ - Dib
13
+ - Alt
14
+ - Tal
15
+ - All
16
+ - Alx
17
+ - Ajj
18
+ - Gaw
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
+ - Dibèer
35
+ - Altine
36
+ - Talaata
37
+ - Allarba
38
+ - Alxamess
39
+ - Ajjouma
40
+ - Gaawu
41
+ formats:
42
+ default: "%Y-%m-%d"
43
+ long: "%B %d, %Y"
44
+ short: "%b %d"
45
+ month_names:
46
+ -
47
+ - Tamkharit
48
+ - Digui Gamou
49
+ - Gamou
50
+ - Raki Gamou
51
+ - Rakati Gamou
52
+ - Mamou Kor
53
+ - Ndeyou Kor
54
+ - Baraxlou
55
+ - Kor
56
+ - Kori
57
+ - Digui Tabaski
58
+ - Tabaski
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
+ confirmation: doesn't match %{attribute}
115
+ empty: can't be empty
116
+ equal_to: must be equal to %{count}
117
+ even: must be even
118
+ exclusion: is reserved
119
+ greater_than: must be greater than %{count}
120
+ greater_than_or_equal_to: must be greater than or equal to %{count}
121
+ inclusion: is not included in the list
122
+ invalid: is invalid
123
+ less_than: must be less than %{count}
124
+ less_than_or_equal_to: must be less than or equal to %{count}
125
+ not_a_number: is not a number
126
+ not_an_integer: must be an integer
127
+ odd: must be odd
128
+ taken: has already been taken
129
+ too_long:
130
+ one: is too long (maximum is 1 character)
131
+ other: is too long (maximum is %{count} characters)
132
+ too_short:
133
+ one: is too short (minimum is 1 character)
134
+ other: is too short (minimum is %{count} characters)
135
+ wrong_length:
136
+ one: is the wrong length (should be 1 character)
137
+ other: is the wrong length (should be %{count} characters)
138
+ template:
139
+ body: 'There were problems with the following fields:'
140
+ header:
141
+ one: 1 error prohibited this %{model} from being saved
142
+ other: "%{count} errors prohibited this %{model} from being saved"
143
+ helpers:
144
+ select:
145
+ prompt: Please select
146
+ submit:
147
+ create: Create %{model}
148
+ submit: Save %{model}
149
+ update: Update %{model}
150
+ number:
151
+ currency:
152
+ format:
153
+ delimiter: ","
154
+ format: "%u%n"
155
+ precision: 2
156
+ separator: "."
157
+ significant: false
158
+ strip_insignificant_zeros: false
159
+ unit: "$"
160
+ format:
161
+ delimiter: ","
162
+ precision: 3
163
+ separator: "."
164
+ significant: false
165
+ strip_insignificant_zeros: false
166
+ human:
167
+ decimal_units:
168
+ format: "%n %u"
169
+ units:
170
+ billion: Billion
171
+ million: Million
172
+ quadrillion: Quadrillion
173
+ thousand: Thousand
174
+ trillion: Trillion
175
+ unit: ''
176
+ format:
177
+ delimiter: ''
178
+ precision: 3
179
+ significant: true
180
+ strip_insignificant_zeros: true
181
+ storage_units:
182
+ format: "%n %u"
183
+ units:
184
+ byte:
185
+ one: Byte
186
+ other: Bytes
187
+ gb: GB
188
+ kb: KB
189
+ mb: MB
190
+ tb: TB
191
+ percentage:
192
+ format:
193
+ delimiter: ''
194
+ precision:
195
+ format:
196
+ delimiter: ''
197
+ support:
198
+ array:
199
+ last_word_connector: ", and "
200
+ two_words_connector: " and "
201
+ words_connector: ", "
202
+ time:
203
+ am: am
204
+ formats:
205
+ default: "%a, %d %b %Y %H:%M:%S %z"
206
+ long: "%B %d, %Y %H:%M"
207
+ short: "%d %b %H:%M"
208
+ pm: pm