From: yomguy Date: Wed, 25 Jul 2012 19:18:59 +0000 (+0200) Subject: fix locales X-Git-Tag: 0.8.3~10 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=eb6a9d0dd6d37f461e16fb8c257edb74865c2049;p=teleforma.git fix locales --- diff --git a/teleforma/locale/fr/LC_MESSAGES/django.mo b/teleforma/locale/fr/LC_MESSAGES/django.mo index cc63bfc5..d713fb6e 100644 Binary files a/teleforma/locale/fr/LC_MESSAGES/django.mo and b/teleforma/locale/fr/LC_MESSAGES/django.mo differ diff --git a/teleforma/locale/fr/LC_MESSAGES/django.po b/teleforma/locale/fr/LC_MESSAGES/django.po index ebe37e35..dc535ce2 100644 --- a/teleforma/locale/fr/LC_MESSAGES/django.po +++ b/teleforma/locale/fr/LC_MESSAGES/django.po @@ -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 \n" "Language-Team: LANGUAGE \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 diff --git a/teleforma/templates/teleforma/course_media.html b/teleforma/templates/teleforma/course_media.html index 6690b8fb..d46ca59b 100644 --- a/teleforma/templates/teleforma/course_media.html +++ b/teleforma/templates/teleforma/course_media.html @@ -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(){  {% trans "Video" %} {% endif %} {% if user.is_staff %} - {% if media.is_published %}{% trans "published" %}{% else %}{% trans "rejected" %}{% endif %} + {% if media.is_published %}{% trans " published" %}{% else %}{% trans " rejected" %}{% endif %} {% endif %} diff --git a/teleforma/templates/teleforma/inc/media_list.html b/teleforma/templates/teleforma/inc/media_list.html index 121793af..6088b59c 100644 --- a/teleforma/templates/teleforma/inc/media_list.html +++ b/teleforma/templates/teleforma/inc/media_list.html @@ -40,9 +40,9 @@ {% if media.is_published and user.is_staff %} - + {% elif not media.is_published and user.is_staff %} - + {% endif %} {% if media.item.file %}