]> git.parisson.com Git - teleforma.git/commitdiff
fix locales
authoryomguy <yomguy@parisson.com>
Wed, 25 Jul 2012 19:18:59 +0000 (21:18 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 25 Jul 2012 19:18:59 +0000 (21:18 +0200)
teleforma/locale/fr/LC_MESSAGES/django.mo
teleforma/locale/fr/LC_MESSAGES/django.po
teleforma/templates/teleforma/course_media.html
teleforma/templates/teleforma/inc/media_list.html

index cc63bfc5d9917c20f358412e0067da3dff513089..d713fb6ee977479f8f8a6ee2a86ff0970445799e 100644 (file)
Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ
index ebe37e35be1ed315b6e8770ff56abcfaab4b81da..dc535ce21e4e3b6d29d982bc5cf9f199a634f61b 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-07-25 21:10+0200\n"
+"POT-Creation-Date: 2012-07-25 21:17+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"
@@ -171,9 +171,8 @@ msgstr "crédits"
 msgid "date added"
 msgstr "date d'ajout"
 
-#: models.py:356 templates/teleforma/course_media.html:27
-#: templates/teleforma/course_media.html:79
-#: templates/teleforma/inc/media_list.html:43
+#: models.py:356
+#, fuzzy
 msgid "published"
 msgstr "publié"
 
@@ -663,10 +662,16 @@ msgstr "Nouvelle conférence"
 msgid "Record and stream"
 msgstr "Enregistrer et diffuser"
 
+#: templates/teleforma/course_media.html:27
+#: templates/teleforma/course_media.html:79
+#: templates/teleforma/inc/media_list.html:43
+msgid " published"
+msgstr "publié"
+
 #: templates/teleforma/course_media.html:34
 #: templates/teleforma/course_media.html:79
 #: templates/teleforma/inc/media_list.html:45
-msgid "rejected"
+msgid " rejected"
 msgstr "rejeté"
 
 #: templates/teleforma/course_media.html:62
index 6690b8fb32f38aed85891883b06b0001cfb7a0a3..d46ca59b6256e2605f6bf219867c4fca24e8466e 100644 (file)
@@ -24,14 +24,14 @@ $(document).ready(function(){
             var p = jQuery('#publish');
             json([id],'teleforma.publish_media',function(){
                 p.removeClass('icon_delete').addClass('icon_ok')
-                p.html('{% trans "published" %}')
+                p.html('{% trans " published" %}')
                 });
          },
         unpublish : function(id){
             var p = jQuery('#publish');
             json([id],'teleforma.unpublish_media',function(){
                 p.removeClass('icon_ok').addClass('icon_delete')
-                p.html('{% trans "rejected" %}')
+                p.html('{% trans " rejected" %}')
                 });
          }
         }
@@ -76,7 +76,7 @@ $(document).ready(function(){
         <a href="{% url teleforma-media-detail media|get_video_id %}" class="component_icon button icon_clap">&nbsp;{% trans "Video" %}</a>
         {% endif %}
         {% if user.is_staff %}
-        <a id="publish" href="#" class="{% if media.is_published %}component_icon button icon_ok{% else %}component_icon button icon_delete{% endif %}">{% if media.is_published %}{% trans "published" %}{% else %}{% trans "rejected" %}{% endif %}</a>
+        <a id="publish" href="#" class="{% if media.is_published %}component_icon button icon_ok{% else %}component_icon button icon_delete{% endif %}">{% if media.is_published %}{% trans " published" %}{% else %}{% trans " rejected" %}{% endif %}</a>
         {% endif %}
     </div>
 
index 121793af74b7ec406fd60f0c269d16416c66f5fc..6088b59cb074b2e8840f1fab930fbc1368914499 100644 (file)
@@ -40,9 +40,9 @@
             </td>
             <td {% if forloop.first %}class="border-top"{% endif %} width="10%" align="center">
             {% if media.is_published and user.is_staff %}
-             <img src="{{ STATIC_URL }}telemeta/images/ok.png" style="vertical-align:middle" alt="" title="{% trans 'published' %}" />
+             <img src="{{ STATIC_URL }}telemeta/images/ok.png" style="vertical-align:middle" alt="" title="{% trans ' published' %}" />
             {% elif not media.is_published and user.is_staff %}
-             <img src="{{ STATIC_URL }}telemeta/images/delete.png" style="vertical-align:middle" alt="" title="{% trans 'rejected' %}" />
+             <img src="{{ STATIC_URL }}telemeta/images/delete.png" style="vertical-align:middle" alt="" title="{% trans ' rejected' %}" />
             {% endif %}
             {% if media.item.file %}
              <a href="{{ MEDIA_URL }}{{ media.item.file }}">