rails-i18n 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. data/MIT-LICENSE.txt +21 -0
  2. data/README.md +118 -0
  3. data/lib/rails-i18n.rb +4 -0
  4. data/rails/locale/ar.yml +226 -0
  5. data/rails/locale/bg.yml +322 -0
  6. data/rails/locale/bn-IN.yml +223 -0
  7. data/rails/locale/bs.yml +157 -0
  8. data/rails/locale/ca.yml +253 -0
  9. data/rails/locale/cs.rb +229 -0
  10. data/rails/locale/cy.yml +221 -0
  11. data/rails/locale/da.yml +235 -0
  12. data/rails/locale/de-AT.yml +194 -0
  13. data/rails/locale/de-CH.yml +194 -0
  14. data/rails/locale/de.yml +233 -0
  15. data/rails/locale/dsb.yml +225 -0
  16. data/rails/locale/el.yml +173 -0
  17. data/rails/locale/en-AU.yml +220 -0
  18. data/rails/locale/en-GB.yml +220 -0
  19. data/rails/locale/en-US.yml +222 -0
  20. data/rails/locale/eo.yml +222 -0
  21. data/rails/locale/es-AR.yml +219 -0
  22. data/rails/locale/es-CL.yml +224 -0
  23. data/rails/locale/es-CO.yml +220 -0
  24. data/rails/locale/es-MX.yml +227 -0
  25. data/rails/locale/es-PE.yml +170 -0
  26. data/rails/locale/es.yml +225 -0
  27. data/rails/locale/et.yml +260 -0
  28. data/rails/locale/eu.yml +224 -0
  29. data/rails/locale/fa.yml +222 -0
  30. data/rails/locale/fi.yml +225 -0
  31. data/rails/locale/fr-CA.yml +227 -0
  32. data/rails/locale/fr-CH.yml +224 -0
  33. data/rails/locale/fr.yml +222 -0
  34. data/rails/locale/fur.yml +184 -0
  35. data/rails/locale/gl-ES.yml +236 -0
  36. data/rails/locale/gsw-CH.yml +222 -0
  37. data/rails/locale/he.yml +227 -0
  38. data/rails/locale/hi-IN.yml +221 -0
  39. data/rails/locale/hi.yml +221 -0
  40. data/rails/locale/hr.yml +159 -0
  41. data/rails/locale/hsb.yml +233 -0
  42. data/rails/locale/hu.yml +215 -0
  43. data/rails/locale/id.yml +187 -0
  44. data/rails/locale/is.yml +230 -0
  45. data/rails/locale/it.yml +235 -0
  46. data/rails/locale/ja.yml +228 -0
  47. data/rails/locale/kn.yml +222 -0
  48. data/rails/locale/ko.yml +228 -0
  49. data/rails/locale/lo.yml +244 -0
  50. data/rails/locale/lt.yml +184 -0
  51. data/rails/locale/lv.yml +221 -0
  52. data/rails/locale/mk.yml +158 -0
  53. data/rails/locale/mn.yml +199 -0
  54. data/rails/locale/nb.yml +220 -0
  55. data/rails/locale/nl.yml +226 -0
  56. data/rails/locale/nn.yml +139 -0
  57. data/rails/locale/pl.yml +234 -0
  58. data/rails/locale/pt-BR.yml +239 -0
  59. data/rails/locale/pt-PT.yml +230 -0
  60. data/rails/locale/rm.yml +177 -0
  61. data/rails/locale/ro.yml +211 -0
  62. data/rails/locale/ru.yml +376 -0
  63. data/rails/locale/sk.yml +236 -0
  64. data/rails/locale/sl.yml +233 -0
  65. data/rails/locale/sr-Latn.yml +159 -0
  66. data/rails/locale/sr.yml +159 -0
  67. data/rails/locale/sv-SE.yml +273 -0
  68. data/rails/locale/sw.yml +222 -0
  69. data/rails/locale/th.rb +199 -0
  70. data/rails/locale/tr.yml +181 -0
  71. data/rails/locale/uk.yml +351 -0
  72. data/rails/locale/vi.yml +241 -0
  73. data/rails/locale/zh-CN.yml +250 -0
  74. data/rails/locale/zh-TW.yml +250 -0
  75. metadata +153 -0
