mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2025-06-29 19:11:09 +02:00
Django upgrade
This commit is contained in:
@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-08-09 22:14+0200\n"
|
||||
"POT-Creation-Date: 2019-08-10 10:24+0200\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"
|
||||
@ -17,26 +17,119 @@ msgstr ""
|
||||
msgid "Welcome,"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/base_site.html:30
|
||||
msgid "Explore the library"
|
||||
msgstr "Explorer la médiatèque"
|
||||
|
||||
#: templates/admin/base_site.html:50 templates/admin/base_site.html:69
|
||||
#: templates/admin/base_site.html:31 templates/admin/base_site.html:51
|
||||
msgid "Explore database"
|
||||
msgstr "Explorer la base de données"
|
||||
|
||||
#: templates/admin/base_site.html:62
|
||||
#: templates/admin/base_site.html:44
|
||||
msgid "Documentation"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/base_site.html:71
|
||||
#: templates/admin/base_site.html:54
|
||||
msgid "Log out"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/base_site.html:73 templates/registration/login.html:8
|
||||
#: templates/admin/base_site.html:56 templates/registration/login.html:8
|
||||
msgid "Log in"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:23
|
||||
#, python-format
|
||||
msgid "Models in the %(name)s application"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:34
|
||||
msgid "Add"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:40
|
||||
msgid "Change"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:63
|
||||
msgid "My profile"
|
||||
msgstr "Mon profil"
|
||||
|
||||
#: templates/admin/index.html:65
|
||||
msgid "Edit"
|
||||
msgstr "Éditer"
|
||||
|
||||
#: templates/admin/index.html:69
|
||||
msgid "username"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:70
|
||||
msgid "email"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:71
|
||||
msgid "comment"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:72
|
||||
msgid "date joined"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:73
|
||||
msgid "last login"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:74
|
||||
msgid "address"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:75
|
||||
msgid "phone number"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:76
|
||||
msgid "groups"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:78
|
||||
msgid "maximum borrowed"
|
||||
msgstr "emprunts maximal"
|
||||
|
||||
#: templates/admin/index.html:80
|
||||
msgid "membership for current year"
|
||||
msgstr "membre pour cette année"
|
||||
|
||||
#: templates/admin/index.html:82
|
||||
msgid "yes"
|
||||
msgstr "oui"
|
||||
|
||||
#: templates/admin/index.html:84
|
||||
msgid "no"
|
||||
msgstr "non"
|
||||
|
||||
#: templates/admin/index.html:89
|
||||
msgid "Current borrowed items"
|
||||
msgstr "Emprunts en cours"
|
||||
|
||||
#: templates/admin/index.html:93
|
||||
msgid "since"
|
||||
msgstr "depuis"
|
||||
|
||||
#: templates/admin/index.html:97
|
||||
msgid "No current borrowed items."
|
||||
msgstr "Pas d'emprunts en cours."
|
||||
|
||||
#: templates/admin/index.html:100
|
||||
msgid "My actions"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:104
|
||||
msgid "None available"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:119
|
||||
msgid "Unknown content"
|
||||
msgstr ""
|
||||
|
||||
#: templates/admin/index.html:126
|
||||
msgid "You are not logged in."
|
||||
msgstr "Vous n'êtes pas identifié."
|
||||
|
||||
#: templates/base.html:10 templates/registration/logged_out.html:9
|
||||
#: templates/registration/password_change_done.html:9
|
||||
#: templates/registration/password_change_form.html:9
|
||||
@ -89,6 +182,3 @@ msgstr ""
|
||||
#, python-format
|
||||
msgid "The %(site_name)s team"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "View admin"
|
||||
#~ msgstr "Administration"
|
||||
|
@ -128,12 +128,6 @@ input[type=button]:focus, .button:hover, input[type=submit]:hover, input[type=bu
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
/* Recenter login button */
|
||||
.login .submit-row {
|
||||
padding: 1em 0 0 0 !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
/* Branding logo */
|
||||
#branding img {
|
||||
vertical-align: middle;
|
||||
|
@ -11,7 +11,7 @@ Test that every themed page still works
|
||||
|
||||
class TemplateLoggedOutTests(TestCase):
|
||||
def test_login_page(self):
|
||||
response = self.client.get('/admin/login/')
|
||||
response = self.client.get('/database/login/')
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
|
||||
@ -28,11 +28,11 @@ class TemplateLoggedInTests(TestCase):
|
||||
"""
|
||||
Login page should redirect
|
||||
"""
|
||||
response = self.client.get('/admin/login/')
|
||||
response = self.client.get('/database/login/')
|
||||
self.assertEqual(response.status_code, 302)
|
||||
|
||||
def test_admin_index(self):
|
||||
response = self.client.get('/admin/')
|
||||
response = self.client.get('/database/')
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
def test_accounts_password_reset(self):
|
||||
|
Reference in New Issue
Block a user