From: Benoît Pin <pin@cri.ensmp.fr> Date: Tue, 1 Apr 2014 14:16:43 +0000 (+0200) Subject: Restauration de la localisation des détails des contenus pour ckeditor (suite au... X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/ba3300649023e250c9279f7833a5dd08a19c58a5 Restauration de la localisation des détails des contenus pour ckeditor (suite au bugfix dans ckeditor). --- diff --git a/locales/en/LC_MESSAGES/plinn.mo b/locales/en/LC_MESSAGES/plinn.mo index 59a3513..deb2b3f 100644 Binary files a/locales/en/LC_MESSAGES/plinn.mo and b/locales/en/LC_MESSAGES/plinn.mo differ diff --git a/locales/en/LC_MESSAGES/plinn.po b/locales/en/LC_MESSAGES/plinn.po index a54f656..69cef88 100644 --- a/locales/en/LC_MESSAGES/plinn.po +++ b/locales/en/LC_MESSAGES/plinn.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plinn 2.0\n" -"POT-Creation-Date: Tue Mar 4 15:13:49 2014\n" +"POT-Creation-Date: Tue Apr 1 16:10:35 2014\n" "PO-Revision-Date: 2013-11-28 13:12+0100\n" "Last-Translator: Benoît PIN\n" "Language-Team: CRI http://cri.ensmp.fr\n" @@ -131,6 +131,18 @@ msgstr "" msgid "Please select one revision per column to compare." msgstr "" +#: n/skins/content/content_info.pt:9 n/skins/content/file_info.pt:5 +msgid "Preview:" +msgstr "" + +#: n/skins/content/content_info.pt:20 n/skins/content/file_info.pt:20 +msgid "Created" +msgstr "" + +#: n/skins/content/content_info.pt:24 n/skins/content/file_info.pt:24 +msgid "Modified" +msgstr "" + #: n/skins/content/dateCriterionResolvedDescription.py:15 msgid "search from the beginning of the world until %s" msgstr "" diff --git a/locales/fr/LC_MESSAGES/plinn.mo b/locales/fr/LC_MESSAGES/plinn.mo index 3a9c855..c7f4f90 100644 Binary files a/locales/fr/LC_MESSAGES/plinn.mo and b/locales/fr/LC_MESSAGES/plinn.mo differ diff --git a/locales/fr/LC_MESSAGES/plinn.po b/locales/fr/LC_MESSAGES/plinn.po index d08315b..6e87849 100755 --- a/locales/fr/LC_MESSAGES/plinn.po +++ b/locales/fr/LC_MESSAGES/plinn.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plinn 2.0\n" -"POT-Creation-Date: Tue Mar 4 15:13:49 2014\n" +"POT-Creation-Date: Tue Apr 1 16:10:35 2014\n" "PO-Revision-Date: 2014-01-19 10:51+0100\n" "Last-Translator: Benoît PIN\n" "Language-Team: CRI http://cri.ensmp.fr\n" @@ -139,6 +139,18 @@ msgstr "Comparer" msgid "Please select one revision per column to compare." msgstr "Veuillez sélectionner une révision par colonne pour comparer." +#: n/skins/content/content_info.pt:9 n/skins/content/file_info.pt:5 +msgid "Preview:" +msgstr "Aperçu :" + +#: n/skins/content/content_info.pt:20 n/skins/content/file_info.pt:20 +msgid "Created" +msgstr "Créé" + +#: n/skins/content/content_info.pt:24 n/skins/content/file_info.pt:24 +msgid "Modified" +msgstr "Modifié" + #: n/skins/content/dateCriterionResolvedDescription.py:15 msgid "search from the beginning of the world until %s" msgstr "recherche depuis la nuit des temps jusqu'au %s" @@ -2423,15 +2435,6 @@ msgstr "Dossier" #~ msgid "Calendar View" #~ msgstr "Calendrier" -#~ msgid "Created" -#~ msgstr "Créé" - -#~ msgid "Modified" -#~ msgstr "Modifié" - -#~ msgid "Preview:" -#~ msgstr "Aperçu :" - #~ msgid "" #~ "You have been registered as a member of \"%(portal_title)s\", which\n" #~ "allows you to personalize your view of the website and participate in\n" diff --git a/locales/plinn.pot b/locales/plinn.pot index 2ec43c2..2336247 100644 --- a/locales/plinn.pot +++ b/locales/plinn.pot @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: 2.0 beta 1\n" -"POT-Creation-Date: Tue Mar 4 15:14:36 2014\n" +"POT-Creation-Date: Tue Apr 1 16:10:35 2014\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: Zope 3 Developers <zope-dev@zope.org>\n" @@ -139,6 +139,21 @@ msgstr "" msgid "Please select one revision per column to compare." msgstr "" +#: n/skins/content/content_info.pt:9 +#: n/skins/content/file_info.pt:5 +msgid "Preview:" +msgstr "" + +#: n/skins/content/content_info.pt:20 +#: n/skins/content/file_info.pt:20 +msgid "Created" +msgstr "" + +#: n/skins/content/content_info.pt:24 +#: n/skins/content/file_info.pt:24 +msgid "Modified" +msgstr "" + #: n/skins/content/dateCriterionResolvedDescription.py:15 msgid "search from the beginning of the world until %s" msgstr "" diff --git a/skins/content/content_info.pt b/skins/content/content_info.pt index 314da1f..36e5924 100644 --- a/skins/content/content_info.pt +++ b/skins/content/content_info.pt @@ -1,26 +1,27 @@ -<div tal:define="locale_date_fmt string:%m/%d/%Y %Hh%M; +<div i18n:domain="plinn" + tal:define="locale_date_fmt here/locale_date_fmt; portal_url here/portal_url; ti here/getTypeInfo; icon ti/getIcon"> <table class="finder_preview"> <tr> <td colspan="2"> - <div>Preview:</div> + <div i18n:translate="">Preview:</div> <div class="thumbnail"> <img tal:attributes="src python:portal_url + '/' + icon.replace('.gif', '.thumb.gif'); alt here/title_or_id" width="128" height="128"/> </div> </td> </tr> <tr> - <th>Title</th> + <th i18n:translate="">Title</th> <td tal:content="here/title_or_id">File title</td> </tr> <tr> - <th>Created</th> + <th i18n:translate="">Created</th> <td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td> </tr> <tr> - <th>Modified</th> + <th i18n:translate="">Modified</th> <td tal:content="python:here.modified().strftime(locale_date_fmt)">modification date</td> </tr> </table> diff --git a/skins/content/file_info.pt b/skins/content/file_info.pt index cb35365..07ee911 100644 --- a/skins/content/file_info.pt +++ b/skins/content/file_info.pt @@ -1,27 +1,27 @@ -<div tal:define="locale_date_fmt string:%m/%d/%Y %Hh%M; portal_url here/portal_url"> +<div i18n:domain="plinn" tal:define="locale_date_fmt here/locale_date_fmt; portal_url here/portal_url"> <table class="finder_preview"> <tr> <td colspan="2"> - <div>Preview:</div> + <div i18n:translate="">Preview:</div> <div class="thumbnail"> <img tal:attributes="src string:$portal_url/application.thumb.gif; alt here/title_or_id" width="128" height="128"/> </div> </td> </tr> <tr> - <th>Title</th> + <th i18n:translate="">Title</th> <td tal:content="here/title_or_id">File title</td> </tr> <tr> - <th>Type</th> + <th i18n:translate="">Type</th> <td tal:content="here/content_type">text/plain</td> </tr> <tr> - <th>Created</th> + <th i18n:translate="">Created</th> <td tal:content="python:here.created().strftime(locale_date_fmt)">creation date</td> </tr> <tr> - <th>Modified</th> + <th i18n:translate="">Modified</th> <td tal:content="python:here.modified().strftime(locale_date_fmt)">modification date</td> </tr> </table>