@@ -0,0 +1,250 @@
1
+ # Chinese (China) translations for Ruby on Rails
2
+ # by tsechingho (http://github.com/tsechingho)
3
+
4
+ zh-CN:
5
+ date:
6
+ formats:
7
+ default: "%Y-%m-%d"
8
+ short: "%b%d日"
9
+ long: "%Y年%b%d日"
10
+ day_names:
11
+ - 星期日
12
+ - 星期一
13
+ - 星期二
14
+ - 星期三
15
+ - 星期四
16
+ - 星期五
17
+ - 星期六
18
+ abbr_day_names:
19
+ - 日
20
+ - 一
21
+ - 二
22
+ - 三
23
+ - 四
24
+ - 五
25
+ - 六
26
+ month_names:
27
+ - ~
28
+ - 一月
29
+ - 二月
30
+ - 三月
31
+ - 四月
32
+ - 五月
33
+ - 六月
34
+ - 七月
35
+ - 八月
36
+ - 九月
37
+ - 十月
38
+ - 十一月
39
+ - 十二月
40
+ abbr_month_names:
41
+ - ~
42
+ - 1月
43
+ - 2月
44
+ - 3月
45
+ - 4月
46
+ - 5月
47
+ - 6月
48
+ - 7月
49
+ - 8月
50
+ - 9月
51
+ - 10月
52
+ - 11月
53
+ - 12月
54
+ order:
55
+ - :year
56
+ - :month
57
+ - :day
58
+
59
+ time:
60
+ formats:
61
+ default: "%Y年%b%d日 %A %H:%M:%S %Z"
62
+ short: "%b%d日 %H:%M"
63
+ long: "%Y年%b%d日 %H:%M"
64
+ am: "上午"
65
+ pm: "下午"
66
+
67
+ datetime:
68
+ distance_in_words:
69
+ half_a_minute: "半分钟"
70
+ less_than_x_seconds:
71
+ one: "不到一秒"
72
+ other: "不到 %{count} 秒"
73
+ x_seconds:
74
+ one: "一秒"
75
+ other: "%{count} 秒"
76
+ less_than_x_minutes:
77
+ one: "不到一分钟"
78
+ other: "不到 %{count} 分钟"
79
+ x_minutes:
80
+ one: "一分钟"
81
+ other: "%{count} 分钟"
82
+ about_x_hours:
83
+ one: "大约一小时"
84
+ other: "大约 %{count} 小时"
85
+ x_days:
86
+ one: "一天"
87
+ other: "%{count} 天"
88
+ about_x_months:
89
+ one: "大约一个月"
90
+ other: "大约 %{count} 个月"
91
+ x_months:
92
+ one: "一个月"
93
+ other: "%{count} 个月"
94
+ about_x_years:
95
+ one: "大约一年"
96
+ other: "大约 %{count} 年"
97
+ over_x_years:
98
+ one: "一年多"
99
+ other: "%{count} 年多"
100
+ almost_x_years:
101
+ one: "接近一年"
102
+ other: "接近 %{count} 年"
103
+ prompts:
104
+ year: "年"
105
+ month: "月"
106
+ day: "日"
107
+ hour: "时"
108
+ minute: "分"
109
+ second: "秒"
110
+
111
+ number:
112
+ format:
113
+ separator: "."
114
+ delimiter: ","
115
+ precision: 3
116
+ significant: false
117
+ strip_insignificant_zeros: false
118
+ currency:
119
+ format:
120
+ format: "%u %n"
121
+ unit: "CN¥"
122
+ separator: "."
123
+ delimiter: ","
124
+ precision: 2
125
+ significant: false
126
+ strip_insignificant_zeros: false
127
+ percentage:
128
+ format:
129
+ delimiter: ""
130
+ precision:
131
+ format:
132
+ delimiter: ""
133
+ human:
134
+ format:
135
+ delimiter: ""
136
+ precision: 1
137
+ significant: false
138
+ strip_insignificant_zeros: false
139
+ storage_units:
140
+ format: "%n %u"
141
+ units:
142
+ byte:
143
+ one: "Byte"
144
+ other: "Bytes"
145
+ kb: "KB"
146
+ mb: "MB"
147
+ gb: "GB"
148
+ tb: "TB"
149
+ decimal_units:
150
+ format: "%n %u"
151
+ units:
152
+ # 10^-21 zepto, 10^-24 yocto
153
+ atto: "渺" # 10^-18
154
+ femto: "飞" # 10^-15 毫微微
155
+ pico: "漠" # 10^-12 微微
156
+ nano: "奈" # 10^-9 毫微
157
+ micro: "微" # 10^-6
158
+ mili: "毫" # 10^-3 milli
159
+ centi: "厘" # 10^-2
160
+ deci: "分" # 10^-1
161
+ unit: ""
162
+ ten:
163
+ one: "十"
164
+ other: "十" # 10^1
165
+ hundred: "百" # 10^2
166
+ thousand: "千" # 10^3 kilo
167
+ million: "百万" # 10^6 mega
168
+ billion: "十亿" # 10^9 giga
169
+ trillion: "兆" # 10^12 tera
170
+ quadrillion: "千兆" # 10^15 peta
171
+ # 10^18 exa, 10^21 zetta, 10^24 yotta
172
+
173
+ support:
174
+ array:
175
+ words_connector: ", "
176
+ two_words_connector: " 和 "
177
+ last_word_connector: ", 和 "
178
+ select:
179
+ prompt: "请选择"
180
+
181
+ activerecord:
182
+ errors:
183
+ template: # ~ 2.3.5 backward compatible
184
+ header:
185
+ one: "有 1 个错误发生导致「%{model}」无法被保存。"
186
+ other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
187
+ body: "如下字段出现错误:"
188
+ full_messages:
189
+ format: "%{attribute} %{message}"
190
+ messages:
191
+ inclusion: "不包含于列表中"
192
+ exclusion: "是保留关键字"
193
+ invalid: "是无效的"
194
+ confirmation: "与确认值不匹配"
195
+ accepted: "必须是可被接受的"
196
+ empty: "不能留空"
197
+ blank: "不能为空字符"
198
+ too_long: "过长(最长为 %{count} 个字符)"
199
+ too_short: "过短(最短为 %{count} 个字符)"
200
+ wrong_length: "长度非法(必须为 %{count} 个字符)"
201
+ not_a_number: "不是数字"
202
+ not_an_integer: "必须是整数"
203
+ greater_than: "必须大于 %{count}"
204
+ greater_than_or_equal_to: "必须大于或等于 %{count}"
205
+ equal_to: "必须等于 %{count}"
206
+ less_than: "必须小于 %{count}"
207
+ less_than_or_equal_to: "必须小于或等于 %{count}"
208
+ odd: "必须为单数"
209
+ even: "必须为双数"
210
+ taken: "已经被使用"
211
+ record_invalid: "校验失败: %{errors}"
212
+
213
+ activemodel:
214
+ errors:
215
+ template:
216
+ header:
217
+ one: "有 1 个错误发生导致「%{model}」无法被保存。"
218
+ other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
219
+ body: "如下字段出现错误:"
220
+
221
+ errors:
222
+ format: "%{attribute} %{message}"
223
+ messages:
224
+ inclusion: "不包含于列表中"
225
+ exclusion: "是保留关键字"
226
+ invalid: "是无效的"
227
+ confirmation: "与确认值不匹配"
228
+ accepted: "必须是可被接受的"
229
+ empty: "不能留空"
230
+ blank: "不能为空字符"
231
+ too_long: "过长(最长为 %{count} 个字符)"
232
+ too_short: "过短(最短为 %{count} 个字符)"
233
+ wrong_length: "长度非法(必须为 %{count} 个字符)"
234
+ not_a_number: "不是数字"
235
+ not_an_integer: "必须是整数"
236
+ greater_than: "必须大于 %{count}"
237
+ greater_than_or_equal_to: "必须大于或等于 %{count}"
238
+ equal_to: "必须等于 %{count}"
239
+ less_than: "必须小于 %{count}"
240
+ less_than_or_equal_to: "必须小于或等于 %{count}"
241
+ odd: "必须为单数"
242
+ even: "必须为双数"
243
+
244
+ helpers:
245
+ select:
246
+ prompt: "请选择"
247
+ submit:
248
+ create: "新增%{model}"
249
+ update: "更新%{model}"
250
+ submit: "储存%{model}"
@@ -0,0 +1,250 @@
1
+ # Chinese (Taiwan) translations for Ruby on Rails
2
+ # by tsechingho (http://github.com/tsechingho)
3
+
4
+ zh-TW:
5
+ date:
6
+ formats:
7
+ default: "%Y-%m-%d"
8
+ short: "%b%d日"
9
+ long: "%Y年%b%d日"
10
+ day_names:
11
+ - 星期日
12
+ - 星期一
13
+ - 星期二
14
+ - 星期三
15
+ - 星期四
16
+ - 星期五
17
+ - 星期六
18
+ abbr_day_names:
19
+ - 日
20
+ - 一
21
+ - 二
22
+ - 三
23
+ - 四
24
+ - 五
25
+ - 六
26
+ month_names:
27
+ - ~
28
+ - 一月
29
+ - 二月
30
+ - 三月
31
+ - 四月
32
+ - 五月
33
+ - 六月
34
+ - 七月
35
+ - 八月
36
+ - 九月
37
+ - 十月
38
+ - 十一月
39
+ - 十二月
40
+ abbr_month_names:
41
+ - ~
42
+ - 1月
43
+ - 2月
44
+ - 3月
45
+ - 4月
46
+ - 5月
47
+ - 6月
48
+ - 7月
49
+ - 8月
50
+ - 9月
51
+ - 10月
52
+ - 11月
53
+ - 12月
54
+ order:
55
+ - :year
56
+ - :month
57
+ - :day
58
+
59
+ time:
60
+ formats:
61
+ default: "%Y年%b%d日 %A %H:%M:%S %Z"
62
+ short: "%b%d日 %H:%M"
63
+ long: "%Y年%b%d日 %H:%M"
64
+ am: "上午"
65
+ pm: "下午"
66
+
67
+ datetime:
68
+ distance_in_words:
69
+ half_a_minute: "半分鐘"
70
+ less_than_x_seconds:
71
+ one: "不到一秒"
72
+ other: "不到 %{count} 秒"
73
+ x_seconds:
74
+ one: "一秒"
75
+ other: "%{count} 秒"
76
+ less_than_x_minutes:
77
+ one: "不到一分鐘"
78
+ other: "不到 %{count} 分鐘"
79
+ x_minutes:
80
+ one: "一分鐘"
81
+ other: "%{count} 分鐘"
82
+ about_x_hours:
83
+ one: "大約一小時"
84
+ other: "大約 %{count} 小時"
85
+ x_days:
86
+ one: "一天"
87
+ other: "%{count} 天"
88
+ about_x_months:
89
+ one: "大約一個月"
90
+ other: "大約 %{count} 個月"
91
+ x_months:
92
+ one: "一個月"
93
+ other: "%{count} 個月"
94
+ about_x_years:
95
+ one: "大約一年"
96
+ other: "大約 %{count} 年"
97
+ over_x_years:
98
+ one: "一年多"
99
+ other: "%{count} 年多"
100
+ almost_x_years:
101
+ one: "接近一年"
102
+ other: "接近 %{count} 年"
103
+ prompts:
104
+ year: "年"
105
+ month: "月"
106
+ day: "日"
107
+ hour: "時"
108
+ minute: "分"
109
+ second: "秒"
110
+
111
+ number:
112
+ format:
113
+ separator: "."
114
+ delimiter: ","
115
+ precision: 3
116
+ significant: false
117
+ strip_insignificant_zeros: false
118
+ currency:
119
+ format:
120
+ format: "%u %n"
121
+ unit: "NT$"
122
+ separator: "."
123
+ delimiter: ","
124
+ precision: 2
125
+ significant: false
126
+ strip_insignificant_zeros: false
127
+ percentage:
128
+ format:
129
+ delimiter: ""
130
+ precision:
131
+ format:
132
+ delimiter: ""
133
+ human:
134
+ format:
135
+ delimiter: ""
136
+ precision: 1
137
+ significant: false
138
+ strip_insignificant_zeros: false
139
+ storage_units:
140
+ format: "%n %u"
141
+ units:
142
+ byte:
143
+ one: "Byte"
144
+ other: "Bytes"
145
+ kb: "KB"
146
+ mb: "MB"
147
+ gb: "GB"
148
+ tb: "TB"
149
+ decimal_units:
150
+ format: "%n %u"
151
+ units:
152
+ # 10^-21 zepto, 10^-24 yocto
153
+ atto: "渺" # 10^-18
154
+ femto: "飛" # 10^-15 毫微微
155
+ pico: "漠" # 10^-12 微微
156
+ nano: "奈" # 10^-9 毫微
157
+ micro: "微" # 10^-6
158
+ mili: "毫" # 10^-3 milli
159
+ centi: "厘" # 10^-2
160
+ deci: "分" # 10^-1
161
+ unit: ""
162
+ ten:
163
+ one: "十"
164
+ other: "十" # 10^1
165
+ hundred: "百" # 10^2
166
+ thousand: "千" # 10^3 kilo
167
+ million: "百萬" # 10^6 mega
168
+ billion: "十億" # 10^9 giga
169
+ trillion: "兆" # 10^12 tera
170
+ quadrillion: "千兆" # 10^15 peta
171
+ # 10^18 exa, 10^21 zetta, 10^24 yotta
172
+
173
+ support:
174
+ array:
175
+ words_connector: ", "
176
+ two_words_connector: " 和 "
177
+ last_word_connector: ", 和 "
178
+ select:
179
+ prompt: "請選擇"
180
+
181
+ activerecord:
182
+ errors:
183
+ template: # ~ 2.3.5 backward compatible
184
+ header:
185
+ one: "有 1 個錯誤發生使得「%{model}」無法被儲存。"
186
+ other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。"
187
+ body: "以下欄位發生問題:"
188
+ full_messages:
189
+ format: "%{attribute} %{message}"
190
+ messages:
191
+ inclusion: "沒有包含在列表中"
192
+ exclusion: "是被保留的關鍵字"
193
+ invalid: "是無效的"
194
+ confirmation: "不符合確認值"
195
+ accepted: "必須是可被接受的"
196
+ empty: "不能留空"
197
+ blank: "不能是空白字元"
198
+ too_long: "過長(最長是 %{count} 個字)"
199
+ too_short: "過短(最短是 %{count} 個字)"
200
+ wrong_length: "字數錯誤(必須是 %{count} 個字)"
201
+ not_a_number: "不是數字"
202
+ not_an_integer: "必須是整數"
203
+ greater_than: "必須大於 %{count}"
204
+ greater_than_or_equal_to: "必須大於或等於 %{count}"
205
+ equal_to: "必須等於 %{count}"
206
+ less_than: "必須小於 %{count}"
207
+ less_than_or_equal_to: "必須小於或等於 %{count}"
208
+ odd: "必須是奇數"
209
+ even: "必須是偶數"
210
+ taken: "已經被使用"
211
+ record_invalid: "校驗失敗: %{errors}"
212
+
213
+ activemodel:
214
+ errors:
215
+ template:
216
+ header:
217
+ one: "有 1 個錯誤發生使得「%{model}」無法被儲存。"
218
+ other: "有 %{count} 個錯誤發生使得「%{model}」無法被儲存。"
219
+ body: "以下欄位發生問題:"
220
+
221
+ errors:
222
+ format: "%{attribute} %{message}"
223
+ messages:
224
+ inclusion: "沒有包含在列表中"
225
+ exclusion: "是被保留的關鍵字"
226
+ invalid: "是無效的"
227
+ confirmation: "不符合確認值"
228
+ accepted: "必須是可被接受的"
229
+ empty: "不能留空"
230
+ blank: "不能是空白字元"
231
+ too_long: "過長(最長是 %{count} 個字)"
232
+ too_short: "過短(最短是 %{count} 個字)"
233
+ wrong_length: "字數錯誤(必須是 %{count} 個字)"
234
+ not_a_number: "不是數字"
235
+ not_an_integer: "必須是整數"
236
+ greater_than: "必須大於 %{count}"
237
+ greater_than_or_equal_to: "必須大於或等於 %{count}"
238
+ equal_to: "必須等於 %{count}"
239
+ less_than: "必須小於 %{count}"
240
+ less_than_or_equal_to: "必須小於或等於 %{count}"
241
+ odd: "必須是奇數"
242
+ even: "必須是偶數"
243
+
244
+ helpers:
245
+ select:
246
+ prompt: "請選擇"
247
+ submit:
248
+ create: "新增%{model}"
249
+ update: "更新%{model}"
250
+ submit: "儲存%{model}"