Changeset - 38e418408c58
kallithea/controllers/login.py
Show inline comments
 
@@ -144,13 +144,13 @@ class LoginController(BaseController):
 
                        _msg = _('Bad captcha')
 
                        error_dict = {'recaptcha_field': _msg}
 
                        raise formencode.Invalid(_msg, _value, None,
 
                                                 error_dict=error_dict)
 

	
 
                UserModel().create_registration(form_result)
 
                h.flash(_('You have successfully registered into Kallithea'),
 
                h.flash(_('You have successfully registered with %s') % (c.site_name or 'Kallithea'),
 
                        category='success')
 
                Session().commit()
 
                raise HTTPFound(location=url('login_home'))
 

	
 
            except formencode.Invalid as errors:
 
                return htmlfill.render(
kallithea/i18n/be/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -294,14 +294,14 @@ msgstr "Журнал"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "Няслушная капча"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "Рэгістрацыя ў Kallithea прайшла паспяхова"
 
msgid "You have successfully registered with %s"
 
msgstr "Рэгістрацыя ў %s прайшла паспяхова"
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr "Код для скідання пароля адпраўлены"
 

	
 
#: kallithea/controllers/login.py:244
kallithea/i18n/cs/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -288,13 +288,13 @@ msgstr ""
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "Špatná captcha"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr ""
 

	
kallithea/i18n/de/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -295,14 +295,14 @@ msgstr "Logbuch"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "Falsches Captcha"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "Sie haben sich erfolgreich bei Kallithea registriert"
 
msgid "You have successfully registered with %s"
 
msgstr "Sie haben sich erfolgreich bei %s registriert"
 

	
 
#: kallithea/controllers/login.py:195
 
#, fuzzy
 
msgid "A password reset confirmation code has been sent"
 
msgstr "Ihr Link um das Passwort zurückzusetzen wurde versendet"
 

	
kallithea/i18n/el/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -301,14 +301,14 @@ msgstr "Ημερολόγιο"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "Λάθος captcha"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "Εγγραφήκατε επιτυχώς στο Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr "Εγγραφήκατε επιτυχώς στο %s"
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr "Στάλθηκε ένας κωδικός επιβεβαίωσης επαναφοράς του συνθηματικού"
 

	
 
#: kallithea/controllers/login.py:244
kallithea/i18n/es/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -291,14 +291,14 @@ msgstr "Registro"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "CAPTCHA erróneo"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "El registro en Kallithea se ha efectuado correctamente"
 
msgid "You have successfully registered with %s"
 
msgstr "El registro en %s se ha efectuado correctamente"
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr "Se ha enviado una confirmación de restauración de contraseña"
 

	
 
#: kallithea/controllers/login.py:244
kallithea/i18n/fr/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -297,14 +297,14 @@ msgstr "Historique"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "Mauvais captcha"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "Vous vous êtes inscrits avec succès à Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr "Vous vous êtes inscrits avec succès à %s"
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr "Un lien de confirmation de réinitialisation de mot de passe a été envoyé"
 

	
 
#: kallithea/controllers/login.py:244
kallithea/i18n/hu/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -287,13 +287,13 @@ msgstr ""
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr ""
 

	
kallithea/i18n/ja/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -294,14 +294,14 @@ msgstr "ジャーナル"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "キャプチャが一致しません"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "Kallitheaへの登録を受け付けました"
 
msgid "You have successfully registered with %s"
 
msgstr "%sへの登録を受け付けました"
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr "パスワードリセットの確認コードが送信されました"
 

	
 
#: kallithea/controllers/login.py:244
kallithea/i18n/kallithea.pot
Show inline comments
 
@@ -282,13 +282,13 @@ msgstr ""
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr ""
 

	
kallithea/i18n/nl_BE/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -288,13 +288,13 @@ msgstr ""
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr ""
 

	
kallithea/i18n/pl/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -299,14 +299,14 @@ msgstr "Dziennik"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "Udało Ci się zarejestrować na stronie"
 
msgid "You have successfully registered with %s"
 
msgstr "Udało Ci się zarejestrować w %s"
 

	
 
#: kallithea/controllers/login.py:195
 
#, fuzzy
 
msgid "A password reset confirmation code has been sent"
 
msgstr "Twój link zresetowania hasła został wysłany"
 

	
kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -293,14 +293,14 @@ msgstr "Diário"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "Você foi registrado no Kallithea com sucesso"
 
msgid "You have successfully registered with %s"
 
msgstr "Você foi registrado no %s com sucesso"
 

	
 
#: kallithea/controllers/login.py:195
 
#, fuzzy
 
msgid "A password reset confirmation code has been sent"
 
msgstr "Seu link de reinicialização de senha foi enviado"
 

	
kallithea/i18n/ru/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -303,14 +303,14 @@ msgstr "Журнал"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "Неверная капча"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "Регистрация в Kallithea прошла успешно"
 
msgid "You have successfully registered with %s"
 
msgstr "Регистрация в %s прошла успешно"
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr "Код для сброса пароля отправлен"
 

	
 
#: kallithea/controllers/login.py:244
kallithea/i18n/sk/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -288,13 +288,13 @@ msgstr ""
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
#, fuzzy
 
msgid "Bad captcha"
 
msgstr "zlá captcha"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr ""
 

	
kallithea/i18n/zh_CN/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -290,14 +290,14 @@ msgstr "日志"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr "验证码错误"
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgstr "您已成功注册 Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr "您已成功注册 %s"
 

	
 
#: kallithea/controllers/login.py:195
 
msgid "A password reset confirmation code has been sent"
 
msgstr "密码重置确认码已经发送"
 

	
 
#: kallithea/controllers/login.py:244
kallithea/i18n/zh_TW/LC_MESSAGES/kallithea.po
Show inline comments
 
@@ -287,13 +287,13 @@ msgstr "日誌"
 

	
 
#: kallithea/controllers/login.py:144 kallithea/controllers/login.py:190
 
msgid "Bad captcha"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:150
 
msgid "You have successfully registered into Kallithea"
 
msgid "You have successfully registered with %s"
 
msgstr ""
 

	
 
#: kallithea/controllers/login.py:195
 
#, fuzzy
 
msgid "A password reset confirmation code has been sent"
 
msgstr "您的密碼重設連結已寄出"
kallithea/tests/functional/test_login.py
Show inline comments
 
@@ -324,13 +324,13 @@ class TestLoginController(TestController
 
                                             'password_confirmation': password,
 
                                             'email': email,
 
                                             'firstname': name,
 
                                             'lastname': lastname,
 
                                             'admin': True})  # This should be overridden
 
        assert response.status == '302 Found'
 
        self.checkSessionFlash(response, 'You have successfully registered into Kallithea')
 
        self.checkSessionFlash(response, 'You have successfully registered with Kallithea')
 

	
 
        ret = Session().query(User).filter(User.username == 'test_regular4').one()
 
        assert ret.username == username
 
        assert check_password(password, ret.password) == True
 
        assert ret.email == email
 
        assert ret.name == name
0 comments (0 inline, 0 general)