Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
devise.zh-cn
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: '解锁信息'
@pmq20

This comment has been minimized.

Show comment Hide comment
@pmq20

pmq20 Jan 20, 2011

thanks for translating!
Note that the 'cn' in 'zh-cn' is case SENSITIVE!
if it does not work, check whether you have all 'cn''s of the same case

pmq20 commented Jan 20, 2011

thanks for translating!
Note that the 'cn' in 'zh-cn' is case SENSITIVE!
if it does not work, check whether you have all 'cn''s of the same case

@heiguo

This comment has been minimized.

Show comment Hide comment
@heiguo

heiguo Apr 18, 2011

FYI. The correct file name is 'devise.zh-cn.yml, instead of 'devise_zh-cn.yml'.

heiguo commented Apr 18, 2011

FYI. The correct file name is 'devise.zh-cn.yml, instead of 'devise_zh-cn.yml'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment