-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
5,646 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
zh-CN: | ||
time: | ||
formats: | ||
#See http://apidock.com/ruby/DateTime/strftime for a list of available directives | ||
hour_minute: "%H:%M" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#Additional translations at https://github.com/plataformatec/devise/wiki/I18n | ||
zh-CN: | ||
devise: | ||
confirmations: | ||
confirmed: "您的账户已成功确认。" | ||
send_instructions: "您将在几分钟内收到一封包含确认账户说明的电子邮件。" | ||
send_paranoid_instructions: "如果您的电子邮件地址存在于我们的数据库中,您将在几分钟内收到一封包含确认账户说明的电子邮件。" | ||
failure: | ||
already_authenticated: "您已经登录了。" | ||
inactive: "您的账户尚未激活。" | ||
invalid: "无效的电子邮件或密码。" | ||
locked: "您的账户已被锁定。" | ||
last_attempt: "您还有一次尝试机会,否则您的账户将被锁定。" | ||
not_found_in_database: "无效的电子邮件或密码。" | ||
timeout: "您的会话已过期,请重新登录以继续。" | ||
unauthenticated: "在继续之前,您需要登录或注册。" | ||
unconfirmed: "在继续之前,您需要确认您的账户。请在表单下方点击链接确认。" | ||
mailer: | ||
confirmation_instructions: | ||
action: "确认我的电子邮件地址" | ||
instruction: "您可以通过确认您的电子邮件地址来完成注册。请点击以下链接:" | ||
subject: "确认说明" | ||
reset_password_instructions: | ||
action: "修改我的密码" | ||
instruction: "有人请求修改您的密码。您可以通过以下链接完成操作。" | ||
ignore_otherwise: "如果您没有进行此请求,请忽略此消息。" | ||
subject: "重置密码说明" | ||
unlock_instructions: | ||
subject: "解锁说明" | ||
omniauth_callbacks: | ||
failure: "无法从 %{kind} 进行身份验证,因为 \"%{reason}\"。" | ||
success: "成功从 %{kind} 账户进行身份验证。" | ||
passwords: | ||
no_token: "您不能直接访问此页面,请确保使用来自密码重置电子邮件的完整 URL。" | ||
send_instructions: "您将在几分钟内收到一封包含重置密码说明的电子邮件。" | ||
send_paranoid_instructions: "如果您的电子邮件地址存在于我们的数据库中,您将在几分钟内收到一封包含重置密码链接的电子邮件。" | ||
updated: "您的密码已成功更改。您现在已登录。" | ||
updated_not_active: "您的密码已成功更改。" | ||
registrations: | ||
destroyed: "再见!您的账户已成功注销。希望很快再见到您。" | ||
signed_up: "欢迎!您已成功注册。" | ||
signed_up_but_inactive: "您已成功注册。但是,由于您的账户尚未激活,我们无法为您登录。" | ||
signed_up_but_locked: "您已成功注册。但是,由于您的账户已被锁定,我们无法为您登录。" | ||
signed_up_but_unconfirmed: "已向您的电子邮件地址发送了带有确认链接的消息。请打开链接以激活您的账户。" | ||
update_needs_confirmation: "您已成功更新您的账户信息,但我们需要验证您的新电子邮件地址。请检查您的电子邮件并点击确认链接以完成确认过程。" | ||
updated: "您已成功更新您的账户信息。" | ||
sessions: | ||
signed_in: "登录成功。" | ||
signed_out: "登出成功。" | ||
unlocks: | ||
send_instructions: "您将在几分钟内收到一封包含解锁账户说明的电子邮件。" | ||
send_paranoid_instructions: "如果您的账户存在,您将在几分钟内收到一封包含解锁账户说明的电子邮件。" | ||
unlocked: "您的账户已成功解锁。请登录以继续。" | ||
errors: | ||
messages: | ||
already_confirmed: "此电子邮件已经确认,请尝试登录。" | ||
confirmation_period_expired: "需要在 %{period} 内确认账户,请请求一个新的确认链接。" | ||
expired: "已过期,请请求一个新的链接。" | ||
not_found: "未找到此电子邮件地址。" | ||
not_locked: "未锁定。" | ||
not_saved: | ||
one: "保存 %{resource} 时发生了1个错误:" | ||
other: "保存 %{resource} 时发生了 %{count} 个错误:" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,215 @@ | ||
zh: | ||
activerecord: | ||
errors: | ||
messages: | ||
record_invalid: "验证失败: %{errors}" | ||
restrict_dependent_destroy: | ||
has_one: "无法删除记录,因为存在依赖的 %{record}" | ||
has_many: "无法删除记录,因为存在依赖的 %{record}" | ||
date: | ||
abbr_day_names: | ||
- 日 | ||
- 一 | ||
- 二 | ||
- 三 | ||
- 四 | ||
- 五 | ||
- 六 | ||
abbr_month_names: | ||
- | ||
- 一月 | ||
- 二月 | ||
- 三月 | ||
- 四月 | ||
- 五月 | ||
- 六月 | ||
- 七月 | ||
- 八月 | ||
- 九月 | ||
- 十月 | ||
- 十一月 | ||
- 十二月 | ||
day_names: | ||
- 星期日 | ||
- 星期一 | ||
- 星期二 | ||
- 星期三 | ||
- 星期四 | ||
- 星期五 | ||
- 星期六 | ||
formats: | ||
default: "%Y-%m-%d" | ||
long: "%Y年%B%d日" | ||
short: "%b%d日" | ||
month_names: | ||
- | ||
- 一月 | ||
- 二月 | ||
- 三月 | ||
- 四月 | ||
- 五月 | ||
- 六月 | ||
- 七月 | ||
- 八月 | ||
- 九月 | ||
- 十月 | ||
- 十一月 | ||
- 十二月 | ||
order: | ||
- :year | ||
- :month | ||
- :day | ||
datetime: | ||
distance_in_words: | ||
about_x_hours: | ||
one: 大约1小时 | ||
other: 大约%{count}小时 | ||
about_x_months: | ||
one: 大约1个月 | ||
other: 大约%{count}个月 | ||
about_x_years: | ||
one: 大约1年 | ||
other: 大约%{count}年 | ||
almost_x_years: | ||
one: 将近1年 | ||
other: 将近%{count}年 | ||
half_a_minute: 半分钟 | ||
less_than_x_minutes: | ||
one: 不到1分钟 | ||
other: 不到%{count}分钟 | ||
less_than_x_seconds: | ||
one: 不到1秒 | ||
other: 不到%{count}秒 | ||
over_x_years: | ||
one: 超过1年 | ||
other: 超过%{count}年 | ||
x_days: | ||
one: 1天 | ||
other: "%{count}天" | ||
x_minutes: | ||
one: 1分钟 | ||
other: "%{count}分钟" | ||
x_months: | ||
one: 1个月 | ||
other: "%{count}个月" | ||
x_years: | ||
one: 1年 | ||
other: "%{count}年" | ||
x_seconds: | ||
one: 1秒 | ||
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: | ||
one: 过长 (最大为1个字符) | ||
other: 过长 (最大为 %{count} 个字符) | ||
too_short: | ||
one: 过短 (最小为1个字符) | ||
other: 过短 (最小为 %{count} 个字符) | ||
wrong_length: | ||
one: 长度错误 (应为1个字符) | ||
other: 长度错误 (应为 %{count} 个字符) | ||
other_than: 必须不等于 %{count} | ||
wrong_content_type: "内容类型不被允许" | ||
template: | ||
body: '以下字段有问题:' | ||
header: | ||
one: 1个错误阻止了 %{model} 被保存 | ||
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: 万亿 | ||
unit: '' | ||
format: | ||
delimiter: '' | ||
precision: 3 | ||
significant: true | ||
strip_insignificant_zeros: true | ||
storage_units: | ||
format: "%n %u" | ||
units: | ||
byte: | ||
one: 字节 | ||
other: 字节 | ||
gb: GB | ||
kb: KB | ||
mb: MB | ||
tb: TB | ||
pb: PB | ||
eb: EB | ||
percentage: | ||
format: | ||
delimiter: '' | ||
format: "%n%" | ||
precision: | ||
format: | ||
delimiter: '' | ||
support: | ||
array: | ||
last_word_connector: ", 和 " | ||
two_words_connector: " 和 " | ||
words_connector: ", " | ||
time: | ||
am: 上午 | ||
formats: | ||
default: "%a, %d %b %Y %H:%M:%S %z" | ||
long: "%Y年%B%d日 %H:%M" | ||
short: "%b%d日 %H:%M" | ||
pm: 下午 |
Oops, something went wrong.