From: Benoît Pin Date: Tue, 14 Oct 2014 12:40:05 +0000 (+0200) Subject: fix translations X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/49cbdf73c2d2ecd45629edffba1feceacca3bb8b?ds=sidebyside fix translations --- diff --git a/locales/en/LC_MESSAGES/plinn.mo b/locales/en/LC_MESSAGES/plinn.mo index 338b224..f3e9bfd 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 57f8a5b..8b55b6a 100644 --- a/locales/en/LC_MESSAGES/plinn.po +++ b/locales/en/LC_MESSAGES/plinn.po @@ -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 \n" "Language-Team: Zope 3 Developers \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" diff --git a/locales/fr/LC_MESSAGES/plinn.mo b/locales/fr/LC_MESSAGES/plinn.mo index b70818a..45c7ef6 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 9ab0419..d396f6a 100644 --- a/locales/fr/LC_MESSAGES/plinn.po +++ b/locales/fr/LC_MESSAGES/plinn.po @@ -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" diff --git a/locales/plinn.pot b/locales/plinn.pot index 67c8ed7..b78a620 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 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 \n" "Language-Team: Zope 3 Developers \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 "" diff --git a/skins/custom_generic/folder_contents.py b/skins/custom_generic/folder_contents.py index 2be413b..d4737f4 100755 --- a/skins/custom_generic/folder_contents.py +++ b/skins/custom_generic/folder_contents.py @@ -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, diff --git a/skins/generic/folder_contents_macros.pt b/skins/generic/folder_contents_macros.pt index 009a3e2..b03e11d 100644 --- a/skins/generic/folder_contents_macros.pt +++ b/skins/generic/folder_contents_macros.pt @@ -28,7 +28,7 @@ - Type + Type