POC Campus Condorcet : attributs eduPerson{Primary,}Affiliation, partie 2

This commit is contained in:
Paul Marillonnet 2017-05-16 20:03:41 +02:00
parent e0e1cfdeab
commit 371462a28e
2 changed files with 99 additions and 50 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-14 17:20+0000\n"
"POT-Creation-Date: 2017-05-16 18:01+0000\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,89 +18,131 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: saml/forms.py:36
#: saml/forms.py:7
msgid "Student"
msgstr ""
#: saml/forms.py:8
msgid "Faculty"
msgstr ""
#: saml/forms.py:9
msgid "Staff"
msgstr ""
#: saml/forms.py:10
msgid "Employee"
msgstr ""
#: saml/forms.py:11
msgid "Member"
msgstr ""
#: saml/forms.py:12
#, fuzzy
#| msgid "Affiliations"
msgid "Affiliate"
msgstr ""
#: saml/forms.py:13
msgid "Alum"
msgstr ""
#: saml/forms.py:14
msgid "Library-walk-in"
msgstr ""
#: saml/forms.py:15
msgid "Retired"
msgstr ""
#: saml/forms.py:16
msgid "Researcher"
msgstr ""
#: saml/forms.py:17
msgid "Emeritus"
msgstr ""
#: saml/forms.py:18
msgid "Teacher"
msgstr ""
#: saml/forms.py:19
msgid "Registered-reader"
msgstr ""
#: saml/forms.py:44
msgid "Last name"
msgstr "Nom"
#: saml/forms.py:37
#: saml/forms.py:45
msgid "First name"
msgstr "Prenom"
#: saml/forms.py:38
#: saml/forms.py:46
msgid "Email address"
msgstr "Courriel"
#: saml/forms.py:45
#: saml/forms.py:53
msgid "Primary affiliation"
msgstr "Affiliation principale"
#: saml/forms.py:48
#: saml/forms.py:56
msgid "Affiliations"
msgstr "Affiliations"
#: saml/forms.py:51
#: saml/forms.py:59
msgid "Source institution"
msgstr "Etablissement d'origine"
#: saml/forms.py:54
#: saml/forms.py:62
msgid "Primary assignment unit"
msgstr "Affectation principale"
#: saml/forms.py:57
#: saml/forms.py:65
msgid "Assignment units"
msgstr "Affectations"
#: saml/forms.py:58
#: saml/forms.py:66
msgid "Source entity"
msgstr "Corps d'appartenance"
#: saml/forms.py:59
#: saml/forms.py:67
msgid "Unlist contact information"
msgstr "Liste rouge"
#: saml/forms.py:62
#: saml/forms.py:70
msgid "Host's first name"
msgstr "Prenom de la personne invitante"
#: saml/forms.py:63
#: saml/forms.py:71
msgid "Host's last name"
msgstr "Nom de la personne invitante"
#: saml/forms.py:66
#: saml/forms.py:74
msgid "Host institution"
msgstr "Etablissement invitant"
#: saml/forms.py:69
#: saml/forms.py:77
msgid "Host entity or unit"
msgstr "Unite invitante"
#: saml/utils.py:50
msgid "Error while binding to the OpenLDAP server."
msgstr "Erreur de connexion au serveur OpenLDAP"
#: saml/utils.py:65 saml/utils.py:82
#: saml/utils.py:64 saml/utils.py:81
msgid "No description"
msgstr "Pas de description"
#: saml/utils.py:136
msgid "HTTP error "
msgstr "Erreur HTTP"
#: saml/utils.py:136
msgid "during WCS form submission"
msgstr "lors de l'envoi du formulaire WCS"
#: saml/views.py:28
#: saml/views.py:31
msgid ""
"Your account has already been registered to the Campus Condorcet account "
"base."
msgstr "Votre compte est deja cree dans la base du Campus Condorcet."
#: saml/views.py:34
#: saml/views.py:38
msgid "Your account creation request has been sent."
msgstr "Votre demande de creation de compte a bien ete prise en compte."
#: saml/views.py:49
#: saml/views.py:53
msgid ""
"Please check the entries below, fill in the empty fields and submit your "
"account request"
@ -108,16 +150,16 @@ msgstr ""
"Veuillez confirmer les elements ci-dessous, completer les champs vides et "
"valider votre demande d'inscription."
#: saml/views.py:51
#: saml/views.py:55
msgid "Please fill in the empty fields and submit your account request"
msgstr ""
"Veuillez completer les champs vides et valider votre demande d'inscription."
#: sp_sso/settings.py:179
#: sp_sso/settings.py:160
msgid "French"
msgstr "Francais"
#: sp_sso/settings.py:180
#: sp_sso/settings.py:161
msgid "English"
msgstr "Anglais"
@ -145,17 +187,13 @@ msgstr "Portail"
msgid "Portal Management"
msgstr "Gestion du portail"
#: templates/registration_form.html:6
msgid "Hi"
msgstr "Bonjour"
#: templates/registration_form.html:11
msgid "Guest:"
msgstr "Invite"
msgstr "Invite :"
#: templates/registration_form.html:24
msgid "Host:"
msgstr "Hote"
msgstr "Hote :"
#: templates/root.html:28
msgid ""
@ -169,9 +207,20 @@ msgid ""
" "
msgstr ""
#: templates/root.html:43
msgid "Homepage"
msgstr "Page d'accueil"
#~ msgid "Error while binding to the OpenLDAP server."
#~ msgstr "Erreur de connexion au serveur OpenLDAP"
#~ msgid "HTTP error "
#~ msgstr "Erreur HTTP"
#~ msgid "during WCS form submission"
#~ msgstr "lors de l'envoi du formulaire WCS"
#~ msgid "Hi"
#~ msgstr "Bonjour"
#~ msgid "Homepage"
#~ msgstr "Page d'accueil"
#~ msgid "Bonjour"
#~ msgstr "Hi"

View File

@ -11,12 +11,12 @@ AFFILIATION_CHOICES = (
('member', _('Member')),
('affiliate', _('Affiliate')),
('alum', _('Alum')),
('library-walk-in', 'Library-walk-in'),
('retired', 'Retired'),
('researcher', 'Researcher'),
('emeritus', 'Emeritus'),
('teacher', 'Teacher'),
('registered-reader', 'Registered-reader'),
('library-walk-in', _('Library-walk-in')),
('retired', _('Retired')),
('researcher', _('Researcher')),
('emeritus', _('Emeritus')),
('teacher', _('Teacher')),
('registered-reader', _('Registered-reader')),
)
AFFECTATION_CHOICES = (
@ -39,7 +39,7 @@ class RegistrationForm(forms.Form):
def __init__(self, *args, **kwargs):
super(RegistrationForm, self).__init__(*args, **kwargs)
self.user_nickname = kwargs['initial'].get('user_nickname', '')
self.user_help_msg = kwargs['initial'].get('user_help_msg')
self.user_help_msg = kwargs['initial'].get('user_help_msg', '')
nom = forms.CharField(max_length=100, label=_("Last name"))
prenom = forms.CharField(max_length=100, label=_("First name"))