From 9c7adb7a143f1d93b9a498dc1d431d407b3b5280 Mon Sep 17 00:00:00 2001 From: xinwen Date: Mon, 16 Aug 2021 17:28:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=A8=E6=88=B7=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E9=83=A8=E5=88=86=E5=AD=97=E6=AE=B5=E6=B2=A1?= =?UTF-8?q?=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/locale/zh/LC_MESSAGES/django.mo | Bin 81825 -> 82034 bytes apps/locale/zh/LC_MESSAGES/django.po | 20 ++++++++++++++++---- apps/users/serializers/user.py | 3 +++ 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index c39c1ba29ea1b569d461241154e10e14a92b7d4c..122a5f698e18a1b3ff375bdce023ed97afdbfca3 100644 GIT binary patch delta 23929 zcmZA91$b3QyY}%F2p)pFB)A0$?(P&Vg`&kman~Xnr?_izE5)Taw3GrxiaQh!4#kVZ z`QLjU-jC~B*O~rip3yaH*3M4a_bmJr_-s%#-<5=c(>$))fu5Hdm!$W+gV8)Mtb(GR zSF5q-Wr;#Po(}N5zD+%EC)Q}@c@3zK)57z{VFdnw&#@luJGJz@(UkW^c-|na)!Oqe z;R!rK|JC1n-geLPdHvdYUSc{FZ0C8$X;7_$=Ow|^9X&5P=Eb;J1mj>OOp0G)I&5c- z#SqGCFa;h(?#a80;rIx1Vn`>~uR3O9ey=l`v{cN(?6?*4;!VtjNjp0$;CaeD@CsJ% z;sy-s>Ujw%H^g|@5o6;348kAHY33q~L42*s%qdVJ+iSRgTfJjV?k5L^0ySa8j zsDYE4nNa=mqIRqz24i(pzs44Cg>fmj$7I+SeHv&InOHav)nPft$91R${DE4~S@Sw3 zr2G)m<0sU>>AP!7JueTcz9F(%UPn~@W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$6@?jxD^LrYFkVrjMDR8ip)MLPST(vsSN4uQN|jp98A8~+X}M_{f?9F zQl4V5+LYfO_31O8^d*7eq|DUSVqtH{uOr>l^RFWt!Ec!O4rw82gbk92_SpcyD>P_A;RX|CVm%nyicl2c`Fk$-h0CQ~wR^Y7l#cC*G->OQUmEzDB!`sQ(Z(&2Kh9 z9qP-GmXLPqTTdYxyvFmS_2lzn9U9Lfzk+;ul8!{A+m;{Cz)_@!lrP{Nl8#HHE|&k6 z{A|XkL&`?dk;UpdQLas2zbKiERGgurEq{1`lm^qO2jyoLQ-hV{H@;Ke zM*r!wdqR49MA)S`K)c7(FL87D-cPhBPVgfd|4Z<`s|ftp0B0@#c94X$+eIP!JMn_= zOrmx*-&x3J%IQ_M$+KF&D9RD^JFN?IgJ34oYTA8{lWo9o@_&*_5N~0FeoozYls|rF z(qG9RBkdz~p-#tB(ppkw`V}E9B5k7FgYk4E!RxedrR%R_qE-Bby@)L!B_UphavO}# z0Ha7v$uGpRn8Ny`urVf6o=W}&^#{p+VDTTY2kmvdu~-~-AQ^4^CKmXSPJ2mrXw*N@ zl)Ky%zu9D&Z7a(V+fS-Yyp)acJ*Hud5u~)l&rx3&-y@wMuj4s&ok{=EcD){qx)gNi zP51)S;w(}j8XP8NptFuK4lf!%$4BIM>z-&~(LXWH73pjI36#Sf}n@_)VQ B2pj+a diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index 652e1697b..dbc5d5be1 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-08-16 16:27+0800\n" +"POT-Creation-Date: 2021-08-16 17:25+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -4215,7 +4215,7 @@ msgstr "Administrator是初始的超级管理员" msgid "The old password is incorrect" msgstr "旧密码错误" -#: users/serializers/profile.py:36 users/serializers/user.py:126 +#: users/serializers/profile.py:36 users/serializers/user.py:129 msgid "Password does not match security rules" msgstr "密码不满足安全规则" @@ -4292,11 +4292,23 @@ msgstr "超级角色名称" msgid "Total role name" msgstr "汇总角色名称" -#: users/serializers/user.py:112 +#: users/serializers/user.py:90 +msgid "Is wecom bound" +msgstr "是否绑定了企业微信" + +#: users/serializers/user.py:91 +msgid "Is dingtalk bound" +msgstr "是否绑定了钉钉" + +#: users/serializers/user.py:92 +msgid "Is feishu bound" +msgstr "是否绑定了飞书" + +#: users/serializers/user.py:115 msgid "Role limit to {}" msgstr "角色只能为 {}" -#: users/serializers/user.py:211 +#: users/serializers/user.py:214 msgid "name not unique" msgstr "名称重复" diff --git a/apps/users/serializers/user.py b/apps/users/serializers/user.py index e8760a3ee..e9010e1af 100644 --- a/apps/users/serializers/user.py +++ b/apps/users/serializers/user.py @@ -87,6 +87,9 @@ class UserSerializer(CommonBulkSerializerMixin, serializers.ModelSerializer): 'role_display': {'label': _('Super role name')}, 'total_role_display': {'label': _('Total role name')}, 'role': {'default': "User"}, + 'is_wecom_bound': {'label': _('Is wecom bound')}, + 'is_dingtalk_bound': {'label': _('Is dingtalk bound')}, + 'is_feishu_bound': {'label': _('Is feishu bound')}, } def __init__(self, *args, **kwargs):