]> git.parisson.com Git - teleforma.git/commitdiff
fix course titles
authoryomguy <yomguy@parisson.com>
Fri, 20 Apr 2012 12:51:57 +0000 (14:51 +0200)
committeryomguy <yomguy@parisson.com>
Fri, 20 Apr 2012 12:51:57 +0000 (14:51 +0200)
teleforma/locale/fr/LC_MESSAGES/django.mo
teleforma/locale/fr/LC_MESSAGES/django.po
teleforma/templates/telemeta/profile_detail.html

index d21bea94a79ab8b80b04cdfb0ca85db9299add49..556dd9eb4e13a5a0f14a75c32902a494cf5309be 100644 (file)
Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ
index d79c6a7cf39aec3bab159ba97d990dcc87604c56..9640c8afd559c2e250c3e1eabbee149dde5d6f74 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-04-20 14:46+0200\n"
+"POT-Creation-Date: 2012-04-20 14:51+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"
@@ -572,6 +572,7 @@ msgid "Mime type"
 msgstr "Type mime"
 
 #: templates/teleforma/courses.html:22
+#: templates/telemeta/profile_detail.html:16
 msgid "My courses"
 msgstr "Mes matières"
 
@@ -725,8 +726,8 @@ msgid "User Profile"
 msgstr "profil"
 
 #: templates/telemeta/profile_detail.html:16
-msgid "Courses"
-msgstr "Matières"
+msgid "His courses"
+msgstr "Ses matières"
 
 #: templates/telemeta/profile_detail.html:34
 msgid "Send a message"
@@ -799,7 +800,7 @@ msgstr ""
 msgid "Apply"
 msgstr ""
 
-#: templates/telemeta/profile_detail.html:91
+#: templates/telemeta/profile_detail.html:92
 msgid "Login as"
 msgstr "Se connecter en tant que"
 
@@ -879,6 +880,9 @@ msgstr ""
 msgid "me"
 msgstr "moi"
 
+#~ msgid "Courses"
+#~ msgstr "Matières"
+
 #~ msgid "Date begin"
 #~ msgstr "Date de début"
 
index f809d335eb78d84f9664ddc58af9201a87132615..5cbd8b916ffc00931d0018924ef4c8f548894915 100644 (file)
@@ -13,7 +13,7 @@
   {% block modules %}
 
     <div class="module">
-    <h3><a href="{% url teleforma-desk %}"><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlists" style="vertical-align:middle" />{% trans "Courses" %}</a></h3>
+    <h3><a href="{% url teleforma-desk %}"><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlists" style="vertical-align:middle" />{% if user.username != usr.username%}{% trans "His courses" %}{% else %}{% trans "My courses" %}{% endif %}</a></h3>
     <div style="background: white;">
     <ul>
     {% block courses %}