msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-02-19 10:22+0100\n"
+"POT-Creation-Date: 2013-02-19 16:45+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Guillaume Pellerin <yomguy@parisson.com>\n"
"Language-Team: LANGUAGE <lists@parisson.com>\n"
msgid "form"
msgstr "formulaire"
-#: models/pro.py:130 templates/teleforma/answer_form.html:104
+#: models/pro.py:130 templates/teleforma/answer_form.html:110
#: templates/teleforma/seminar_detail.html:158
#: templates/teleforma/testimonials.html:58
#: templates/teleforma/inc/answer_list.html:14
msgstr "date de validation"
#: models/pro.py:185 templates/teleforma/answer_detail.html:43
-#: templates/teleforma/answer_form.html:107
+#: templates/teleforma/answer_form.html:113
msgid "Answer"
msgstr "Réponse à la consultation"
msgid ":"
msgstr ""
-#: templates/postman/view.html:36
+#: templates/postman/view.html:36 templates/teleforma/answer_form.html:72
#: templates/teleforma/seminar_media_audio.html:8
#: templates/teleforma/seminar_media_video.html:68
msgid "Back"
msgid "My steps"
msgstr "Mes étapes"
-#: templates/teleforma/answer_form.html:74
+#: templates/teleforma/answer_form.html:80
#: templates/teleforma/evaluation_form.html:10
#: templates/teleforma/seminar_detail.html:77
#: templates/teleforma/seminar_detail.html:86
msgid "Step"
msgstr "Étape"
-#: templates/teleforma/answer_form.html:74
+#: templates/teleforma/answer_form.html:80
#: templates/teleforma/seminar_detail.html:105
msgid "answer to this question"
msgstr "réaliser cette consultation fictive"
-#: templates/teleforma/answer_form.html:74
+#: templates/teleforma/answer_form.html:80
msgid "characters"
msgstr "caractères"
-#: templates/teleforma/answer_form.html:74
+#: templates/teleforma/answer_form.html:80
msgid "minimum"
msgstr "minimum"
-#: templates/teleforma/answer_form.html:88
+#: templates/teleforma/answer_form.html:94
msgid "Save"
msgstr ""
-#: templates/teleforma/answer_form.html:89
+#: templates/teleforma/answer_form.html:95
msgid "Submit it"
msgstr "Soumettre"
# #: templates/teleforma/seminar_detail.html:152
-#: templates/teleforma/answer_form.html:97
+#: templates/teleforma/answer_form.html:103
#: templates/teleforma/seminar_detail.html:152
#: templates/teleforma/seminars.html:134
msgid "Progressions"
msgstr "Progressions"
-#: templates/teleforma/answer_form.html:101
+#: templates/teleforma/answer_form.html:107
#: templates/teleforma/seminar_detail.html:155
#: templates/teleforma/seminars.html:137
msgid "General"
"\n"
"You have then achieved the step 4 of your training.\n"
"\n"
-"Now read the corrected document of all questions (step 5) and evaluate the "
-"training (step 6) in order to obtain your testimonial (step 7) following "
-"this link:\n"
+"Now read the corrected document of each questions (step 5) following this "
+"link:\n"
"\n"
"http://%(domain)s%(path)s\n"
"\n"
"Vous avez achevé l’étape 4 de votre formation.\n"
"\n"
"Consultez dès à présent le corrigé-type des consultations fictives (étape 5) "
-"et évaluez la formation suivie (étape 6) afin d’obtenir votre attestation "
-"(étape 7) en suivant ce lien :\n"
+"en suivant ce lien :\n"
"\n"
"http://%(domain)s%(path)s\n"
"\n"
"télécharger votre attestation de formation ci-dessous."
#: views/pro.py:184
-msgid "You have successfully saved your answer"
-msgstr "Vous avez enregistré votre consultation avec succès"
+msgid "You have successfully saved your answer."
+msgstr "Vous avez enregistré votre consultation avec succès."
#: views/pro.py:186
-msgid "You have successfully submitted your answer"
-msgstr "Vous avez soumis votre consultation avec succès"
+msgid "You have successfully submitted your answer."
+msgstr ""
+"Vous avez soumis votre consultation avec succès. Vous recevrez un message "
+"dès que celle-ci aura été validée par notre équipe pédagogique (48 heures "
+"ouvrées maximum)."
#: views/pro.py:190
msgid "Your submission has not been saved correctly. Please try again."
msgstr ""
"Votre consultation n'a pas été enregistrée correctement, veuillez réessayer "
-"SVP."
+"s'il vous plaît."
#: views/pro.py:301 views/pro.py:358 views/pro.py:402
msgid "Subtitle"
<div class="course_content">
<div class="course_subtitle">
- <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Answer" %}</h3>
+ <h3><img src="{{ STATIC_URL }}telemeta/images/item_title.png" width="10px" alt="" /> {% trans "Answer" %}{% if answer.question.rank %}n° {{ answer.question.rank }}{% endif %}</h3>
</div>
<div style="text-align: justify; padding: .5em;">
{{ answer.answer|safe }}
<br />
{% if user.is_staff %}
-<a id="validate" href="#" class="component_icon button icon_ok">{% trans " validate" %}</a>
+<a id="validate" href="#" class="component_icon button icon_ok">{% trans " validate" %}</a>
<a id="reject" href="#" class="component_icon button icon_delete">{% trans " reject" %}</a>
{% endif %}
});
{% endif %}
-$(document).ready(function(){
+$(document).ready(function(){
//default usage
$("#id_answer").charCount({
- necessary: {{question.min_nchar}},
+ necessary: {{question.min_nchar}},
counterText: gettext('Characters')+' : ',
});
});
new Messi(gettext('You must reach the required number of characters.'), {buttons: [{id: 0, label: gettext('OK'), val: 'X'}], modal: true});
}
if (c.hasClass('exceed')){
- $('#id_status').val("3");
- $('#_AnswerForm').submit();
+ $('#id_status').val("3");
+ $('#_AnswerForm').submit();
}
});
-
+
var b2 = $('#save_button');
b2.unbind('click').click(function() {
$(window).unbind('beforeunload');
</div>
{% endblock submodules %}
+{% block module-action %}
+<div class="module_action">
+ <a href="{% url teleforma-seminar-detail seminar.id %}" class="component_icon button icon_previous"> {% trans "Back" %}</a>
+</div>
+{% endblock module-action %}
+
{% block course_content %}
<div class="course_content">
{{ question.question|safe }}
</div>
</div>
-
+
<br />
<form method="post" id="_AnswerForm" action="">{% csrf_token %}
{{ form }}
-{% load i18n %}{% blocktrans %}{{ gender }} {{ first_name }} {{ last_name }},
+{% load i18n %}{% blocktrans %}{{ gender }} {{ last_name }},
We are sorry we cannot validate your answer n°{{ rank }} of the e-learning seminar "{{ title }}".
-{% load i18n %}{% blocktrans %}{{ gender }} {{ first_name }} {{ last_name }},
+{% load i18n %}{% blocktrans %}{{ gender }} {{ last_name }},
Your answer to the question n°{{ rank }} of the e-learning seminar "{{ title }}" has been validated.
-{% load i18n %}{% blocktrans %}{{ gender }} {{ first_name }} {{ last_name }},
+{% load i18n %}{% blocktrans %}{{ gender }} {{ last_name }},
Your answer to the question n°{{ rank }} of the e-learning seminar "{{ title }}" has been validated.
You have then achieved the step 4 of your training.
-Now read the corrected document of all questions (step 5) and evaluate the training (step 6) in order to obtain your testimonial (step 7) following this link:
+Now read the corrected document of each questions (step 5) following this link:
http://{{ domain }}{{ path }}
<tr><td class="bold">{% trans "Last name" %} : </td><td>{{ user.last_name|upper }}</td></tr>
<tr><td class="bold">{% trans "First name" %} : </td><td>{{ user.first_name|upper }}</td></tr>
<tr><td class="bold">{% trans "Address" %} : </td><td>{{ user.auditor.all.0.address }} {{ user.auditor.all.0.postal_code }} {{ user.auditor.all.0.city }}</td></tr>
- <tr><td class="bold">{% trans "Sujet" %} : </td><td>{{ seminar.title }} {% if seminar.rank %} n°{{seminar.rank}}{% endif %}</td></tr>
+ <tr><td class="bold">{% trans "Sujet" %} : </td><td>{{ seminar.title }}</td></tr>
<tr><td class="bold">{% trans "Course" %} : </td><td>{{ seminar.course }}</td></tr>
<tr><td class="bold">{% trans "Training type" %} : </td><td>E-learning</td></tr>
<tr><td class="bold">{% trans "Duration" %} : </td><td>{{ seminar.duration|hours }} {% trans "hours" %}</td></tr>
@register.simple_tag
def untreated_answer_count():
- answers = Answer.objects.filter(treated=False)
+ answers = Answer.objects.filter(treated=False, status=3)
if answers:
return ' (' + str(len(answers)) + ')'
else:
answer.question = self.question
answer.save()
if answer.status <= 2:
- messages.info(self.request, _("You have successfully saved your answer"))
+ messages.info(self.request, _("You have successfully saved your answer."))
elif answer.status == 3:
- messages.info(self.request, _("You have successfully submitted your answer"))
+ messages.info(self.request, _("You have successfully submitted your answer."))
return super(AnswerView, self).form_valid(form)
def form_invalid(self, form):
auditor = user.auditor.all()
if auditor:
- gender = unicode(_(auditor[0].gender))
+ gender = auditor[0].get_gender_display()
else:
gender = ''
context['gender'] = gender
auditor = user.auditor.all()
if auditor:
- gender = unicode(_(auditor[0].gender))
+ gender = auditor[0].get_gender_display()
else:
gender = ''
+
context['gender'] = gender
context['first_name'] = user.first_name
context['last_name'] = user.last_name
sender = self.request.user
site = Site.objects.get_current()
path= reverse('teleforma-question-answer', kwargs={'id': seminar.id, 'pk': answer.question.id})
+ organization = seminar.course.department.name
+
if answer.question.seminar.sub_title:
title = unicode(_('Subtitle')) + ' : ' + seminar.sub_title
else:
title = unicode(_('Course')) + ' : ' + seminar.course.title
- organization = seminar.course.department.name
+
auditor = user.auditor.all()
if auditor:
- context['gender'] = auditor[0].gender
+ context['gender'] = auditor[0].get_gender_display()
else:
- context['gender'] = user.first_name
- context['lastname'] = user.last_name
+ context['gender'] = ''
+
+ context['last_name'] = user.last_name
context['rank'] = answer.question.rank
context['domain'] = site.name
context['path'] = path