rails.cn.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. cn:
  2. activerecord:
  3. models:
  4. user: 用户
  5. category: 栏目
  6. article: 文章管理
  7. village: 小区管理
  8. bank_card: 银行
  9. bank_card_shop: 商家银行
  10. shop: 商家
  11. shop_type: 商家类别
  12. channel: 注册渠道
  13. admin_user: 管理员
  14. admin_role: 角色管理
  15. admin_permission: 权限管理
  16. background: 背景管理
  17. user_village: 小区成员管理
  18. api_arg: 接口参数管理
  19. api_code: 接口返回码管理
  20. api_group: 接口组管理
  21. api_resource: 接口管理
  22. career: 小区职业人管理
  23. errors:
  24. template:
  25. header:
  26. one: "有 1 个错误发生导致「%{model}」无法被保存。"
  27. other: "有 %{count} 个错误发生导致「%{model}」无法被保存。"
  28. body: "如下字段出现错误:"
  29. messages:
  30. inclusion: "不包含于列表中"
  31. exclusion: "是保留关键字"
  32. invalid: "是无效的"
  33. confirmation: "与确认值不匹配"
  34. accepted: "必须是可被接受的"
  35. empty: "不能留空"
  36. blank: "不能为空字符"
  37. too_long: "过长(最长为 %{count} 个字符)"
  38. too_short: "过短(最短为 %{count} 个字符)"
  39. wrong_length: "长度非法(必须为 %{count} 个字符)"
  40. taken: "已经被使用"
  41. not_a_number: "不是数字"
  42. not_an_integer: "必须是整数"
  43. greater_than: "必须大于 %{count}"
  44. greater_than_or_equal_to: "必须大于或等于 %{count}"
  45. equal_to: "必须等于 %{count}"
  46. less_than: "必须小于 %{count}"
  47. less_than_or_equal_to: "必须小于或等于 %{count}"
  48. odd: "必须为单数"
  49. even: "必须为双数"
  50. record_invalid: "校验失败: %{errors}"
  51. views:
  52. pagination:
  53. first: 首页
  54. previous: 上一页
  55. next: 下一页
  56. last: 尾页
  57. truncate: ...