]> git.openstreetmap.org Git - rails.git/blob - vendor/rails-locales/zh-CN.yml
Switch to using http_accept_language as a gem
[rails.git] / vendor / rails-locales / zh-CN.yml
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           unit: ""
153           thousand: "千" # 10^3 kilo
154           million: "百万" # 10^6 mega
155           billion: "十亿" # 10^9 giga
156           trillion: "兆" # 10^12 tera
157           quadrillion: "千兆" # 10^15 peta
158           # 10^18 exa, 10^21 zetta, 10^24 yotta
159
160   support:
161     array:
162       words_connector: ", "
163       two_words_connector: " 和 "
164       last_word_connector: ", 和 "
165     select:
166       prompt: "请选择"
167
168   errors:
169     format: "%{attribute} %{message}"
170     messages: &errors_messages
171       inclusion: "不包含于列表中"
172       exclusion: "是保留关键字"
173       invalid: "是无效的"
174       confirmation: "与确认值不匹配"
175       accepted: "必须是可被接受的"
176       empty: "不能留空"
177       blank: "不能为空字符"
178       too_long: "过长(最长为 %{count} 个字符)"
179       too_short: "过短(最短为 %{count} 个字符)"
180       wrong_length: "长度非法(必须为 %{count} 个字符)"
181       not_a_number: "不是数字"
182       not_an_integer: "必须是整数"
183       greater_than: "必须大于 %{count}"
184       greater_than_or_equal_to: "必须大于或等于 %{count}"
185       equal_to: "必须等于 %{count}"
186       less_than: "必须小于 %{count}"
187       less_than_or_equal_to: "必须小于或等于 %{count}"
188       odd: "必须为单数"
189       even: "必须为双数"
190       taken: "已经被使用"
191       record_invalid: "验证失败: %{errors}"
192     template: &errors_template
193       header:
194         one: "有 1 个错误发生导致「%{model}」无法被保存。"
195         other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
196       body: "如下字段出现错误:"
197
198   activerecord:
199     errors:
200       full_messages:
201         format: "%{attribute} %{message}"
202       messages:
203         <<: *errors_messages
204       template:
205         <<: *errors_template
206
207   helpers:
208     select:
209       prompt: "请选择"
210     submit:
211       create: "新增%{model}"
212       update: "更新%{model}"
213       submit: "储存%{model}"