From 7039f1373bca558cdb56af123003c45dd600d035 Mon Sep 17 00:00:00 2001 From: aitzol Date: Mon, 25 Apr 2022 17:20:59 +0200 Subject: [PATCH] itzulpenak --- app.py | 34 ++++++------ data/invite-codes.db | Bin 8192 -> 8192 bytes edit_email.tpl | 2 +- edit_fullname.tpl | 4 +- libs/__pycache__/flist.cpython-39.pyc | Bin 21988 -> 21988 bytes libs/__pycache__/helper.cpython-39.pyc | Bin 1610 -> 1610 bytes libs/__pycache__/localization.cpython-39.pyc | Bin 3293 -> 3409 bytes libs/__pycache__/slist.cpython-39.pyc | Bin 8243 -> 8243 bytes libs/localization.py | 14 ++--- locales/base.pot | 32 +++++------ locales/en/LC_MESSAGES/base.mo | Bin 4097 -> 4329 bytes locales/en/LC_MESSAGES/base.po | 54 ++++++++++--------- locales/eu/LC_MESSAGES/base.mo | Bin 4185 -> 4417 bytes locales/eu/LC_MESSAGES/base.po | 35 ++++++------ 14 files changed, 95 insertions(+), 80 deletions(-) diff --git a/app.py b/app.py index 97e852f..5e020f3 100644 --- a/app.py +++ b/app.py @@ -113,9 +113,9 @@ def post_user(): return index_tpl(alerts=[('error', msg, 'fadeOut')], str=i18n.str) if len(form('username')) < 3: - return error(i18n.msg[1]) + return error(i18n.msg[2]) elif not tools.input_validation(form('username')): - return error(i18n.msg[6]) + return error(i18n.msg[3]) if not tools.pwd_validation(form('password')): return error(i18n.msg[21]) @@ -126,7 +126,7 @@ def post_user(): LOG.warning("Unsuccessful attempt to login %s: %s" % (form('username'), e)) return error(str(e)) - return user_tpl(alerts=[('success', '%s %s' % (i18n.msg[3], form('username').capitalize()), 'fadeOut' )], data=newSession().get(), str=i18n.str) + return user_tpl(alerts=[('success', '%s %s' % (i18n.msg[1], form('username').capitalize()), 'fadeOut' )], data=newSession().get(), str=i18n.str) @post('/signup') def post_signup(): @@ -152,14 +152,14 @@ def post_signup(): return signup_tpl(alerts=[('error', msg, 'fadeOut')], str=i18n.str) if not tools.code_is_valid(form('invite_code'), db): - return(error(i18n.msg[4])) + return(error(i18n.msg[6])) if len(form('username')) < 3: - return error(i18n.msg[5]) + return error(i18n.msg[2]) username = form('username').lower() if not tools.input_validation(username): - return error(i18n.msg[6]) + return error(i18n.msg[3]) if len(form('firstname')) == 0: firstname = auto_complete('firstname') @@ -175,7 +175,7 @@ def post_signup(): email = form('email').lower() if not tools.email_validation(email): - return error(i18n.msg[14]) + return error(i18n.msg[15]) if not tools.pwd_validation(form('password')): return error(i18n.msg[8]) #mezua ALDATU egin behar da @@ -216,12 +216,12 @@ def post_edit_fullname(): if len(form('firstname')) < 3: return error(i18n.msg[11]) elif not tools.input_validation(form('firstname')): - return error(i18n.msg[6]) #Not allowed characters for the firstname field. ALDATU + return error(i18n.msg[4]) if len(form('surname')) < 3: return error(i18n.msg[12]) elif not tools.input_validation(form('surname')): - return error(i18n.msg[6]) #Not allowed characters for the surname field. ALDATU + return error(i18n.msg[5]) try: edit_fullname(username, old_firstname, old_surname, form('firstname').lower(), form('surname').lower()) @@ -269,7 +269,9 @@ def post_change_pwd(): def error(msg): return change_pwd_tpl(username=username, alerts=[('error', msg, 'fadeOut')], str=i18n.str) - if (not tools.pwd_validation(form('new-password')) or not tools.pwd_validation(form('confirm-password'))): + if not tools.pwd_validation(form('old-password')): + return error(i18n.msg[26]) + elif (not tools.pwd_validation(form('new-password')) or not tools.pwd_validation(form('confirm-password'))): return error(i18n.msg[8]) #mezua aldatu egin behar da elif form('new-password') != form('confirm-password'): return error(i18n.msg[7]) @@ -369,7 +371,7 @@ def login_user(conf, *args): except LDAPSocketOpenError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) - raise Error(i18n.msg[22]) + raise Error(i18n.msg[23]) except LDAPExceptionError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) @@ -417,7 +419,7 @@ def logout_user(conf, *args): except LDAPSocketOpenError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) - raise Error(i18n.msg[22]) + raise Error(i18n.msg[23]) except LDAPExceptionError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) @@ -543,7 +545,7 @@ def new_fullname(conf, *args): except LDAPSocketOpenError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) - raise Error(i18n.msg[22]) + raise Error(i18n.msg[23]) except LDAPExceptionError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) @@ -606,7 +608,7 @@ def new_email_address(conf, *args): except LDAPSocketOpenError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) - raise Error(i18n.msg[22]) + raise Error(i18n.msg[23]) except LDAPExceptionError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) @@ -664,7 +666,7 @@ def change_password(conf, *args): except LDAPSocketOpenError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) - raise Error(i18n.msg[22]) + raise Error(i18n.msg[23]) except LDAPExceptionError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) @@ -714,7 +716,7 @@ def del_account(conf, *args): except LDAPSocketOpenError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) - raise Error(i18n.msg[22]) + raise Error(i18n.msg[23]) except LDAPExceptionError as e: LOG.error('{}: {!s}'.format(e.__class__.__name__, e)) diff --git a/data/invite-codes.db b/data/invite-codes.db index b718294a0c7ce53257d89b629028c46d4ce19890..a3c0af1e5fff36601379944138f2e484a2aae858 100644 GIT binary patch delta 72 zcmZp0XmFSy&1g1J#+l!YLCt - +
diff --git a/edit_fullname.tpl b/edit_fullname.tpl index c544666..760c37f 100644 --- a/edit_fullname.tpl +++ b/edit_fullname.tpl @@ -18,10 +18,10 @@
- + - +
diff --git a/libs/__pycache__/flist.cpython-39.pyc b/libs/__pycache__/flist.cpython-39.pyc index d1a10086619964c8f77dbb5f021636be29babf17..fd0bc85af4427ac45ee3cd6dc46dd3c8588be541 100644 GIT binary patch delta 22 ccmaE|n(@hMM(#vjUM>b8&{z?;k^5#S08)zvyZ`_I delta 22 ccmaE|n(@hMM(#vjUM>b8I4PI5k^5#S08}3a=l}o! diff --git a/libs/__pycache__/helper.cpython-39.pyc b/libs/__pycache__/helper.cpython-39.pyc index f46e5c6332e70d684a6600d8c65e81cc77eb7ca3..56f48f607b1a2dbc4ffd471358a9ba4ef284bebb 100644 GIT binary patch delta 19 ZcmX@bbBc#6k(ZZ?0SK&TY~*ra0{|^-1P}lK delta 19 ZcmX@bbBc#6k(ZZ?0SL_MHgY+z0RSw_1MvU= diff --git a/libs/__pycache__/localization.cpython-39.pyc b/libs/__pycache__/localization.cpython-39.pyc index 40109f8b90527a6274501879dbd96cb0e815efa7..5846bf6f5e04ad71ac1944919d3cb6181323a5a4 100644 GIT binary patch delta 235 zcmcaBc~Oclk(ZZ?0SL}-NJ~=T+sJo}QBbCtu~x2zB}EQM%L8fo%}*ImGEEj>HDJ`A zEXXP^l$KdkT#}cVo2rnOnVOTLSEUOQ<|{5OLK2*OibZX*1FK|xZAeC{LP272ae01G zib8H_afw25eqKppW}ZS~i9$|lB2d6WAvq(lC^5MtwWwGJA)KF=s*qQjo0M9lqflB< skXn?SSe&Ymn3tlElV1+y<)oH?bb&>S3sRFa6LXLZ)2rIt&KkxJ0H~i&p8x;= delta 153 zcmca8byt!vk(ZZ?0SHdYr6q0P-N<*0QBba#u~x2zB}E=c%L8ed%}*ImGRa5>&6xuwM=3Q4I7i6sgkqe>Jk6p}L%ixQK81{N#i, 2022. +# FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: 0.0.1\n" +"Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-04-07 17:23+0200\n" +"POT-Creation-Date: 2022-04-25 16:52+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Aitzol Berasategi \n" -"Language-Team: LANGUAGE \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-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: libs/localization.py:12 @@ -109,7 +109,7 @@ msgstr "" msgid "Delete your account" msgstr "" -#: libs/localization.py:35 libs/localization.py:41 +#: libs/localization.py:35 libs/localization.py:39 msgid "Welcome" msgstr "" @@ -117,24 +117,24 @@ msgstr "" msgid "The session was closed." msgstr "" -#: libs/localization.py:39 +#: libs/localization.py:40 msgid "Username must be at least 3 characters long!" msgstr "" -#: libs/localization.py:40 -msgid "Please enter your password!" +#: libs/localization.py:41 +msgid "Not allowed characters for the username field." msgstr "" #: libs/localization.py:42 -msgid "The code is invalid or has expired." +msgid "Not allowed characters for the firstname field." msgstr "" #: libs/localization.py:43 -msgid "A bit short, don't you think?!" +msgid "Not allowed characters for the surname field." msgstr "" #: libs/localization.py:44 -msgid "Not allowed characters for the username field." +msgid "The code is invalid or has expired." msgstr "" #: libs/localization.py:45 @@ -142,7 +142,9 @@ msgid "Passwords do not match!" msgstr "" #: libs/localization.py:46 -msgid "Password must be at least 8 characters long!" +msgid "" +"The password must contain at least 8 characters, at least one number, " +"uppercase and lowercase letters and special characters." msgstr "" #: libs/localization.py:47 @@ -220,4 +222,4 @@ msgstr "" #: libs/localization.py:65 msgid "The session has expired." -msgstr "" \ No newline at end of file +msgstr "" diff --git a/locales/en/LC_MESSAGES/base.mo b/locales/en/LC_MESSAGES/base.mo index c6e35c11540c8f19c89278a924ef7c9e4b558f05..346e9a4c6bf0cc80c4adb213ca21c838fcecfe5a 100644 GIT binary patch literal 4329 zcmeH}-)|IE6vwZCid97L2cV+2qC#b7+5SLr1)+tuY08fVT2x}9w=!0qd^0gVnGl~yB*qxjKfpIllow;vL?eme#m|}9?Y3Y7(brDq&gbsToqNvt zo^$W)_iIl z4Ohcew<@(3ZiJkw!etYD8r~0&!ExAxcfbp9GyDo}fxp2!;W{R#t2RNg)5GO1Sb<`H z7j$3)mf_jf^KW1mzrSnoN4S#TzrqLM6}S$rxt+OS59CzGT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wM{DI`OA?mIhpT>5)hWuoYP#Zi$C3=oLw!%v-dgHCvQ7tNZ z`a-1&Riau{hh5~iUM4E>MO2Tns2)8;mF}JAd(??nQ7tN>TGYFv^#5m32acf*b_Z3d zc~qqyBUQH-NMg%l3;FE}6D2C6P90c*>d{f`!KCLRcC-G7+V~gJq0OP+4ij8>qoTTm z{!XKr(BX988bXy(F6G}CQBR>;_7R7)VCb|>gxaD?={A3d!=#bm4n{#XZm4#t*J{@h zqMzs?!i0vtBeg)|l6uKSHb>{?tkloef7SLy=v{#?aZpL;)aIpAE+W@eo$ad*uhE_bF=$%MNWa%!D;ayFiJ=2F?TGZV{XZl=;x z?$6M2zNzYi&#e!R1)>8^bZ|Htb*~1`hbKqk*+?p#I1wC=B@@|LB0kIxZXuZcANl?O Db~lU0 diff --git a/locales/en/LC_MESSAGES/base.po b/locales/en/LC_MESSAGES/base.po index a7831ec..53b0d7c 100644 --- a/locales/en/LC_MESSAGES/base.po +++ b/locales/en/LC_MESSAGES/base.po @@ -7,11 +7,11 @@ msgid "" msgstr "" "Project-Id-Version: 0.0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-04-07 17:23+0200\n" -"PO-Revision-Date: 2022-04-16 17:11+0200\n" +"POT-Creation-Date: 2022-04-07 17:20+0200\n" +"PO-Revision-Date: 2022-04-25 17:15+0200\n" "Last-Translator: Aitzol Berasategi \n" -"Language-Team: LANGUAGE \n" -"Language: en\n" +"Language-Team: LANGUAGE \n" +"Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -109,7 +109,7 @@ msgstr "Change your password" msgid "Delete your account" msgstr "Delete your account" -#: libs/localization.py:35 libs/localization.py:41 +#: libs/localization.py:35 libs/localization.py:39 msgid "Welcome" msgstr "Welcome" @@ -117,33 +117,37 @@ msgstr "Welcome" msgid "The session was closed." msgstr "The session was closed." -#: libs/localization.py:39 +#: libs/localization.py:40 msgid "Username must be at least 3 characters long!" msgstr "Username must be at least 3 characters long!" -#: libs/localization.py:40 -msgid "Please enter your password!" -msgstr "Please enter your password!" - -#: libs/localization.py:42 -msgid "The code is invalid or has expired." -msgstr "The code is invalid or has expired." - -#: libs/localization.py:43 -msgid "A bit short, don't you think?!" -msgstr "A bit short, don't you think?!" - -#: libs/localization.py:44 +#: libs/localization.py:41 msgid "Not allowed characters for the username field." msgstr "Not allowed characters for the username field." +#: libs/localization.py:42 +msgid "Not allowed characters for the firstname field." +msgstr "Not allowed characters for the firstname field." + +#: libs/localization.py:43 +msgid "Not allowed characters for the surname field." +msgstr "Not allowed characters for the surname field." + +#: libs/localization.py:44 +msgid "The code is invalid or has expired." +msgstr "The code is invalid or has expired." + #: libs/localization.py:45 msgid "Passwords do not match!" msgstr "Passwords do not match!" #: libs/localization.py:46 -msgid "Password must be at least 8 characters long!" -msgstr "Password must be at least 8 characters long!" +msgid "" +"The password must contain at least 8 characters, at least one number, " +"uppercase and lowercase letters and special characters." +msgstr "" +"The password must contain at least 8 characters, at least one number, " +"uppercase and lowercase letters and special characters." #: libs/localization.py:47 msgid "Congratulations, your account has been created!" @@ -202,8 +206,10 @@ msgid "Unable to connect to the remote server." msgstr "Unable to connect to the remote server." #: libs/localization.py:61 -msgid "Encountered an unexpected error while communicating with the remote server." -msgstr "Encountered an unexpected error while communicating with the remote server." +msgid "" +"Encountered an unexpected error while communicating with the remote server." +msgstr "" +"Encountered an unexpected error while communicating with the remote server." #: libs/localization.py:62 msgid "User already exists." @@ -219,4 +225,4 @@ msgstr "Forgot your password? Please try again." #: libs/localization.py:65 msgid "The session has expired." -msgstr "The session has expired." \ No newline at end of file +msgstr "The session has expired." diff --git a/locales/eu/LC_MESSAGES/base.mo b/locales/eu/LC_MESSAGES/base.mo index ac5e52ff4278fea552033b7b0afd27324571473e..9c58475220643dc5b53bd59338644e106f28f5f9 100644 GIT binary patch delta 1535 zcmY+@PiRy}9Ki8eO|mgfV*HyX)jFDJjBeKasWp-I&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%KosJn0%Rr=|?&rx^a4er4?)aOde z7dKFknr}yPG2N(y`jGfJGt5AxzJt1qPp}K;kXWXYG?dW>Y{6!X;xSZaSCGd{@Y;?K zQ47r?A?%t_!5f=qII$=_0Bk zYPy6)be*~BwL@{=rbkkqAF;7iGVI&&RL1%v@#KY`M$a0))m`CDtRub4B2YyCVkh_*E~Dsq|+BuUMvWQre^v}Y70v`I&H_^u8wGMzI47} zz!}PTZI_%;$Mc+sb+a~>$!08J-JZso{<5zHtNT1>D4y`MPCVh-c-Bq2!DRXM;Ah3! znhPnL$Yfp5;qOk8jf^-R0fM@U`i2vZ=Vxp-{GZH64#E!aYH|A!8XvO21c;$zJ Ezo@UCB>(^b diff --git a/locales/eu/LC_MESSAGES/base.po b/locales/eu/LC_MESSAGES/base.po index 7087c40..52019fd 100644 --- a/locales/eu/LC_MESSAGES/base.po +++ b/locales/eu/LC_MESSAGES/base.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: 0.0.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-04-07 17:23+0200\n" -"PO-Revision-Date: 2022-04-16 17:13+0200\n" +"PO-Revision-Date: 2022-04-25 17:10+0200\n" "Last-Translator: Aitzol Berasategi \n" "Language-Team: LANGUAGE \n" "Language: eu\n" @@ -117,33 +117,37 @@ msgstr "Ongi etorri" msgid "The session was closed." msgstr "Saioa itxi da." -#: libs/localization.py:39 +#: libs/localization.py:40 msgid "Username must be at least 3 characters long!" msgstr "Erabiltzaile izenak gutxienez 3 karaktere izan behar ditu!" -#: libs/localization.py:40 -msgid "Please enter your password!" -msgstr "Sartu zure pasahitza, mesedez!" +#: libs/localization.py:41 +msgid "Not allowed characters for the username field." +msgstr "Erabiltzaile-izen eremurako onartzen ez diren karaktereak." #: libs/localization.py:42 -msgid "The code is invalid or has expired." -msgstr "Kodea baliogabea da edo iraungi egin da." +msgid "Not allowed characters for the firstname field." +msgstr "Izen eremurako onartzen ez diren karaktereak." #: libs/localization.py:43 -msgid "A bit short, don't you think?!" -msgstr "Labur-xamarra, ez duzu uste?!" +msgid "Not allowed characters for the surname field." +msgstr "Abizen eremurako onartzen ez diren karaktereak." #: libs/localization.py:44 -msgid "Not allowed characters for the username field." -msgstr "Erabiltzaile izenerako onartzen ez diren karaktereak." +msgid "The code is invalid or has expired." +msgstr "Kodea baliogabea da edo iraungi egin da." #: libs/localization.py:45 msgid "Passwords do not match!" msgstr "Pasahitzak ez datoz bat!" #: libs/localization.py:46 -msgid "Password must be at least 8 characters long!" -msgstr "Pasahitzak gutxienez 8 karaktereko luzera izan behar du!" +msgid "" +"The password must contain at least 8 characters, at least one number, " +"uppercase and lowercase letters and special characters." +msgstr "" +"Pasahitzak gutxienez 8 karaktere izan behar ditu, zenbakiren bat gutxienez, " +"hizki txiki zein larriak eta baita karaktere bereziak ere." #: libs/localization.py:47 msgid "Congratulations, your account has been created!" @@ -202,7 +206,8 @@ msgid "Unable to connect to the remote server." msgstr "Ezinezkoa urruneko zerbitzara konektatzea." #: libs/localization.py:61 -msgid "Encountered an unexpected error while communicating with the remote server." +msgid "" +"Encountered an unexpected error while communicating with the remote server." msgstr "Ezusteko errore bat gertatu da urruneko zerbitzariarekin komunikatzean." #: libs/localization.py:62 @@ -219,4 +224,4 @@ msgstr "Zure pasahitza ahaztu duzu? Saia zeitez berriz, mesedez." #: libs/localization.py:65 msgid "The session has expired." -msgstr "Saioa iraungi egin da." \ No newline at end of file +msgstr "Saioa iraungi egin da."