config/locales/zh-CN/rails.yml
zh-CN:
date:
abbr_day_names:
- 星期天
- 星期一
- 星期二
- 星期三
- 星期四
- 星期五
- 星期六
abbr_month_names:
-
- 一月
- 二月
- 三月
- 四月
- 五月
- 六月
- 七月
- 八月
- 九月
- 十月
- 十一月
- 十二月
day_names:
- 星期天
- 星期一
- 星期二
- 星期三
- 星期四
- 星期五
- 星期六
formats:
default: "%Y-%m-%d"
long: "%B %d, %Y"
short: "%b %d"
month_names:
-
- 一月
- 二月
- 三月
- 四月
- 五月
- 六月
- 七月
- 八月
- 九月
- 十月
- 十一月
- 十二月
datetime:
distance_in_words:
about_x_hours:
other: 大约%{count} 个小时
about_x_months:
other: 大约%{count} 个月
about_x_years:
other: 大约%{count} 年
almost_x_years:
other: 几乎%{count} 年
half_a_minute: 半分钟
less_than_x_minutes:
other: 少于%{count} 分钟
less_than_x_seconds:
other: 少于%{count} 秒
over_x_years:
other: 多于%{count} 年
x_days:
other: "%{count} 天"
x_minutes:
other: "%{count} 分钟"
x_months:
other: "%{count} 个月"
x_years:
other: "%{count} 年"
x_seconds:
other: "%{count} 秒"
prompts:
day: 天
hour: 小时
minute: 分钟
month: 月
second: 秒
year: 年
errors:
format: "%{attribute} %{message}"
messages:
accepted: 必须被接受
blank: 不能为空白
present: 必须放空白
confirmation: 与%{attribute} 不匹配
empty: 不能空白
equal_to: 必须等于%{count}
even: 必须是偶数
exclusion: 被保留了
greater_than: 必须大于%{count}
greater_than_or_equal_to: 必须大于或者等于%{count}
inclusion: 不包括在列表中
invalid: 无效的
less_than: 必须小于%{count}
less_than_or_equal_to: 必须小于或者等于%{count}
model_invalid: "验证失败: %{errors}"
not_a_number: 不是一个数字
not_an_integer: 必须是整数
odd: 必须是奇数
required: 必须存在
taken: 已经被用了
too_long:
other: 太长(最多是%{count} 个字符)
too_short:
other: 太短了(最少是%{count} 个字符)
wrong_length:
other: 是错误长度(应该是%{count} 个字符)
other_than: 必须不是%{count}
template:
body: "以下字段有问题:"
header:
other: "%{count} 个错误阻止%{model} 被保存"
helpers:
select:
prompt: 请选择
submit:
create: 创建%{model}
submit: 保存%{model}
update: 更新%{model}
number:
currency:
format:
delimiter: ","
format: "%u%n"
precision: 2
separator: "."
significant: false
strip_insignificant_zeros: false
unit: "$"
format:
delimiter: ","
precision: 3
separator: "."
significant: false
strip_insignificant_zeros: false
human:
decimal_units:
format: "%n %u"
units:
billion: 十亿
million: 百万
quadrillion: 万亿
thousand: 千
trillion: 兆
format:
precision: 3
significant: true
strip_insignificant_zeros: true
storage_units:
format: "%n %u"
units:
byte:
other: 字节
gb: GB
kb: KB
mb: MB
tb: TB
percentage:
format:
format: "%n%"
support:
array:
last_word_connector: ", 和 "
two_words_connector: " 和 "
words_connector: ", "
time:
am: 上午
formats:
datetime: "%Y-%m-%d %H:%M:%S"
default: "%a, %d %b %Y %H:%M:%S %z"
long: "%B %d, %Y %H:%M"
short: "%d %b %H:%M"
api: "%Y-%m-%d %H"
pm: 下午