fix translations
authorBenoît Pin <pin@cri.ensmp.fr>
Tue, 14 Oct 2014 12:40:05 +0000 (14:40 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Tue, 14 Oct 2014 12:40:05 +0000 (14:40 +0200)
locales/en/LC_MESSAGES/plinn.mo
locales/en/LC_MESSAGES/plinn.po
locales/fr/LC_MESSAGES/plinn.mo
locales/fr/LC_MESSAGES/plinn.po
locales/plinn.pot
skins/custom_generic/folder_contents.py
skins/generic/folder_contents_macros.pt

index 338b224..f3e9bfd 100644 (file)
Binary files a/locales/en/LC_MESSAGES/plinn.mo and b/locales/en/LC_MESSAGES/plinn.mo differ
index 57f8a5b..8b55b6a 100644 (file)
@@ -14,8 +14,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: 2.0 beta 1\n"
-"POT-Creation-Date: Tue Oct 14 14:23:35 2014\n"
-"PO-Revision-Date: 2014-10-14 14:25+0200\n"
+"POT-Creation-Date: Tue Oct 14 14:34:37 2014\n"
+"PO-Revision-Date: 2014-10-14 14:39+0200\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: Zope 3 Developers <zope-dev@zope.org>\n"
 "Language: \n"
@@ -218,6 +218,7 @@ msgid " Change and View "
 msgstr " Change and View "
 
 #: n/skins/content/folder_factories.pt:18
+#: n/skins/custom_generic/folder_contents.py:103
 #: n/skins/custom_generic/personalize_form.pt:27
 #: n/skins/generic/gruf_macros.pt:256 n/skins/generic/gruf_macros.pt:378
 #: n/skins/generic/last_member_logs.pt:23
@@ -524,6 +525,19 @@ msgstr "%d item moved to top.%d items moved to top."
 msgid "%d item moved up.%d items moved up."
 msgstr "%d item moved up.%d items moved up."
 
+#: n/skins/custom_generic/folder_contents.py:99
+#: n/skins/photo_theme/search_results_macros.pt:14
+msgid "Type"
+msgstr "Type"
+
+#: n/skins/custom_generic/folder_contents.py:107
+msgid "Last Modified"
+msgstr "Last Modified"
+
+#: n/skins/custom_generic/folder_contents.py:117
+msgid "Set Sorting as Default"
+msgstr "Set Sorting as Default"
+
 #: n/skins/custom_generic/folder_contents_template.pt:29
 msgid "Up"
 msgstr "Up"
@@ -2045,10 +2059,6 @@ msgstr "Title"
 msgid "Creator"
 msgstr "Creator"
 
-#: n/skins/photo_theme/search_results_macros.pt:14
-msgid "Type"
-msgstr "Type"
-
 #: n/skins/photo_theme/search_results_macros.pt:15
 msgid "Date"
 msgstr "Date"
index b70818a..45c7ef6 100644 (file)
Binary files a/locales/fr/LC_MESSAGES/plinn.mo and b/locales/fr/LC_MESSAGES/plinn.mo differ
index 9ab0419..d396f6a 100644 (file)
@@ -1,8 +1,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: Plinn 2.0\n"
-"POT-Creation-Date: Tue Oct 14 14:23:35 2014\n"
-"PO-Revision-Date: 2014-10-14 13:37+0200\n"
+"POT-Creation-Date: Tue Oct 14 14:34:37 2014\n"
+"PO-Revision-Date: 2014-10-14 14:35+0200\n"
 "Last-Translator:  Benoît PIN\n"
 "Language-Team: CRI http://cri.ensmp.fr\n"
 "Language: \n"
@@ -211,6 +211,7 @@ msgid " Change and View "
 msgstr " Changer et voir "
 
 #: n/skins/content/folder_factories.pt:18
+#: n/skins/custom_generic/folder_contents.py:103
 #: n/skins/custom_generic/personalize_form.pt:27
 #: n/skins/generic/gruf_macros.pt:256 n/skins/generic/gruf_macros.pt:378
 #: n/skins/generic/last_member_logs.pt:23
@@ -517,6 +518,19 @@ msgstr "%d élément déplacé en haut.%d éléments déplacés en haut."
 msgid "%d item moved up.%d items moved up."
 msgstr "%d élément déplacé vers le haut.%d éléments déplacés vers le haut."
 
+#: n/skins/custom_generic/folder_contents.py:99
+#: n/skins/photo_theme/search_results_macros.pt:14
+msgid "Type"
+msgstr "Type"
+
+#: n/skins/custom_generic/folder_contents.py:107
+msgid "Last Modified"
+msgstr "Modifié le"
+
+#: n/skins/custom_generic/folder_contents.py:117
+msgid "Set Sorting as Default"
+msgstr "Définir comme tri par défaut"
+
 #: n/skins/custom_generic/folder_contents_template.pt:29
 msgid "Up"
 msgstr "Haut"
@@ -2074,10 +2088,6 @@ msgstr "Titre"
 msgid "Creator"
 msgstr "Créateur"
 
-#: n/skins/photo_theme/search_results_macros.pt:14
-msgid "Type"
-msgstr "Type"
-
 #: n/skins/photo_theme/search_results_macros.pt:15
 msgid "Date"
 msgstr "Date"
index 67c8ed7..b78a620 100644 (file)
@@ -14,7 +14,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: 2.0 beta 1\n"
-"POT-Creation-Date: Tue Oct 14 14:23:35 2014\n"
+"POT-Creation-Date: Tue Oct 14 14:34:37 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"
@@ -217,6 +217,7 @@ msgid " Change and View "
 msgstr ""
 
 #: n/skins/content/folder_factories.pt:18
+#: n/skins/custom_generic/folder_contents.py:103
 #: n/skins/custom_generic/personalize_form.pt:27
 #: n/skins/generic/gruf_macros.pt:256
 #: n/skins/generic/gruf_macros.pt:378
@@ -523,6 +524,19 @@ msgstr ""
 msgid "%d item moved up.%d items moved up."
 msgstr ""
 
+#: n/skins/custom_generic/folder_contents.py:99
+#: n/skins/photo_theme/search_results_macros.pt:14
+msgid "Type"
+msgstr ""
+
+#: n/skins/custom_generic/folder_contents.py:107
+msgid "Last Modified"
+msgstr ""
+
+#: n/skins/custom_generic/folder_contents.py:117
+msgid "Set Sorting as Default"
+msgstr ""
+
 #: n/skins/custom_generic/folder_contents_template.pt:29
 msgid "Up"
 msgstr ""
@@ -1895,10 +1909,6 @@ msgstr ""
 msgid "Creator"
 msgstr ""
 
-#: n/skins/photo_theme/search_results_macros.pt:14
-msgid "Type"
-msgstr ""
-
 #: n/skins/photo_theme/search_results_macros.pt:15
 msgid "Date"
 msgstr ""
index 2be413b..d4737f4 100755 (executable)
@@ -11,7 +11,7 @@ from Products.CMFDefault.permissions import ListFolderContents
 from Products.CMFDefault.permissions import ManageProperties
 from Products.CMFDefault.permissions import ViewManagementScreens
 from Products.CMFDefault.permissions import ModifyPortalContent
-from Products.CMFDefault.utils import html_marshal
+from Products.CMFDefault.utils import html_marshal, Message as _
 
 mtool = getToolByName(script, 'portal_membership')
 checkPermission = mtool.checkPermission
@@ -96,15 +96,15 @@ else:
     is_default = 0
 
 columns = ( {'key': 'Type',
-             'title': 'Type',
+             'title': _('Type'),
              'width': None,
              'colspan': '2'}
             , {'key': 'id',
-             'title': 'Name',
+             'title': _('Name'),
              'width': None,
              'colspan': None}
             , {'key': 'modified',
-             'title': 'Last Modified',
+             'title': _('Last Modified'),
              'width': None,
              'colspan': None}
             )
@@ -114,7 +114,7 @@ for column in columns:
     if key == column['key'] :
         if not is_default and manage_props_allowed :
             images.append( {'src' : getattr(context, 'set_default_sorting.gif').absolute_url(),
-                            'alt' : 'Set Sorting as Default',
+                            'alt' : _('Set Sorting as Default'),
                             'id'     : 'SetSortingAsDefault',
                             'href': '%s?%s' % (target, make_query(items_sort=True,
                                                                   key=key,
index 009a3e2..b03e11d 100644 (file)
@@ -28,7 +28,7 @@
       <thead id="FolderListingHeader">
         <tr>
           <th tal:attributes="width column_info/width; colspan column_info/colspan" tal:repeat="column_info listColumnInfos" nowrap="nowrap" >
-            <a href="." tal:attributes="href column_info/url" tal:content="column_info/title" i18n:translate="">Type</a>
+            <a href="." tal:attributes="href column_info/url" tal:content="column_info/title">Type</a>
             <span  tal:repeat="img column_info/images" tal:omit-tag="">
               <a tal:omit-tag="python:not img.has_key('href')"
                  tal:attributes="href img/href|nothing ; title img/alt" i18n:attributes="title"