r252385 - in collective.portlet.sitemap/trunk: . collective/portlet/sitemap collective/portlet/sitemap/locales collective/portlet/sitemap/locales/it collective/portlet/sitemap/locales/it/LC_MESSAGES docs
"Luca Fabbri" <svn-changes-z4DKO/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.collective.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: keul
Date: Fri May 10 14:09:56 2013
New Revision: 252385
Added:
collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/
collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/collective.portlet.sitemap-manual.pot
collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/collective.portlet.sitemap.pot
collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/it/
collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/it/LC_MESSAGES/
collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/it/LC_MESSAGES/collective.portlet.sitemap.po
collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/runi18ndude.sh (contents, props changed)
Removed:
collective.portlet.sitemap/trunk/collective/portlet/sitemap/version.txt
Modified:
collective.portlet.sitemap/trunk/README.txt
collective.portlet.sitemap/trunk/collective/portlet/sitemap/configure.zcml
collective.portlet.sitemap/trunk/docs/HISTORY.txt
collective.portlet.sitemap/trunk/setup.py
Log:
i18n support and italian translation
Modified: collective.portlet.sitemap/trunk/README.txt
==============================================================================
--- collective.portlet.sitemap/trunk/README.txt (original)
+++ collective.portlet.sitemap/trunk/README.txt Fri May 10 14:09:56 2013
@@ -1,11 +1,8 @@
Introduction
============
-This portlet can replace standard plone navigation portlet.
-
-The difference is :
-
-By default the navigation is displayed as a sitemap with a 2 level sitemap depth.
+This portlet can replace standard Plone navigation portlet but that can also **show contents like a sitemap**.
+By default this navigation is displayed as a sitemap with a 2 level sitemap depth.
If you disable the option "display as site map" in portlet edit form, you will retrieve the standard
-plone navigation behavior.
+Plone navigation behavior.
Modified: collective.portlet.sitemap/trunk/collective/portlet/sitemap/configure.zcml
==============================================================================
--- collective.portlet.sitemap/trunk/collective/portlet/sitemap/configure.zcml (original)
+++ collective.portlet.sitemap/trunk/collective/portlet/sitemap/configure.zcml Fri May 10 14:09:56 2013
@@ -2,22 +2,21 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:zcml="http://namespaces.zope.org/zcml"
+ xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="collective.portlet.sitemap">
<five:registerPackage package="." initialize=".initialize" />
+ <i18n:registerTranslations directory="locales" />
- <!-- p4-compat AND p3-backwards-compat -->
- <include package="Products.CMFCore"
- zcml:condition="have plone-4"
- file="permissions.zcml" />
+ <include package="Products.CMFCore" />
<genericsetup:registerProfile
name="default"
title="Portlet Navigation Extended"
directory="profiles/default"
- description="Plone 3 and 4 navigation portlet extended"
+ description="A navigation portlet that can be displayed as a sitemap"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
Added: collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/collective.portlet.sitemap-manual.pot
==============================================================================
--- (empty file)
+++ collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/collective.portlet.sitemap-manual.pot Fri May 10 14:09:56 2013
@@ -0,0 +1,18 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2013-05-10 13:57+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <[email protected]>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"Language-Code: en\n"
+"Language-Name: English\n"
+"Preferred-Encodings: utf-8 latin1\n"
+"Domain: DOMAIN\n"
+
+msgid "A navigation portlet that can be displayed as a sitemap"
+msgstr ""
\ No newline at end of file
Added: collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/collective.portlet.sitemap.pot
==============================================================================
--- (empty file)
+++ collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/collective.portlet.sitemap.pot Fri May 10 14:09:56 2013
@@ -0,0 +1,43 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2013-05-10 14:05+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <[email protected]>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"Language-Code: en\n"
+"Language-Name: English\n"
+"Preferred-Encodings: utf-8 latin1\n"
+"Domain: DOMAIN\n"
+
+msgid "A navigation portlet that can be displayed as a sitemap"
+msgstr ""
+
+#: ../navigationextendedportlet.py:51
+msgid "Navigation Extended"
+msgstr ""
+
+#. Default: "If checked display all folders as a site map"
+#: ../navigationextendedportlet.py:29
+msgid "help_display_as_site_map"
+msgstr ""
+
+#. Default: "If previous field is checked set the site map depth"
+#: ../navigationextendedportlet.py:37
+msgid "help_site_map_depth"
+msgstr ""
+
+#. Default: "Display as Site Map"
+#: ../navigationextendedportlet.py:28
+msgid "label_display_as_site_map"
+msgstr ""
+
+#. Default: "Site map depth"
+#: ../navigationextendedportlet.py:35
+msgid "label_site_map_depth"
+msgstr ""
+
Added: collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/it/LC_MESSAGES/collective.portlet.sitemap.po
==============================================================================
--- (empty file)
+++ collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/it/LC_MESSAGES/collective.portlet.sitemap.po Fri May 10 14:09:56 2013
@@ -0,0 +1,43 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2013-05-10 14:05+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <[email protected]>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"Language-Code: it\n"
+"Language-Name: Italian\n"
+"Preferred-Encodings: utf-8 latin1\n"
+"Domain: DOMAIN\n"
+
+msgid "A navigation portlet that can be displayed as a sitemap"
+msgstr "Una portlet di navigazione che può essere visualizzata come una mappa del sito"
+
+#: ../navigationextendedportlet.py:51
+msgid "Navigation Extended"
+msgstr "Navigazione Estesa"
+
+#. Default: "If checked display all folders as a site map"
+#: ../navigationextendedportlet.py:29
+msgid "help_display_as_site_map"
+msgstr "Se selezionato visualizza tutte le cartelle come una mappa del sito"
+
+#. Default: "If previous field is checked set the site map depth"
+#: ../navigationextendedportlet.py:37
+msgid "help_site_map_depth"
+msgstr "Se il campo precedente è selezionato, imposta la profondità della mappa del sito"
+
+#. Default: "Display as Site Map"
+#: ../navigationextendedportlet.py:28
+msgid "label_display_as_site_map"
+msgstr "Mostra come mappa del sito"
+
+#. Default: "Site map depth"
+#: ../navigationextendedportlet.py:35
+msgid "label_site_map_depth"
+msgstr "Profondità della mappa del sito"
+
Added: collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/runi18ndude.sh
==============================================================================
--- (empty file)
+++ collective.portlet.sitemap/trunk/collective/portlet/sitemap/locales/runi18ndude.sh Fri May 10 14:09:56 2013
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+DOMAIN='collective.portlet.sitemap'
+
+i18ndude rebuild-pot --pot ${DOMAIN}.pot --create ${DOMAIN} --merge ${DOMAIN}-manual.pot ..
+i18ndude sync --pot ${DOMAIN}.pot ./*/LC_MESSAGES/${DOMAIN}.po
+
+# Compile po files
+for lang in $(find . -mindepth 1 -maxdepth 1 -type d); do
+ if test -d $lang/LC_MESSAGES; then
+ msgfmt -o $lang/LC_MESSAGES/${DOMAIN}.mo $lang/LC_MESSAGES/${DOMAIN}.po
+ fi
+done
\ No newline at end of file
Modified: collective.portlet.sitemap/trunk/docs/HISTORY.txt
==============================================================================
--- collective.portlet.sitemap/trunk/docs/HISTORY.txt (original)
+++ collective.portlet.sitemap/trunk/docs/HISTORY.txt Fri May 10 14:09:56 2013
@@ -1,6 +1,12 @@
Changelog
=========
+1.0.6 (Unreleased)
+------------------
+
+* Added i18n support [keul]
+* Added italian translation [keul]
+
1.0.5 (2012-10-15)
-------------------
Modified: collective.portlet.sitemap/trunk/setup.py
==============================================================================
--- collective.portlet.sitemap/trunk/setup.py (original)
+++ collective.portlet.sitemap/trunk/setup.py Fri May 10 14:09:56 2013
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import os
-version = '1.0.5'
+version = '1.0.6.dev0'
setup(name='collective.portlet.sitemap',
version=version,
@@ -14,6 +14,8 @@
"Framework :: Plone :: 3.3",
"Framework :: Plone :: 4.0",
"Framework :: Plone :: 4.1",
+ "Framework :: Plone :: 4.2",
+ "Framework :: Plone :: 4.3",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
@@ -33,6 +35,6 @@
entry_points="""
# -*- Entry points: -*-
[z3c.autoinclude.plugin]
- target = plone
+ target = plone
""",
)
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Collective-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/collective-checkins