]> git.parisson.com Git - teleforma.git/commitdiff
fix titles
authoryomguy <yomguy@parisson.com>
Fri, 14 Dec 2012 14:08:09 +0000 (15:08 +0100)
committeryomguy <yomguy@parisson.com>
Fri, 14 Dec 2012 14:08:09 +0000 (15:08 +0100)
teleforma/locale/fr/LC_MESSAGES/django.mo
teleforma/locale/fr/LC_MESSAGES/django.po
teleforma/templates/teleforma/seminar_detail.html

index b05773f06fb030df166791dad3500fb8ad3e0a8c..b8740c5088c6799dcb67f268c8a51a3f10da8a5a 100644 (file)
Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ
index 0478b938906c5730f5a6db24a6cdb556c08d4786..4b31b95c47aea27df907522921ad50922e8a6568 100644 (file)
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-12-14 11:49+0100\n"
+"POT-Creation-Date: 2012-12-14 15:07+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"
@@ -961,27 +961,47 @@ msgstr "Aide"
 msgid "Informations"
 msgstr "Informations"
 
-#: templates/teleforma/seminar_detail.html:43
+#: templates/teleforma/seminar_detail.html:44
 msgid "Step 1 : read the following documents"
 msgstr "Étape 1 : lisez les documents suivants"
 
-#: templates/teleforma/seminar_detail.html:49
+#: templates/teleforma/seminar_detail.html:48
+msgid "Step 1 : read the following document"
+msgstr "Étape 1 : lisez le document suivant"
+
+#: templates/teleforma/seminar_detail.html:56
 msgid "Step 2 : view the following conferences"
 msgstr "Étape 2 : visionnez les conférences suivantes"
 
-#: templates/teleforma/seminar_detail.html:55
+#: templates/teleforma/seminar_detail.html:60
+msgid "Step 2 : view the following conference"
+msgstr "Étape 2 : visionnez la conférence suivante"
+
+#: templates/teleforma/seminar_detail.html:68
 msgid "Step 3 : read the following documents"
-msgstr "Étape 3 : lisez les documents suivants"
+msgstr "Étape 3 : lisez le documents suivants"
+
+#: templates/teleforma/seminar_detail.html:72
+msgid "Step 3 : read the following document"
+msgstr "Étape 3 : lisez les documents suivant"
 
-#: templates/teleforma/seminar_detail.html:61
+#: templates/teleforma/seminar_detail.html:80
 msgid "Step 4 : answer to the following questions"
 msgstr "Étape 4 : réalisez les consultations fictives suivantes"
 
-#: templates/teleforma/seminar_detail.html:68
+#: templates/teleforma/seminar_detail.html:84
+msgid "Step 4 : answer to the following question"
+msgstr "Étape 4 : réalisez la consultation fictive suivante"
+
+#: templates/teleforma/seminar_detail.html:93
 msgid "Step 5 : read the following corrected documents"
 msgstr "Étape 5 : lisez les documents corrigés suivants"
 
-#: templates/teleforma/seminar_detail.html:83
+#: templates/teleforma/seminar_detail.html:97
+msgid "Step 5 : read the following corrected document"
+msgstr "Étape 5 : lisez le document corrigé suivant"
+
+#: templates/teleforma/seminar_detail.html:113
 msgid "Progression"
 msgstr "Progression"
 
index 5ee4b5fc7488b2aa741212fcca42e32cdad8085b..6b3294da1f084e90d3de5ae9bd2f3c4e616a3305 100644 (file)
         </div>
 
           {% with seminar.docs_1 as docs %}
-           {% with _("Step 1 : read the following documents") as title %}
-            {% include "teleforma/inc/document_simple_list.html" %}
+           {% if docs.all.count > 1 %}
+            {% with _("Step 1 : read the following documents") as title %}
+             {% include "teleforma/inc/document_simple_list.html" %}
            {% endwith %}
+           {% else %}
+            {% with _("Step 1 : read the following document") as title %}
+             {% include "teleforma/inc/document_simple_list.html" %}
+            {% endwith %}
+           {% endif %}
           {% endwith %}
 
           {% with seminar.media as media_packages %}
-           {% with _("Step 2 : view the following conferences") as title %}
-            {% include "teleforma/inc/media_package_list.html" %}
-           {% endwith %}
+           {% if media_packages.all.count > 1 %}
+            {% with _("Step 2 : view the following conferences") as title %}
+             {% include "teleforma/inc/media_package_list.html" %}
+            {% endwith %}
+           {% else %}
+            {% with _("Step 2 : view the following conference") as title %}
+             {% include "teleforma/inc/media_package_list.html" %}
+            {% endwith %}
+           {% endif %}
           {% endwith %}
-        
+
           {% with seminar.docs_2 as docs %}
-           {% with _("Step 3 : read the following documents") as title %}
-            {% include "teleforma/inc/document_simple_list.html" %}
+           {% if docs.all.count > 1 %}
+            {% with _("Step 3 : read the following documents") as title %}
+             {% include "teleforma/inc/document_simple_list.html" %}
            {% endwith %}
+           {% else %}
+            {% with _("Step 3 : read the following document") as title %}
+             {% include "teleforma/inc/document_simple_list.html" %}
+            {% endwith %}
+           {% endif %}
           {% endwith %}
-          
+            
           {% with seminar.question as questions %}
-           {% with _("Step 4 : answer to the following questions") as title %}
-            {% include "teleforma/inc/question_list.html" %}
-           {% endwith %}
+           {% if questions.all.count > 1 %}
+            {% with _("Step 4 : answer to the following questions") as title %}
+             {% include "teleforma/inc/question_list.html" %}
+            {% endwith %}
+           {% else %}
+            {% with _("Step 4 : answer to the following question") as title %}
+             {% include "teleforma/inc/question_list.html" %}
+            {% endwith %}
+           {% endif %}
           {% endwith %}
 
          {% if validated %}
           {% with seminar.docs_correct as docs %}
+           {% if docs.all.count > 1 %}
             {% with _("Step 5 : read the following corrected documents") as title %}
              {% include "teleforma/inc/document_simple_list.html" %}
             {% endwith %}
+           {% else %}
+            {% with _("Step 5 : read the following corrected document") as title %}
+             {% include "teleforma/inc/document_simple_list.html" %}
+            {% endwith %}
+           {% endif %}
           {% endwith %}
          {% endif %}