Camille Masset 9 年之前
父節點
當前提交
3b2acf79e8

+ 1 - 5
counter/templates/passwordResetConfirm.html

@@ -18,13 +18,9 @@
18 18
                 <h2 class="panel-title">{% trans "Change your password of the seum!" %}</h2>
19 19
             </div>
20 20
             <div class=" panel-body">
21
-                <form class='' method="POST" action="{% url 'password_change' %}">
21
+                <form class='' method="POST">
22 22
                     {% csrf_token %}
23 23
                     <div class="form-group">
24
-                        <label for="id_old_password">{% trans "Old password" %}</label>
25
-                        <input id="id_old_password" type="password" class="form-control" name="old_password" required />
26
-                    </div>
27
-                    <div class="form-group">
28 24
                         <label for="id_new_password1">{% trans "New password" %}</label>
29 25
                         <input id="id_new_password1" type="password" class="form-control" name="new_password1" required />
30 26
                     </div>

+ 1 - 1
counter/templates/resetEmail.txt

@@ -3,7 +3,7 @@
3 3
 {% block reset_link %}
4 4
 {{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}
5 5
 {% endblock %}
6
-{% trans "Your login is {{ user.username }} in case you have forgotten it too." %}
6
+{% blocktrans %}Your login is {{ user.username }} in case you have forgotten it too.{% endblocktrans %}
7 7
 
8 8
 --
9 9
 SeumBook™ - http://seum.merigoux.ovh

+ 12 - 12
locale/en/LC_MESSAGES/django.po

@@ -8,7 +8,7 @@ msgid ""
8 8
 msgstr ""
9 9
 "Project-Id-Version: PACKAGE VERSION\n"
10 10
 "Report-Msgid-Bugs-To: \n"
11
-"POT-Creation-Date: 2017-01-22 15:38-0500\n"
11
+"POT-Creation-Date: 2017-01-23 12:30+0000\n"
12 12
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 13
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 14
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -259,8 +259,8 @@ msgstr ""
259 259
 #: counter/templates/createUser.html:64 counter/templates/login.html:43
260 260
 #: counter/templates/passwordChange.html:45
261 261
 #: counter/templates/passwordReset.html:37
262
-#: counter/templates/passwordResetConfirm.html:46
263
-#: counter/templates/passwordResetConfirm.html:57
262
+#: counter/templates/passwordResetConfirm.html:42
263
+#: counter/templates/passwordResetConfirm.html:53
264 264
 msgid "Error"
265 265
 msgstr ""
266 266
 
@@ -369,7 +369,7 @@ msgstr ""
369 369
 #: counter/templates/passwordChange.html:5
370 370
 #: counter/templates/passwordChange.html:35
371 371
 #: counter/templates/passwordResetConfirm.html:5
372
-#: counter/templates/passwordResetConfirm.html:36
372
+#: counter/templates/passwordResetConfirm.html:32
373 373
 msgid "Change password"
374 374
 msgstr ""
375 375
 
@@ -431,22 +431,21 @@ msgid "Change your password of the seum!"
431 431
 msgstr ""
432 432
 
433 433
 #: counter/templates/passwordChange.html:23
434
-#: counter/templates/passwordResetConfirm.html:24
435 434
 msgid "Old password"
436 435
 msgstr ""
437 436
 
438 437
 #: counter/templates/passwordChange.html:27
439
-#: counter/templates/passwordResetConfirm.html:28
438
+#: counter/templates/passwordResetConfirm.html:24
440 439
 msgid "New password"
441 440
 msgstr ""
442 441
 
443 442
 #: counter/templates/passwordChange.html:31
444
-#: counter/templates/passwordResetConfirm.html:32
443
+#: counter/templates/passwordResetConfirm.html:28
445 444
 msgid "Confirm new password"
446 445
 msgstr ""
447 446
 
448 447
 #: counter/templates/passwordChange.html:48
449
-#: counter/templates/passwordResetConfirm.html:49
448
+#: counter/templates/passwordResetConfirm.html:45
450 449
 msgid "You don't even manage to change your password, seum."
451 450
 msgstr ""
452 451
 
@@ -484,7 +483,7 @@ msgid ""
484 483
 "That's it! You have reset your password! You can reset your counter now."
485 484
 msgstr ""
486 485
 
487
-#: counter/templates/passwordResetConfirm.html:60
486
+#: counter/templates/passwordResetConfirm.html:56
488 487
 msgid "You've got the seum, the link that we sent you has already been used."
489 488
 msgstr ""
490 489
 
@@ -505,7 +504,8 @@ msgid ""
505 504
 msgstr ""
506 505
 
507 506
 #: counter/templates/resetEmail.txt:6
508
-msgid "Your login is {{ user.username }} in case you have forgotten it too."
507
+#, python-format
508
+msgid "Your login is %(user.username)s in case you have forgotten it too."
509 509
 msgstr ""
510 510
 
511 511
 #: counter/templates/resetEmail.txt:11
@@ -582,10 +582,10 @@ msgstr ""
582 582
 msgid "Use another email address, another user has already this login."
583 583
 msgstr ""
584 584
 
585
-#: seum/settings.py:107
585
+#: seum/settings.py:109
586 586
 msgid "English"
587 587
 msgstr ""
588 588
 
589
-#: seum/settings.py:108
589
+#: seum/settings.py:110
590 590
 msgid "French"
591 591
 msgstr ""

+ 13 - 12
locale/fr/LC_MESSAGES/django.po

@@ -8,7 +8,7 @@ msgid ""
8 8
 msgstr ""
9 9
 "Project-Id-Version: PACKAGE VERSION\n"
10 10
 "Report-Msgid-Bugs-To: \n"
11
-"POT-Creation-Date: 2017-01-22 15:38-0500\n"
11
+"POT-Creation-Date: 2017-01-23 12:30+0000\n"
12 12
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 13
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 14
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -272,8 +272,8 @@ msgstr "Créer le compteur"
272 272
 #: counter/templates/createUser.html:64 counter/templates/login.html:43
273 273
 #: counter/templates/passwordChange.html:45
274 274
 #: counter/templates/passwordReset.html:37
275
-#: counter/templates/passwordResetConfirm.html:46
276
-#: counter/templates/passwordResetConfirm.html:57
275
+#: counter/templates/passwordResetConfirm.html:42
276
+#: counter/templates/passwordResetConfirm.html:53
277 277
 msgid "Error"
278 278
 msgstr "Erreur"
279 279
 
@@ -382,7 +382,7 @@ msgstr "Se déconnecter"
382 382
 #: counter/templates/passwordChange.html:5
383 383
 #: counter/templates/passwordChange.html:35
384 384
 #: counter/templates/passwordResetConfirm.html:5
385
-#: counter/templates/passwordResetConfirm.html:36
385
+#: counter/templates/passwordResetConfirm.html:32
386 386
 msgid "Change password"
387 387
 msgstr "Modifier le mot de passe"
388 388
 
@@ -444,22 +444,21 @@ msgid "Change your password of the seum!"
444 444
 msgstr "Change ton mot de passe du seum !"
445 445
 
446 446
 #: counter/templates/passwordChange.html:23
447
-#: counter/templates/passwordResetConfirm.html:24
448 447
 msgid "Old password"
449 448
 msgstr "Ancien mot de passe"
450 449
 
451 450
 #: counter/templates/passwordChange.html:27
452
-#: counter/templates/passwordResetConfirm.html:28
451
+#: counter/templates/passwordResetConfirm.html:24
453 452
 msgid "New password"
454 453
 msgstr "Nouveau mot de passe"
455 454
 
456 455
 #: counter/templates/passwordChange.html:31
457
-#: counter/templates/passwordResetConfirm.html:32
456
+#: counter/templates/passwordResetConfirm.html:28
458 457
 msgid "Confirm new password"
459 458
 msgstr "Confirmer le nouveau mot de passe"
460 459
 
461 460
 #: counter/templates/passwordChange.html:48
462
-#: counter/templates/passwordResetConfirm.html:49
461
+#: counter/templates/passwordResetConfirm.html:45
463 462
 msgid "You don't even manage to change your password, seum."
464 463
 msgstr "T'arrives même pas à changer ton mot de passe, seum."
465 464
 
@@ -499,7 +498,7 @@ msgstr ""
499 498
 "Ça y est tu as réinitialisé ton mot de passe ! Du coup tu peux aller "
500 499
 "remettre ton compteur à zéro."
501 500
 
502
-#: counter/templates/passwordResetConfirm.html:60
501
+#: counter/templates/passwordResetConfirm.html:56
503 502
 msgid "You've got the seum, the link that we sent you has already been used."
504 503
 msgstr ""
505 504
 "T'as le seum, le lien qui t'as été donné pour visiter cette page est déjà "
@@ -526,7 +525,9 @@ msgstr ""
526 525
 "lien pour le réinitialiser :"
527 526
 
528 527
 #: counter/templates/resetEmail.txt:6
529
-msgid "Your login is {{ user.username }} in case you have forgotten it too."
528
+#, fuzzy, python-format
529
+#| msgid "Your login is {{ user.username }} in case you have forgotten it too."
530
+msgid "Your login is %(user.username)s in case you have forgotten it too."
530 531
 msgstr ""
531 532
 "Ton nom d'utilisateur c'est {{ user.username }} au cas où tu l'aurais oublié "
532 533
 "aussi."
@@ -607,10 +608,10 @@ msgstr "Un utilisateur avec cette adresse email existe déjà."
607 608
 msgid "Use another email address, another user has already this login."
608 609
 msgstr "Utilise une autre adresse email, un autre utilisateur a déjà ce login."
609 610
 
610
-#: seum/settings.py:107
611
+#: seum/settings.py:109
611 612
 msgid "English"
612 613
 msgstr "Anglais"
613 614
 
614
-#: seum/settings.py:108
615
+#: seum/settings.py:110
615 616
 msgid "French"
616 617
 msgstr "Français"