From 9913f8eb03ec42bdae16100744b227f3ea52d2a6 Mon Sep 17 00:00:00 2001 From: yihuang Date: Sun, 28 Oct 2018 11:46:19 +0800 Subject: [PATCH] add translation for Chinese --- .../locale/zh_Hans/LC_MESSAGES/django.mo | Bin 0 -> 2284 bytes .../locale/zh_Hans/LC_MESSAGES/django.po | 104 ++++++++++++++++++ .../locale/zh_Hant/LC_MESSAGES/django.mo | Bin 0 -> 414 bytes .../locale/zh_Hant/LC_MESSAGES/django.po | 103 +++++++++++++++++ 4 files changed, 207 insertions(+) create mode 100644 rest_auth/locale/zh_Hans/LC_MESSAGES/django.mo create mode 100644 rest_auth/locale/zh_Hans/LC_MESSAGES/django.po create mode 100644 rest_auth/locale/zh_Hant/LC_MESSAGES/django.mo create mode 100644 rest_auth/locale/zh_Hant/LC_MESSAGES/django.po diff --git a/rest_auth/locale/zh_Hans/LC_MESSAGES/django.mo b/rest_auth/locale/zh_Hans/LC_MESSAGES/django.mo new file mode 100644 index 0000000000000000000000000000000000000000..2f6f549e1eb09745256ceda6da662ebc745c57fe GIT binary patch literal 2284 zcmb7^TWl0n7{`x_w^c;(9&aZVtO?AzOOTW;AQcK}Y)bRf7r4F=NYUQvA)N832Xm7_`&lBxCZn66GWG)4Sf&7*+&k#6viOb_|1Jk&#kU{7H^f`zi! zVl2wxNvy}Q9>ap0pnf_(w2VE0Re2sR|G6Ke8bc&EaL=L#Xd!Fwk=*UGs@b5`hURch*UVa%Cxol^gjt6vx(pavw3p5>n24lp_39ct zspvJr=)%BAbkH2(WGv4_tI3l?n^9Px!JGdzVLOB4SB0xvW@Y@Gpr)OeF$zFKq6KrP ztqkhmy35g1fq5`pxfdfOY@Kpo)*jYoTe~qrN|UC*wF9p)-qx_`orbNAd}rhK9ZlO> zL)&H2vR$RciR+s3wikDlb}Pn1ZQI(FP53w{6=kzyDdz|5Uyp%cvmgw>x7oj&5e8ahE*%Ep%zAF+!JxB zv`dkQ@#costsRu?y5{DMh90);_=b5KB-zr`(par58jgfEQ5Q@E+LuJe)Q~rlhS1G= zuJ#BUleNC1eT!08wWEZ(rL8pLd((6?9^-Xgx*KXUJX;vb7RydJF>WRU(ODm@=cT{v zBlV$O^W{iQ>2QM0+HO=}DYk`BuHcdIS|r5^>GQ<{Q~9Yc{Zp6x&r<&MSB0~axyu** zgG0Zj4nRHapSnm#oXvdUPmN`-et6R*Q#PP`X5L`oMRQyIg3E@Lg6B?66eorX>HZ+* z^-uhP^Tnel3h6ZDg||!Y&@sAPa>vvD+<-qmSscGgJ4&|su@C&z49lgD`WFuPLj(TE zWckDQKOU-HEVSV!oB6BaKbrkMGgS6V|0?%KjX!V&Ey!k4*~~-`JNWZOa*;`Q1XyJam^q6hWunR=W?Hq7lMXS z`9ZvF=1Bfz#vd7CxlhmJE{|qs=kiA{=7vYI*H6MIJ2#%|Pm_b^$BTo**_ksqXy%`vMOy41 DJlZ(X literal 0 HcmV?d00001 diff --git a/rest_auth/locale/zh_Hans/LC_MESSAGES/django.po b/rest_auth/locale/zh_Hans/LC_MESSAGES/django.po new file mode 100644 index 0000000..1c7ff82 --- /dev/null +++ b/rest_auth/locale/zh_Hans/LC_MESSAGES/django.po @@ -0,0 +1,104 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-10-28 11:41+0800\n" +"PO-Revision-Date: 2018-10-28 11:45+0806\n" +"Last-Translator: b' '\n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Translated-Using: django-rosetta 0.9.0\n" + +#: registration/serializers.py:67 +msgid "View is not defined, pass it as a context variable" +msgstr "View未定义,请通过context变量传入" + +#: registration/serializers.py:72 +msgid "Define adapter_class in view" +msgstr "请在View中定义adapter_class" + +#: registration/serializers.py:91 +msgid "Define callback_url in view" +msgstr "请在view中定义callback_url" + +#: registration/serializers.py:95 +msgid "Define client_class in view" +msgstr "请在view中定义client_class" + +#: registration/serializers.py:116 +msgid "Incorrect input. access_token or code is required." +msgstr "输入错误。access_token或code是必填项。" + +#: registration/serializers.py:125 +msgid "Incorrect value" +msgstr "错误的值" + +#: registration/serializers.py:139 +msgid "User is already registered with this e-mail address." +msgstr "该邮箱地址已被注册。" + +#: registration/serializers.py:185 +msgid "A user is already registered with this e-mail address." +msgstr "该邮箱地址已被注册。" + +#: registration/serializers.py:193 +msgid "The two password fields didn't match." +msgstr "两次输入的密码不相同" + +#: registration/views.py:51 +msgid "Verification e-mail sent." +msgstr "验证邮件已发送。" + +#: registration/views.py:98 +msgid "ok" +msgstr "好的" + +#: serializers.py:33 +msgid "Must include \"email\" and \"password\"." +msgstr "比如包含\"email\"和\"password\"。" + +#: serializers.py:44 +msgid "Must include \"username\" and \"password\"." +msgstr "比如包含\"username\"和\"password\"。" + +#: serializers.py:57 +msgid "Must include either \"username\" or \"email\" and \"password\"." +msgstr "比如包含\"username\",\"email\",\"password\"其中一个。" + +#: serializers.py:98 +msgid "User account is disabled." +msgstr "用户账号已被禁用。" + +#: serializers.py:101 +msgid "Unable to log in with provided credentials." +msgstr "无法使用提供的信息登录。" + +#: serializers.py:110 +msgid "E-mail is not verified." +msgstr "邮箱未验证。" + +#: views.py:127 +msgid "Successfully logged out." +msgstr "已成功登出。" + +#: views.py:175 +msgid "Password reset e-mail has been sent." +msgstr "密码重置邮件已发送。" + +#: views.py:201 +msgid "Password has been reset with the new password." +msgstr "密码重置成功。" + +#: views.py:223 +msgid "New password has been saved." +msgstr "新密码已设置成功。" diff --git a/rest_auth/locale/zh_Hant/LC_MESSAGES/django.mo b/rest_auth/locale/zh_Hant/LC_MESSAGES/django.mo new file mode 100644 index 0000000000000000000000000000000000000000..20e5d8dbda6a94eed8fbbe7c2b79f0f6fab611c8 GIT binary patch literal 414 zcmYL^Pfx=j9ENA~)T3t)9K6lnY!?reZDzRA+1P*Sx+QwU6>Cig4KSl0#INUPk*aZT z@&pJE@bYzf@;R_MvYc7YEytD%OCR4-+0AP^_RfEDC13g0KvcnoE8R$eQBD^3WJ%G6 z7ON;roq~5#8Ax>9RB*emHIxz~C(lY)D9(&M1OYP~qp|Dx;JGmNk>}wnZ|M52Yegvd zThm|u=RHtTK$1Z~&|QX;X!w|=)QOokP%0*L%ZyYQh3hy*DM=`r(u73uoCHBZSF0PV zih9p#4kc$hjAD{5*L~$_9M9WkBvpNIY}F)6=;43f$aNM{7%uE{AD!)O_`A96TGogO z+P*NQxtXoY5d4GJ*Lvm(sMyM?5j95sQ)8UG-7D5YDAi75B)Xrao_Q1WJDs@`XYdX3 CzjEdP literal 0 HcmV?d00001 diff --git a/rest_auth/locale/zh_Hant/LC_MESSAGES/django.po b/rest_auth/locale/zh_Hant/LC_MESSAGES/django.po new file mode 100644 index 0000000..b99489a --- /dev/null +++ b/rest_auth/locale/zh_Hant/LC_MESSAGES/django.po @@ -0,0 +1,103 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-10-28 11:41+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: registration/serializers.py:67 +msgid "View is not defined, pass it as a context variable" +msgstr "" + +#: registration/serializers.py:72 +msgid "Define adapter_class in view" +msgstr "" + +#: registration/serializers.py:91 +msgid "Define callback_url in view" +msgstr "" + +#: registration/serializers.py:95 +msgid "Define client_class in view" +msgstr "" + +#: registration/serializers.py:116 +msgid "Incorrect input. access_token or code is required." +msgstr "" + +#: registration/serializers.py:125 +msgid "Incorrect value" +msgstr "" + +#: registration/serializers.py:139 +msgid "User is already registered with this e-mail address." +msgstr "" + +#: registration/serializers.py:185 +msgid "A user is already registered with this e-mail address." +msgstr "" + +#: registration/serializers.py:193 +msgid "The two password fields didn't match." +msgstr "" + +#: registration/views.py:51 +msgid "Verification e-mail sent." +msgstr "" + +#: registration/views.py:98 +msgid "ok" +msgstr "" + +#: serializers.py:33 +msgid "Must include \"email\" and \"password\"." +msgstr "" + +#: serializers.py:44 +msgid "Must include \"username\" and \"password\"." +msgstr "" + +#: serializers.py:57 +msgid "Must include either \"username\" or \"email\" and \"password\"." +msgstr "" + +#: serializers.py:98 +msgid "User account is disabled." +msgstr "" + +#: serializers.py:101 +msgid "Unable to log in with provided credentials." +msgstr "" + +#: serializers.py:110 +msgid "E-mail is not verified." +msgstr "" + +#: views.py:127 +msgid "Successfully logged out." +msgstr "" + +#: views.py:175 +msgid "Password reset e-mail has been sent." +msgstr "" + +#: views.py:201 +msgid "Password has been reset with the new password." +msgstr "" + +#: views.py:223 +msgid "New password has been saved." +msgstr ""