you can now delete your account
This commit is contained in:
parent
14763469df
commit
04925ed5b5
|
@ -0,0 +1,33 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
{% load i18n %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<div class="ctf-block">
|
||||
<div class="ctf-head">
|
||||
<h3>{% trans "Delete account" %}</h3>
|
||||
</div>
|
||||
<div class="ctf-body">
|
||||
{% trans "Please confirm your password to delete your account." %}<br>
|
||||
{% trans "Deleted accounts cannot be recovered." %}<br><br>
|
||||
<div class="col-sm-8 col-md-6 mx-auto">
|
||||
{% if bad_password %}
|
||||
<span class="message error-msg">{% trans "Password inccorect." %}</span>
|
||||
{% elif deleted %}
|
||||
<span class="message success-msg">{% trans "Your account has been deleted." %}</span>
|
||||
{% endif %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="password" name="password" placeholder="{% trans "Password" %}"></br>
|
||||
<input class="form-control" type="submit" value="Delete">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -54,6 +54,14 @@
|
|||
{% endif %}
|
||||
<li class="list-group-item">{% trans "Registered since" %} {{ user.date_joined|date:"Y-m-d" }}</li>
|
||||
</ul>
|
||||
<ul class="list-group">
|
||||
<form method='GET' action="{% url 'accounts:delete_account' %}">
|
||||
{%csrf_token%}
|
||||
<li class="list-group-item">
|
||||
<input class="form-control" type="submit" value="{% trans "Delete my account" %}">
|
||||
</li>
|
||||
</form>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -12,5 +12,6 @@ urlpatterns = [
|
|||
path('rank/<str:token>', views.rank, name='rank'),
|
||||
path('connections/connect/discord', views.connection.connect, name='connections-connect-discord'),
|
||||
path('connections/connect/discord/authorize', views.connection.authorize, name='connections-connect-discord-authorize'),
|
||||
path('connections/disconnect/discord', views.connection.disconnect, name='connections-disconnect-discord')
|
||||
path('connections/disconnect/discord', views.connection.disconnect, name='connections-disconnect-discord'),
|
||||
path('delete_account/', views.delete_account, name='delete_account'),
|
||||
]
|
||||
|
|
|
@ -163,3 +163,20 @@ def rank(request, token):
|
|||
rank += 1
|
||||
data = {"rank": rank}
|
||||
return JsonResponse(data)
|
||||
|
||||
@login_required
|
||||
def delete_account(request):
|
||||
if request.method == 'POST':
|
||||
user = request.user
|
||||
|
||||
password = request.POST.get('password')
|
||||
if user.check_password(password):
|
||||
logout(request)
|
||||
user.delete()
|
||||
return render(request, 'accounts/delete.html', {'deleted': True, 'bad_password': False})
|
||||
|
||||
else:
|
||||
return render(request, 'accounts/delete.html', {'deleted': False, 'bad_password': True})
|
||||
|
||||
else:
|
||||
return render(request, 'accounts/delete.html', {'deleted': False, 'bad_password': False} )
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -18,6 +18,34 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: accounts/templates/accounts/delete.html:8
|
||||
msgid "Delete account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:11
|
||||
msgid "Please confirm your password to delete your account."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:12
|
||||
msgid "Deleted accounts cannot be recovered."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:15
|
||||
msgid "Password inccorect."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:17
|
||||
msgid "Your account has been deleted."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:22
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/edit.html:21
|
||||
#: accounts/templates/accounts/login.html:18
|
||||
#: accounts/templates/accounts/register.html:22
|
||||
|
@ -61,15 +89,12 @@ msgstr ""
|
|||
msgid "Registered since"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
#: accounts/templates/accounts/edit.html:61
|
||||
msgid "Delete my account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:22
|
||||
|
@ -202,7 +227,7 @@ msgid "Challenge is not yet available."
|
|||
msgstr ""
|
||||
|
||||
#: ctfs/templates/ctfs/ctf_info.html:20
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:22
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:46
|
||||
msgid ""
|
||||
"No translation available. Please try another language (English or French)."
|
||||
msgstr ""
|
||||
|
@ -440,22 +465,38 @@ msgstr ""
|
|||
msgid "It seems that this team has not solved any challenge yet..."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:32
|
||||
#: home/templates/home/home.html:20
|
||||
msgid "Weekly Top 5"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:56
|
||||
msgid "No article available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:37
|
||||
#: home/templates/home/home.html:61
|
||||
msgid "Latest challenges added"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:43
|
||||
#: home/templates/home/home.html:66
|
||||
msgid "points"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:70
|
||||
msgid "No ctf available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:53
|
||||
#: home/templates/home/home.html:74
|
||||
msgid "Latest Flags"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:88
|
||||
msgid "Flags counter"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:94
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
||||
#: project/settings.py:115
|
||||
msgid "English"
|
||||
msgstr ""
|
||||
|
@ -508,7 +549,7 @@ msgstr ""
|
|||
msgid "Sign Up"
|
||||
msgstr ""
|
||||
|
||||
#: templates/base.html:134
|
||||
#: templates/base.html:144
|
||||
msgid "Become a Patron!"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -18,6 +18,34 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: accounts/templates/accounts/delete.html:8
|
||||
msgid "Delete account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:11
|
||||
msgid "Please confirm your password to delete your account."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:12
|
||||
msgid "Deleted accounts cannot be recovered."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:15
|
||||
msgid "Password inccorect."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:17
|
||||
msgid "Your account has been deleted."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:22
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/edit.html:21
|
||||
#: accounts/templates/accounts/login.html:18
|
||||
#: accounts/templates/accounts/register.html:22
|
||||
|
@ -61,15 +89,12 @@ msgstr ""
|
|||
msgid "Registered since"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
#: accounts/templates/accounts/edit.html:61
|
||||
msgid "Delete my account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:22
|
||||
|
@ -202,7 +227,7 @@ msgid "Challenge is not yet available."
|
|||
msgstr ""
|
||||
|
||||
#: ctfs/templates/ctfs/ctf_info.html:20
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:22
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:46
|
||||
msgid ""
|
||||
"No translation available. Please try another language (English or French)."
|
||||
msgstr ""
|
||||
|
@ -440,22 +465,38 @@ msgstr ""
|
|||
msgid "It seems that this team has not solved any challenge yet..."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:32
|
||||
#: home/templates/home/home.html:20
|
||||
msgid "Weekly Top 5"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:56
|
||||
msgid "No article available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:37
|
||||
#: home/templates/home/home.html:61
|
||||
msgid "Latest challenges added"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:43
|
||||
#: home/templates/home/home.html:66
|
||||
msgid "points"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:70
|
||||
msgid "No ctf available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:53
|
||||
#: home/templates/home/home.html:74
|
||||
msgid "Latest Flags"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:88
|
||||
msgid "Flags counter"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:94
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
||||
#: project/settings.py:115
|
||||
msgid "English"
|
||||
msgstr ""
|
||||
|
@ -508,7 +549,7 @@ msgstr ""
|
|||
msgid "Sign Up"
|
||||
msgstr ""
|
||||
|
||||
#: templates/base.html:134
|
||||
#: templates/base.html:144
|
||||
msgid "Become a Patron!"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -18,6 +18,34 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: accounts/templates/accounts/delete.html:8
|
||||
msgid "Delete account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:11
|
||||
msgid "Please confirm your password to delete your account."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:12
|
||||
msgid "Deleted accounts cannot be recovered."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:15
|
||||
msgid "Password inccorect."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:17
|
||||
msgid "Your account has been deleted."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:22
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/edit.html:21
|
||||
#: accounts/templates/accounts/login.html:18
|
||||
#: accounts/templates/accounts/register.html:22
|
||||
|
@ -61,15 +89,12 @@ msgstr ""
|
|||
msgid "Registered since"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
#: accounts/templates/accounts/edit.html:61
|
||||
msgid "Delete my account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:22
|
||||
|
@ -202,7 +227,7 @@ msgid "Challenge is not yet available."
|
|||
msgstr ""
|
||||
|
||||
#: ctfs/templates/ctfs/ctf_info.html:20
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:22
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:46
|
||||
msgid ""
|
||||
"No translation available. Please try another language (English or French)."
|
||||
msgstr ""
|
||||
|
@ -440,22 +465,38 @@ msgstr ""
|
|||
msgid "It seems that this team has not solved any challenge yet..."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:32
|
||||
#: home/templates/home/home.html:20
|
||||
msgid "Weekly Top 5"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:56
|
||||
msgid "No article available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:37
|
||||
#: home/templates/home/home.html:61
|
||||
msgid "Latest challenges added"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:43
|
||||
#: home/templates/home/home.html:66
|
||||
msgid "points"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:70
|
||||
msgid "No ctf available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:53
|
||||
#: home/templates/home/home.html:74
|
||||
msgid "Latest Flags"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:88
|
||||
msgid "Flags counter"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:94
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
||||
#: project/settings.py:115
|
||||
msgid "English"
|
||||
msgstr ""
|
||||
|
@ -508,7 +549,7 @@ msgstr ""
|
|||
msgid "Sign Up"
|
||||
msgstr ""
|
||||
|
||||
#: templates/base.html:134
|
||||
#: templates/base.html:144
|
||||
msgid "Become a Patron!"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -18,6 +18,38 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: accounts/templates/accounts/delete.html:8
|
||||
#, fuzzy
|
||||
#| msgid "Connected accounts"
|
||||
msgid "Delete account"
|
||||
msgstr "Comptes connectés"
|
||||
|
||||
#: accounts/templates/accounts/delete.html:11
|
||||
msgid "Please confirm your password to delete your account."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:12
|
||||
msgid "Deleted accounts cannot be recovered."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:15
|
||||
msgid "Password inccorect."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:17
|
||||
#, fuzzy
|
||||
#| msgid "Your account has been created."
|
||||
msgid "Your account has been deleted."
|
||||
msgstr "Votre compte a été créé."
|
||||
|
||||
#: accounts/templates/accounts/delete.html:22
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
msgstr "Mot de passe"
|
||||
|
||||
#: accounts/templates/accounts/edit.html:21
|
||||
#: accounts/templates/accounts/login.html:18
|
||||
#: accounts/templates/accounts/register.html:22
|
||||
|
@ -61,17 +93,16 @@ msgstr "Score"
|
|||
msgid "Registered since"
|
||||
msgstr "Inscrit depuis"
|
||||
|
||||
#: accounts/templates/accounts/edit.html:61
|
||||
#, fuzzy
|
||||
#| msgid "Connected accounts"
|
||||
msgid "Delete my account"
|
||||
msgstr "Comptes connectés"
|
||||
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
msgstr "Merci de vérifier vos informations."
|
||||
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
msgstr "Mot de passe"
|
||||
|
||||
#: accounts/templates/accounts/login.html:22
|
||||
msgid "Reset password"
|
||||
msgstr "Réinitialiser le mot de passe"
|
||||
|
@ -208,7 +239,7 @@ msgid "Challenge is not yet available."
|
|||
msgstr "Il n'y a pas de catégorie disponible."
|
||||
|
||||
#: ctfs/templates/ctfs/ctf_info.html:20
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:22
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:46
|
||||
msgid ""
|
||||
"No translation available. Please try another language (English or French)."
|
||||
msgstr ""
|
||||
|
@ -460,22 +491,42 @@ msgstr "Quitte l'équipe"
|
|||
msgid "It seems that this team has not solved any challenge yet..."
|
||||
msgstr "Il semble que cette équipe n'a pas encore résolu de challenge..."
|
||||
|
||||
#: home/templates/home/home.html:32
|
||||
#: home/templates/home/home.html:20
|
||||
msgid "Weekly Top 5"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:56
|
||||
msgid "No article available."
|
||||
msgstr "Il n'y a pas d'article disponible."
|
||||
|
||||
#: home/templates/home/home.html:37
|
||||
#: home/templates/home/home.html:61
|
||||
msgid "Latest challenges added"
|
||||
msgstr "Derniers challenges ajoutés"
|
||||
|
||||
#: home/templates/home/home.html:43
|
||||
#: home/templates/home/home.html:66
|
||||
#, fuzzy
|
||||
#| msgid "Points"
|
||||
msgid "points"
|
||||
msgstr "Points"
|
||||
|
||||
#: home/templates/home/home.html:70
|
||||
msgid "No ctf available."
|
||||
msgstr "Pas de challenge disponible"
|
||||
|
||||
#: home/templates/home/home.html:53
|
||||
#: home/templates/home/home.html:74
|
||||
msgid "Latest Flags"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:88
|
||||
msgid "Flags counter"
|
||||
msgstr "Compteur de flags"
|
||||
|
||||
#: home/templates/home/home.html:94
|
||||
#, fuzzy
|
||||
#| msgid "Username"
|
||||
msgid "Users"
|
||||
msgstr "Pseudo"
|
||||
|
||||
#: project/settings.py:115
|
||||
msgid "English"
|
||||
msgstr "Anglais"
|
||||
|
@ -528,7 +579,7 @@ msgstr "Déconnexion"
|
|||
msgid "Sign Up"
|
||||
msgstr "Inscription"
|
||||
|
||||
#: templates/base.html:134
|
||||
#: templates/base.html:144
|
||||
msgid "Become a Patron!"
|
||||
msgstr "Soutenez nous via Patreon !"
|
||||
|
||||
|
@ -578,9 +629,6 @@ msgstr "Réinitialiser"
|
|||
#~ msgid "End at"
|
||||
#~ msgstr "Fin"
|
||||
|
||||
#~ msgid "Connected accounts"
|
||||
#~ msgstr "Comptes connectés"
|
||||
|
||||
#~ msgid "Disconnect Discord"
|
||||
#~ msgstr "Déconnecter Discord"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -18,6 +18,34 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: accounts/templates/accounts/delete.html:8
|
||||
msgid "Delete account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:11
|
||||
msgid "Please confirm your password to delete your account."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:12
|
||||
msgid "Deleted accounts cannot be recovered."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:15
|
||||
msgid "Password inccorect."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:17
|
||||
msgid "Your account has been deleted."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:22
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/edit.html:21
|
||||
#: accounts/templates/accounts/login.html:18
|
||||
#: accounts/templates/accounts/register.html:22
|
||||
|
@ -61,15 +89,12 @@ msgstr ""
|
|||
msgid "Registered since"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
#: accounts/templates/accounts/edit.html:61
|
||||
msgid "Delete my account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:22
|
||||
|
@ -202,7 +227,7 @@ msgid "Challenge is not yet available."
|
|||
msgstr ""
|
||||
|
||||
#: ctfs/templates/ctfs/ctf_info.html:20
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:22
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:46
|
||||
msgid ""
|
||||
"No translation available. Please try another language (English or French)."
|
||||
msgstr ""
|
||||
|
@ -440,22 +465,38 @@ msgstr ""
|
|||
msgid "It seems that this team has not solved any challenge yet..."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:32
|
||||
#: home/templates/home/home.html:20
|
||||
msgid "Weekly Top 5"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:56
|
||||
msgid "No article available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:37
|
||||
#: home/templates/home/home.html:61
|
||||
msgid "Latest challenges added"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:43
|
||||
#: home/templates/home/home.html:66
|
||||
msgid "points"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:70
|
||||
msgid "No ctf available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:53
|
||||
#: home/templates/home/home.html:74
|
||||
msgid "Latest Flags"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:88
|
||||
msgid "Flags counter"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:94
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
||||
#: project/settings.py:115
|
||||
msgid "English"
|
||||
msgstr ""
|
||||
|
@ -508,7 +549,7 @@ msgstr ""
|
|||
msgid "Sign Up"
|
||||
msgstr ""
|
||||
|
||||
#: templates/base.html:134
|
||||
#: templates/base.html:144
|
||||
msgid "Become a Patron!"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -20,6 +20,34 @@ msgstr ""
|
|||
"%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"
|
||||
|
||||
#: accounts/templates/accounts/delete.html:8
|
||||
msgid "Delete account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:11
|
||||
msgid "Please confirm your password to delete your account."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:12
|
||||
msgid "Deleted accounts cannot be recovered."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:15
|
||||
msgid "Password inccorect."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:17
|
||||
msgid "Your account has been deleted."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/delete.html:22
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/edit.html:21
|
||||
#: accounts/templates/accounts/login.html:18
|
||||
#: accounts/templates/accounts/register.html:22
|
||||
|
@ -63,15 +91,12 @@ msgstr "счет"
|
|||
msgid "Registered since"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
#: accounts/templates/accounts/edit.html:61
|
||||
msgid "Delete my account"
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:19
|
||||
#: accounts/templates/accounts/register.html:23
|
||||
#: events/templates/events/create_team.html:26
|
||||
#: events/templates/events/join_team.html:31
|
||||
msgid "Password"
|
||||
#: accounts/templates/accounts/login.html:13
|
||||
msgid "Please, verify your infos."
|
||||
msgstr ""
|
||||
|
||||
#: accounts/templates/accounts/login.html:22
|
||||
|
@ -206,7 +231,7 @@ msgid "Challenge is not yet available."
|
|||
msgstr "Нет доступных статей."
|
||||
|
||||
#: ctfs/templates/ctfs/ctf_info.html:20
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:22
|
||||
#: events/templates/events/ctf_info.html:17 home/templates/home/home.html:46
|
||||
msgid ""
|
||||
"No translation available. Please try another language (English or French)."
|
||||
msgstr ""
|
||||
|
@ -450,22 +475,38 @@ msgstr ""
|
|||
msgid "It seems that this team has not solved any challenge yet..."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:32
|
||||
#: home/templates/home/home.html:20
|
||||
msgid "Weekly Top 5"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:56
|
||||
msgid "No article available."
|
||||
msgstr "Нет доступных статей."
|
||||
|
||||
#: home/templates/home/home.html:37
|
||||
#: home/templates/home/home.html:61
|
||||
msgid "Latest challenges added"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:43
|
||||
#: home/templates/home/home.html:66
|
||||
msgid "points"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:70
|
||||
msgid "No ctf available."
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:53
|
||||
#: home/templates/home/home.html:74
|
||||
msgid "Latest Flags"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:88
|
||||
msgid "Flags counter"
|
||||
msgstr ""
|
||||
|
||||
#: home/templates/home/home.html:94
|
||||
msgid "Users"
|
||||
msgstr ""
|
||||
|
||||
#: project/settings.py:115
|
||||
msgid "English"
|
||||
msgstr ""
|
||||
|
@ -518,7 +559,7 @@ msgstr "Выйти"
|
|||
msgid "Sign Up"
|
||||
msgstr ""
|
||||
|
||||
#: templates/base.html:134
|
||||
#: templates/base.html:144
|
||||
msgid "Become a Patron!"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2022-01-23 17:31+0000\n"
|
||||
"POT-Creation-Date: 2022-01-31 19:20+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
Loading…
Reference in New Issue