From 878b1e6c21e8a62ae6f1021c4a2a9c1811991cbe Mon Sep 17 00:00:00 2001 From: p31729568 Date: Sat, 6 Jul 2019 15:54:40 +0800 Subject: [PATCH] add user attribteus chinese name --- config/locales/users/zh-CN.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/locales/users/zh-CN.yml b/config/locales/users/zh-CN.yml index 5c4ad76a7..48b8ca075 100644 --- a/config/locales/users/zh-CN.yml +++ b/config/locales/users/zh-CN.yml @@ -1,4 +1,11 @@ 'zh-CN': + activerecord: + models: + user: '用户' + attributes: + user: + phone: '手机号' + mail: '邮箱' user: identity: teacher: 教师