From 3e38e4fc59914b17fb4a66de03a6a037954885ed Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 20 Jan 2021 19:08:39 +0800 Subject: [PATCH] =?UTF-8?q?i18n:=20=E4=BC=98=E5=8C=96=E7=BF=BB=E8=AF=91=20?= =?UTF-8?q?(#5492)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * i18n: 优化翻译 * i18n: 优化翻译(2) * i18n: 优化翻译(3) Co-authored-by: Bai --- apps/locale/zh/LC_MESSAGES/django.mo | Bin 63477 -> 63458 bytes apps/locale/zh/LC_MESSAGES/django.po | 12 ++++++------ apps/tickets/handler/base.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index 0e3edb30136a63e17b399f49266e65f8db05ef09..56fb9b8d2e6f512af02cfe9f707f82144b086678 100644 GIT binary patch delta 8134 zcmXxo4Sdh#{>Sm}*BH~pwzja?W^RU&>|zzh~(y9Ij{Gw&+*9Pd3`?Db$zaz@AvoHbmL0c*(+fi z*3}MG@jNeah3DOmjm-|&ig*y##f4Z2Kf*}-7~A7#sQLa%*IyOGiEChWydNuLBfJMw zF#^+ZJa%5`g}nMSHj;?OqgW9yq82JM{~y~CSNW@3pev>kKZ?!qRZPMyxDiiaGQOVc zT#xq=7h?nb9yR~oRUyx7OQYK=&#R4dFcw#$CVY%qV4uaeP#diFuID}AvuV`Lq^@=+ zYlW)Q9&6xW)J=@X7@UFk;zCrNl_44`uo|QAeH*YHRiFs#v(QPrf?l5I^@gkOdE6bh z@^{Z0g@u?{fzz(x<`~y$t>;ZA-|qv@dl~m*0Y19U^LEl7`Jw0C!O($^I3*o>H@HVI zll#-o7NVZn+o)%pi&6MK>V~$PhcJQo0!CrwO>TTGY(iWQAHv>P2WMkLT#4LN$lF6B zk;Jz)z|ZH!AWp!4Vm9)h*P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26d~g8jD(9N-p!?Rkgu0nksD-|<{tEL))cj-Cf5r0E&boIb8Z|G$ zY=Wxa24nU4??^*elx^ORI!S@~0_r6yL3ZrzF!!22qc(WX;u`1NBZ@_hZ;jeOy2U-r zd!;`AIW)AReC&baEnaPIM4hk{RcN2(4_W@W<*%X^tbX3Tv>~$}DnASB;@?p97Gu@_ z|6gf|?WmLNM=f*_HQ{%QYhQ42oY~yG9koDjOvAwz&ot+w-mSM#b=ROa@Wlo0UkmOb z(G}0&&3MbNR?r-bx|v+mO_g8-evB%(9JPV<*1z5S*4&Ga(qD;MukS^-fl(K^e-)Zc zLWQPc)m33O@!wDjR$^N`f=#i(Z|?Kk8H5-GJr<$9 zPyQ9Ap@C;H7XAOY32~^6bVqIAZfxjtwWtjjTy`6N0yTfC`66oGJE%wZG3sC&QFZ=_ zn*R;f$LQTOH1Jq3wbP<{`Se|_M#!JDRR+z{^CQEgp9~hHm-`O{d7T&eGXuZNJbyy) zQkPr(Nx`Nrss6a&aF>Vuyr6H_?9d1;z@H!3ul_s}lyohx{TH%R_`8v^Il+vKhy5pl zlNlTQ$AgkP_V|wmQ@hQIypR5=f!}?iKRTG)z1V*)xG6K)e<(=LO!bEaIhnhW1?QKNa}BM*9UpUax2T@xkF zqu#wkb7-BgtX951nA*G4e>lkKGsqtv6!!Va9}|r4+r@t@Sk`yGpBrTKOZJBZIsH=o z$-#_%;o8%gzlR-kq{j0>?d)6qXIExqA0H4(d1jjan>02rWzr*~3-TtdOn&>LsFeqb dx87af`c8bl@aVdw$JUk{duhSS*DiFA`ac84)z|<4 diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index bb762fb8f..57fff2e30 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-01-20 11:35+0800\n" +"POT-Creation-Date: 2021-01-20 16:09+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -555,7 +555,7 @@ msgstr "默认资产组" #: assets/models/label.py:15 audits/models.py:36 audits/models.py:56 #: audits/models.py:69 audits/serializers.py:81 authentication/models.py:44 -#: authentication/models.py:96 orgs/models.py:18 orgs/models.py:423 +#: authentication/models.py:95 orgs/models.py:18 orgs/models.py:423 #: perms/models/asset_permission.py:173 perms/models/base.py:49 #: templates/index.html:78 terminal/backends/command/models.py:18 #: terminal/backends/command/serializers.py:12 terminal/models/session.py:37 @@ -653,7 +653,7 @@ msgstr "登录模式" msgid "SFTP Root" msgstr "SFTP根路径" -#: assets/models/user.py:127 authentication/models.py:94 +#: assets/models/user.py:127 authentication/models.py:93 msgid "Token" msgstr "" @@ -1324,7 +1324,7 @@ msgstr "审批人" msgid "Login confirm" msgstr "登录复核" -#: authentication/models.py:95 +#: authentication/models.py:94 msgid "Expired" msgstr "过期时间" @@ -2911,8 +2911,8 @@ msgid "Approved actions" msgstr "批准的动作" #: tickets/handler/base.py:62 -msgid "User {} {} the ticket" -msgstr "用户 {} {} 这个工单" +msgid "{} {} the ticket" +msgstr "{} {}工单" #: tickets/handler/base.py:91 msgid "Ticket title" diff --git a/apps/tickets/handler/base.py b/apps/tickets/handler/base.py index 8e7ce2195..b095a2791 100644 --- a/apps/tickets/handler/base.py +++ b/apps/tickets/handler/base.py @@ -59,7 +59,7 @@ class BaseHandler(object): user_display = str(user) action_display = self.ticket.get_action_display() data = { - 'body': _('User {} {} the ticket').format(user_display, action_display), + 'body': _('{} {} the ticket').format(user_display, action_display), 'user': user, 'user_display': user_display }