Skip to content

Commit

Permalink
Merge pull request railsadminteam#688 from frankel/master
Browse files Browse the repository at this point in the history
Add zh-CN.yml
  • Loading branch information
gunn committed Sep 2, 2011
2 parents 8ba5841 + b64ee61 commit 8aa0181
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 0 deletions.
39 changes: 39 additions & 0 deletions config/locales/devise.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
zh-CN:
errors:
messages:
not_found: "没找到"
already_confirmed: "已经确认"
not_locked: "没有锁定"

devise:
failure:
unauthenticated: '你需要登录或注册后才能继续'
unconfirmed: '你需要验证账户后才能继续'
locked: '你的账户已经被锁定'
invalid: '邮箱或地址无效'
invalid_token: '身份验证令牌无效'
timeout: '你的会话已过期,请重新登陆后继续'
inactive: '你的账户还没有激活'
sessions:
signed_in: '登陆成功'
signed_out: '登出成功'
passwords:
send_instructions: '几分钟后你会收到一份关于如何重置密码说明的邮件'
updated: '你的密码已成功更新。现在你已经登陆'
confirmations:
send_instructions: '几分钟后你会收到一份关于如何验证账户说明的邮件'
confirmed: '你的账户已成功验证。现在你已经登陆'
registrations:
signed_up: '你已经成功注册。不出意外的话,一份验证邮件已发往你的邮箱'
updated: '你已成功更新你的账户'
destroyed: '再见!你的账户已被成功取消。我们希望再次看到你'
unlocks:
send_instructions: '几分钟后你会收到一份关于如何解锁账户说明的邮件'
unlocked: '你的账户已被成功解锁。现在你已经登陆'
mailer:
confirmation_instructions:
subject: '确认账户'
reset_password_instructions:
subject: '重置密码'
unlock_instructions:
subject: '解锁账户'
108 changes: 108 additions & 0 deletions config/locales/rails_admin.zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
zh-CN:
home:
name: "主页"
admin:
dashboard:
pagename: "网站管理"
name: "首页"
model_name: "模型名称"
last_used: "最后使用"
records: "记录"
modify: "修改"
add_new: "添加"
show: "查看"
ago: "以前"
history:
name: "历史"
page_name: "%{name}的历史"
no_activity: "非激活"
show:
show_in_app: "在app中显示"
page_name: "%{name}的详细内容"
no_file_found: "没有找到文件"
credentials:
log_out: "登出"
list:
edit_action: "编辑"
delete_action: "删除"
select_action: "选择"
export_action: "导出当前页面"
show_action: "显示"
export_selected: "导出选择记录"
delete_selected: "删除已选择的"
add_new: "添加"
search: "搜索"
select: "%{name}编辑"
show_all: "查看全部"
add_filter: "添加filter"
new:
basic_info: "基本信息"
required: "必须"
optional: "可选"
one_char: "限一个字符"
many_chars: "多个字符"
chosen: "选择%{name}"
select_choice: "选择并点击"
chose_all: "选择全部"
clear_all: "取消全部"
up: "上移"
down: "下移"
save: "保存"
save_and_add_another: "保存并添加新的"
save_and_edit: "保存并再编辑"
cancel: "取消"
edit:
add_new_associated_model_name: "添加新的%{name}"
delete:
all_of_the_following_related_items_will_be_deleted: "? 所有下面相关的内容将被删除:"
are_you_sure_you_want_to_delete_the_object: "你确定要删除 %{model_name}吗"
confirmation: "是的,我确定"
delete_confirmation: "确认删除"
bulk_delete: "下面的对象将被删除,并可能会删除和它们依赖的对象:"
export:
confirmation: "导出为 %{name}"
select: "选择需要导出的字段"
fields_from: "来自字段 %{name}"
fields_from_associated: "来自相关字段 %{name}"
display: "显示 %{name}: %{type}"
options_for: "%{name}的选项"
empty_value_for_associated_objects: "<empty>"
csv:
header_for_root_methods: "%{name}" # 'model' is available
header_for_association_methods: "%{name} [%{association}]"
encoding_to: "编码到"
encoding_to_help: "选择输出编码。输入空讲保留目前的输入编码: (%{name})"
skip_header: "没有头信息"
skip_header_help: "不要输出头信息(无字段描述)"
default_col_sep: ","
col_sep: "栏目分隔"
col_sep_help: "默认选空('%{value}')" # value is default_col_sep
flash:
successful: "%{name} %{action}成功"
error: "%{name} %{action}失败"
noaction: "没作任何动作"
actions:
create: "创建"
created: "已创建"
update: "更新"
updated: "已更新"
delete: "删除"
deleted: "已删除"
export: "导出"
exported: "已导出"
breadcrumbs:
delete: "删除"
history: "历史"
show: "显示"
edit: "编辑"
export: "导出"
bulk_destroy: "删除"
new: "新建"
model_history: "历史"
list: "列表"
dashboard: "首页"
datetime:
distance_in_words:
x_days: "%{count}天"
x_hours: "%{count}小时"
x_minutes: "%{count}分钟"

0 comments on commit 8aa0181

Please sign in to comment.