From 2d541178638307facad07528989adbb491e6f678 Mon Sep 17 00:00:00 2001 From: Poderyagin Egor Date: Mon, 1 Aug 2016 07:51:44 +0300 Subject: [PATCH 1/3] added russian language --- rest_auth/locale/ru/LC_MESSAGES/django.mo | Bin 0 -> 2667 bytes rest_auth/locale/ru/LC_MESSAGES/django.po | 97 ++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 rest_auth/locale/ru/LC_MESSAGES/django.mo create mode 100644 rest_auth/locale/ru/LC_MESSAGES/django.po diff --git a/rest_auth/locale/ru/LC_MESSAGES/django.mo b/rest_auth/locale/ru/LC_MESSAGES/django.mo new file mode 100644 index 0000000000000000000000000000000000000000..b29458189d9f7c7b6ca65797d43484d9c1ec6418 GIT binary patch literal 2667 zcmb7E-)|H}93K%B&)-Pm4>XRAfED)GD+Nm1gCG<`q*|dRK48dncY3#UyL-&;wl?7b z+7OyRFeLJ12oJvaSWXYhwLN&$x7i0D_0_}|{{=ta**ov3RpKVIpPiY{_s4v`-<{vK zY`n$rY{hsRV+G?KjI&SSg+~MT15+UFZ{EPzHsJOq9s$0N`Io>RU;=y@_&xA_;1X~r z@K@kL;HIZDKZk*N%+CUecMbRka1pp2_%m=9@K4~Iz-=2d|NDS&#mc~6kkcgaH0DR1 zVeCWTEnqkBQ4{|Fc45BtS;j_y2Y|G{0PF=;fd_!U13w48yE)sx0NjoFx4=(;KLOtY zZhbDxZx8T1=3~Gkz(+s_xFN?FQeqQ8q-P$aV4f{aBp{6t(mc=OO*SuLyk=Gydj`dt7H`A*)cic1rl>n0ri~Yizwn=z^6Sq)7o@|?~e;-@?4_)f9(054B|C*Ls<}n z3&NOBOXW>?(#^9IffFhvofuv!Nu1}xagfEiIGmIL4;6PpSJDxbypVWEywhY__=#l0 zNkrC;pMcpV=`dYf1TOEYAoH0}xn21+B+?}iQ}PKs35_6NSDTK6{w>0%a)!48^0J8d zxWow}F-oRh#*kFAeLXD=0bU7#KK87qQdj2xpl&|&PWw` zVbITWr(`8mu{9i(JlFatDMi+3h~<&bMy;c0-xw_Gn22RR@39N}ExXUM3*0`?-&5FS z@3n0Zty6N^BX8^SdiyfoNfDG1QGy?p<4@Wb5Zpksch*wfk?EcVi;v9JdVJ^bRu%;Zp^w;Lvfrb)4A z)0W{KD(-8WAME~n9exp}6?3o%4~KaV9PI5L$ek1sPEIHCMI0)~-%`sOm0}9>FRYJc zAXTdYR*UQP=g7Ug72s<>|b>r)wPC z#q<(*Kj@|Oayp0aB@AP)SMyANN2{=1HET=cbIsMHtJ&4GF7>gC>c5$t*H();WUfX8 zN2U*v!Hz58pRUhPRP@T{qH8<{Wh}R?}4CV9>^aT@w=dW9B@3Xk1$ zSXtIf=B~q$*Kr6lqtzD3dEssb*Oy<`%oULw=OC;?z{<~VAQ_r z{+Au)ukRv_j?1#W*1VM0dc2MFtC?00O&gf@LAyZBD^L?vZ)$v}V;h0)>lG4#HaQNz zNUx?V=y%7o(sghe)Ou6}G*M?8Ew>~@JEE@CffV{{aMNoDznnE()_x$=(uJnR*j}J> znJ`T|91FWOlQ)9FA8NdaO3Z;p#iTZ%lpF0*HS_~C3Jj}cW?CP_m2{pm#=lXA6Z{(R zOU<+bW;&lZ{4ixwzId*39q?(YZx^y8r+=?{csxL-}@I8>R#)U-?{v$@RaC`MxH va}o_g?uV+`rH*!_pB8;bsn**BQyB!9PjAp(gJOYN&kDe>P-lMueZDev literal 0 HcmV?d00001 diff --git a/rest_auth/locale/ru/LC_MESSAGES/django.po b/rest_auth/locale/ru/LC_MESSAGES/django.po new file mode 100644 index 0000000..996e318 --- /dev/null +++ b/rest_auth/locale/ru/LC_MESSAGES/django.po @@ -0,0 +1,97 @@ +# 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. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-08-01 07:21+0300\n" +"PO-Revision-Date: 2016-08-01 07:48+0300\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" +"%100>=11 && n%100<=14)? 2 : 3);\n" +"Last-Translator: \n" +"Language-Team: \n" +"X-Generator: Poedit 1.8.5\n" + +#: rest_auth/registration/serializers.py:52 +msgid "View is not defined, pass it as a context variable" +msgstr "View неизвестен, передайте его как переменную контекста" + +#: rest_auth/registration/serializers.py:57 +msgid "Define adapter_class in view" +msgstr "Установите adapter_class в view" + +#: rest_auth/registration/serializers.py:76 +msgid "Define callback_url in view" +msgstr "Установите callback_url в view" + +#: rest_auth/registration/serializers.py:80 +msgid "Define client_class in view" +msgstr "Установите client_class в view" + +#: rest_auth/registration/serializers.py:100 +msgid "Incorrect input. access_token or code is required." +msgstr "Некорректный ввод. Необходим access_token или code." + +#: rest_auth/registration/serializers.py:109 +msgid "Incorrect value" +msgstr "Некорректное значение" + +#: rest_auth/registration/serializers.py:138 +msgid "A user is already registered with this e-mail address." +msgstr "Пользователь с таким email уже зарегистрирован." + +#: rest_auth/registration/serializers.py:146 +msgid "The two password fields didn't match." +msgstr "Пароли не совпадают." + +#: rest_auth/registration/views.py:79 +msgid "ok" +msgstr "ок" + +#: rest_auth/serializers.py:29 +msgid "Must include \"email\" and \"password\"." +msgstr "Должно включать \"email\" и \"password\"." + +#: rest_auth/serializers.py:40 +msgid "Must include \"username\" and \"password\"." +msgstr "Должно включать \"username\" и \"password\"." + +#: rest_auth/serializers.py:53 +msgid "Must include either \"username\" or \"email\" and \"password\"." +msgstr "Должно включать либо \"username\" либо \"email\" и \"password\"." + +#: rest_auth/serializers.py:94 +msgid "User account is disabled." +msgstr "Пользовательский аккаунт отключён." + +#: rest_auth/serializers.py:97 +msgid "Unable to log in with provided credentials." +msgstr "Невозможно войти в систему с указанными учётными данными." + +#: rest_auth/serializers.py:106 +msgid "E-mail is not verified." +msgstr "Email не подтверждён." + +#: rest_auth/views.py:119 +msgid "Successfully logged out." +msgstr "Успешно вышли." + +#: rest_auth/views.py:160 +msgid "Password reset e-mail has been sent." +msgstr "Письмо с восстановлением пароля выслано." + +#: rest_auth/views.py:181 +msgid "Password has been reset with the new password." +msgstr "Пароль изменён на новый." + +#: rest_auth/views.py:199 +msgid "New password has been saved." +msgstr "Новый пароль сохранён." From 89b48ce053b0c56d6fc69a4bfb39f21421019c02 Mon Sep 17 00:00:00 2001 From: Egor Poderyagin Date: Sun, 27 Nov 2016 09:25:48 +0300 Subject: [PATCH 2/3] update language file --- rest_auth/locale/ru/LC_MESSAGES/django.po | 44 +++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/rest_auth/locale/ru/LC_MESSAGES/django.po b/rest_auth/locale/ru/LC_MESSAGES/django.po index 996e318..618dbce 100644 --- a/rest_auth/locale/ru/LC_MESSAGES/django.po +++ b/rest_auth/locale/ru/LC_MESSAGES/django.po @@ -7,8 +7,10 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-08-01 07:21+0300\n" +"POT-Creation-Date: 2016-11-27 09:24+0300\n" "PO-Revision-Date: 2016-08-01 07:48+0300\n" +"Last-Translator: \n" +"Language-Team: \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -16,82 +18,80 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" "%100>=11 && n%100<=14)? 2 : 3);\n" -"Last-Translator: \n" -"Language-Team: \n" "X-Generator: Poedit 1.8.5\n" -#: rest_auth/registration/serializers.py:52 +#: registration/serializers.py:52 msgid "View is not defined, pass it as a context variable" msgstr "View неизвестен, передайте его как переменную контекста" -#: rest_auth/registration/serializers.py:57 +#: registration/serializers.py:57 msgid "Define adapter_class in view" msgstr "Установите adapter_class в view" -#: rest_auth/registration/serializers.py:76 +#: registration/serializers.py:76 msgid "Define callback_url in view" msgstr "Установите callback_url в view" -#: rest_auth/registration/serializers.py:80 +#: registration/serializers.py:80 msgid "Define client_class in view" msgstr "Установите client_class в view" -#: rest_auth/registration/serializers.py:100 +#: registration/serializers.py:100 msgid "Incorrect input. access_token or code is required." msgstr "Некорректный ввод. Необходим access_token или code." -#: rest_auth/registration/serializers.py:109 +#: registration/serializers.py:109 msgid "Incorrect value" msgstr "Некорректное значение" -#: rest_auth/registration/serializers.py:138 +#: registration/serializers.py:138 msgid "A user is already registered with this e-mail address." msgstr "Пользователь с таким email уже зарегистрирован." -#: rest_auth/registration/serializers.py:146 +#: registration/serializers.py:146 msgid "The two password fields didn't match." msgstr "Пароли не совпадают." -#: rest_auth/registration/views.py:79 +#: registration/views.py:78 msgid "ok" msgstr "ок" -#: rest_auth/serializers.py:29 +#: serializers.py:29 msgid "Must include \"email\" and \"password\"." msgstr "Должно включать \"email\" и \"password\"." -#: rest_auth/serializers.py:40 +#: serializers.py:40 msgid "Must include \"username\" and \"password\"." msgstr "Должно включать \"username\" и \"password\"." -#: rest_auth/serializers.py:53 +#: serializers.py:53 msgid "Must include either \"username\" or \"email\" and \"password\"." msgstr "Должно включать либо \"username\" либо \"email\" и \"password\"." -#: rest_auth/serializers.py:94 +#: serializers.py:94 msgid "User account is disabled." msgstr "Пользовательский аккаунт отключён." -#: rest_auth/serializers.py:97 +#: serializers.py:97 msgid "Unable to log in with provided credentials." msgstr "Невозможно войти в систему с указанными учётными данными." -#: rest_auth/serializers.py:106 +#: serializers.py:106 msgid "E-mail is not verified." msgstr "Email не подтверждён." -#: rest_auth/views.py:119 +#: views.py:118 msgid "Successfully logged out." msgstr "Успешно вышли." -#: rest_auth/views.py:160 +#: views.py:160 msgid "Password reset e-mail has been sent." msgstr "Письмо с восстановлением пароля выслано." -#: rest_auth/views.py:181 +#: views.py:181 msgid "Password has been reset with the new password." msgstr "Пароль изменён на новый." -#: rest_auth/views.py:199 +#: views.py:199 msgid "New password has been saved." msgstr "Новый пароль сохранён." From 49ddf00d57f93ee4d68d8270b1ed13a88d27ad5e Mon Sep 17 00:00:00 2001 From: Egor Poderyagin Date: Sun, 27 Nov 2016 09:37:25 +0300 Subject: [PATCH 3/3] update messages in agreement to comment of pull request --- rest_auth/locale/ru/LC_MESSAGES/django.mo | Bin 2667 -> 2697 bytes rest_auth/locale/ru/LC_MESSAGES/django.po | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rest_auth/locale/ru/LC_MESSAGES/django.mo b/rest_auth/locale/ru/LC_MESSAGES/django.mo index b29458189d9f7c7b6ca65797d43484d9c1ec6418..cdd5b2d642d8bbcbcb602428dfd77ef40f32ff0a 100644 GIT binary patch delta 267 zcmXZRJ!`^H6vpv$X}D@#O$X_4rLul-ZB0vPFt)6d>lqF6eHr{*d20%a9nFtG(D#o&6;kXc+E{j6wZF~ ms$CFTwk7P`v>0$1hk5roX2JIC$~@+