Skip to content

Instantly share code, notes, and snippets.

@fordguo
Created June 5, 2011 04:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fordguo/1008642 to your computer and use it in GitHub Desktop.
Save fordguo/1008642 to your computer and use it in GitHub Desktop.
devise i18n for zh-CN
zh-CN:
errors:
messages:
expired: "您已过期,请重新申请"
not_found: "没有找到"
already_confirmed: "已经确认"
not_locked: "未锁定"
not_saved:
one: "因为1个错误导致此%{resource}保存失败:"
other: "因为%{count}个错误导致此%{resource}保存失败:"
devise:
failure:
already_authenticated: '你已经登录。'
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: '再见!您的帐户已成功注销。我们希望很快可以再见到您.'
inactive_signed_up: '虽然您已经注册成功,但因为%{reason},所以您依然无法登录.'
unlocks:
send_instructions: '几分后,您将收到一封帐号解锁的邮件.'
unlocked: '您的帐号已成功解锁,请登录.'
mailer:
confirmation_instructions:
subject: '确认信息'
reset_password_instructions:
subject: '重置密码信息'
unlock_instructions:
subject: '解锁信息'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment