--- a/.installed.cfg Thu Oct 08 09:42:02 2015 +0200
+++ b/.installed.cfg Thu Oct 08 09:43:11 2015 +0200
@@ -13,14 +13,14 @@
[package]
__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pyams_upgrade
+ /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/prequest
/home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pcreate
+ /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pshell
+ /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/proutes
/home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pserve
- /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/proutes
+ /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pviews
+ /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pdistreport
/home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/ptweens
- /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/prequest
- /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pshell
- /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pdistreport
- /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pviews
__buildout_signature__ = zc.recipe.egg-2.0.1-py3.4.egg setuptools-12.0.5-py3.4.egg zc.buildout-2.3.1-py3.4.egg
_b = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin
_d = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/develop-eggs
@@ -44,8 +44,8 @@
[i18n]
__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pybabel
+ /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/polint
/home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/pot-create
- /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/polint
__buildout_signature__ = zc.recipe.egg-2.0.1-py3.4.egg setuptools-12.0.5-py3.4.egg zc.buildout-2.3.1-py3.4.egg
_b = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin
_d = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/develop-eggs
@@ -76,7 +76,7 @@
[test]
__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/parts/test
/home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin/test
-__buildout_signature__ = zc.recipe.testrunner-2.0.0-py3.4.egg zc.recipe.egg-2.0.1-py3.4.egg setuptools-12.0.5-py3.4.egg zope.testrunner-4.4.6-py3.4.egg zc.buildout-2.3.1-py3.4.egg zope.interface-4.1.2-py3.4-linux-x86_64.egg zope.exceptions-4.0.7-py3.4.egg six-e6b62e54b4df360c40dfcbb76c1ecf1a
+__buildout_signature__ = zc.recipe.testrunner-2.0.0-py3.4.egg zc.recipe.egg-2.0.1-py3.4.egg setuptools-12.0.5-py3.4.egg zope.testrunner-4.4.6-py3.4.egg zc.buildout-2.3.1-py3.4.egg zope.interface-4.1.2-py3.4-linux-x86_64.egg zope.exceptions-4.0.7-py3.4.egg six-0ce7b5a80be3929f9cef8cbc6d670b68
_b = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/bin
_d = /home/tflorac/Dropbox/src/PyAMS/pyams_zmi/develop-eggs
_e = /var/local/env/pyams/eggs
--- a/buildout.cfg Thu Oct 08 09:42:02 2015 +0200
+++ b/buildout.cfg Thu Oct 08 09:43:11 2015 +0200
@@ -74,4 +74,4 @@
eggs = pyams_zmi [test]
[versions]
-pyams_base = 0.1.0
+pyams_zmi = 0.1.1
--- a/docs/HISTORY.txt Thu Oct 08 09:42:02 2015 +0200
+++ b/docs/HISTORY.txt Thu Oct 08 09:43:11 2015 +0200
@@ -0,0 +1,11 @@
+History
+=======
+
+0.1.1
+-----
+ - modified menus icon class
+ - use named permissions
+
+0.1.0
+-----
+ - first release
--- a/setup.py Thu Oct 08 09:42:02 2015 +0200
+++ b/setup.py Thu Oct 08 09:43:11 2015 +0200
@@ -22,7 +22,7 @@
README = os.path.join(DOCS, 'README.txt')
HISTORY = os.path.join(DOCS, 'HISTORY.txt')
-version = '0.1.0'
+version = '0.1.1'
long_description = open(README).read() + '\n\n' + open(HISTORY).read()
tests_require = []
--- a/src/pyams_zmi.egg-info/PKG-INFO Thu Oct 08 09:42:02 2015 +0200
+++ b/src/pyams_zmi.egg-info/PKG-INFO Thu Oct 08 09:43:11 2015 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyams-zmi
-Version: 0.1.0
+Version: 0.1.1
Summary: PyAMS base management interface
Home-page: http://hg.ztfy.org/pyams/pyams_zmi
Author: Thierry Florac
@@ -8,6 +8,17 @@
License: ZPL
Description:
+ History
+ =======
+
+ 0.1.1
+ -----
+ - modified menus icon class
+ - use named permissions
+
+ 0.1.0
+ -----
+ - first release
Keywords: Pyramid PyAMS ZMI
Platform: UNKNOWN
Binary file src/pyams_zmi/locales/fr/LC_MESSAGES/pyams_zmi.mo has changed
--- a/src/pyams_zmi/locales/fr/LC_MESSAGES/pyams_zmi.po Thu Oct 08 09:42:02 2015 +0200
+++ b/src/pyams_zmi/locales/fr/LC_MESSAGES/pyams_zmi.po Thu Oct 08 09:43:11 2015 +0200
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2015-03-03 16:47+0100\n"
+"POT-Creation-Date: 2015-09-23 11:15+0200\n"
"PO-Revision-Date: 2015-02-04 09:50+0100\n"
"Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
"Language-Team: French <traduc@traduc.org>\n"
@@ -20,53 +20,49 @@
msgid "PyAMS management skin"
msgstr "Skin d'administration PyAMS"
-#: src/pyams_zmi/control_panel.py:59 src/pyams_zmi/control_panel.py:115
+#: src/pyams_zmi/control_panel.py:62
msgid "Utilities"
msgstr "Utilitaires"
-#: src/pyams_zmi/control_panel.py:68
+#: src/pyams_zmi/control_panel.py:72
msgid "Site utilities"
msgstr "Utilitaires du site"
-#: src/pyams_zmi/control_panel.py:83
+#: src/pyams_zmi/control_panel.py:87
msgid "Delete utility"
msgstr "Supprimer cet utilitaire"
-#: src/pyams_zmi/control_panel.py:114 src/pyams_zmi/control_panel.py:245
-#: src/pyams_zmi/control_panel.py:310
-#: src/pyams_zmi/viewlet/menu/__init__.py:49
+#: src/pyams_zmi/control_panel.py:118 src/pyams_zmi/control_panel.py:248
+#: src/pyams_zmi/control_panel.py:312
+#: src/pyams_zmi/viewlet/menu/__init__.py:60
msgid "Control panel"
msgstr "Panneau de configuration"
-#: src/pyams_zmi/control_panel.py:149
+#: src/pyams_zmi/control_panel.py:152
msgid "Component"
msgstr "Composant"
-#: src/pyams_zmi/control_panel.py:171
+#: src/pyams_zmi/control_panel.py:174
msgid "Registered interface"
msgstr "Interface enregistrée"
-#: src/pyams_zmi/control_panel.py:186
+#: src/pyams_zmi/control_panel.py:189
msgid "Name"
msgstr "Nom"
-#: src/pyams_zmi/control_panel.py:206
+#: src/pyams_zmi/control_panel.py:209
msgid "Local registrations"
msgstr "Registre local"
-#: src/pyams_zmi/control_panel.py:215
+#: src/pyams_zmi/control_panel.py:218
msgid "Local utilities registrations"
msgstr "Registre local des composants"
-#: src/pyams_zmi/control_panel.py:246
-msgid "Local utilities registry"
-msgstr "Registre local des composants"
-
-#: src/pyams_zmi/control_panel.py:253
+#: src/pyams_zmi/control_panel.py:255
msgid "Local registry utilities"
msgstr "Le registre local des composants"
-#: src/pyams_zmi/control_panel.py:254
+#: src/pyams_zmi/control_panel.py:256
msgid ""
"A local registry is a registry defining utilities stored into\n"
"site's Object Database (ZODB).\n"
@@ -85,23 +81,19 @@
"Vous pouvez gérer ces composants et modifier leurs propriétés pour changer "
"le comportement du site sans modifier l'application."
-#: src/pyams_zmi/control_panel.py:271
+#: src/pyams_zmi/control_panel.py:273
msgid "Global registrations"
msgstr "Registre global"
-#: src/pyams_zmi/control_panel.py:280
+#: src/pyams_zmi/control_panel.py:282
msgid "Global utilities registrations"
msgstr "Registre global des composants"
-#: src/pyams_zmi/control_panel.py:311
-msgid "Global utilities registry"
-msgstr "Registre global des composants"
-
-#: src/pyams_zmi/control_panel.py:318
+#: src/pyams_zmi/control_panel.py:319
msgid "Global registry utilities"
msgstr "Le registre global des composants"
-#: src/pyams_zmi/control_panel.py:319
+#: src/pyams_zmi/control_panel.py:320
msgid ""
"The global registry groups local utilities as well as utilities registered "
"outside\n"
@@ -111,37 +103,51 @@
"directives) and can't be setup\n"
"without modifying site configuration."
msgstr ""
-"Un registre global regroupe les utilitaires locaux ainsi que ceux définis "
-"en dehors de la ZODB.\n"
+"Un registre global regroupe les utilitaires locaux ainsi que ceux définis en "
+"dehors de la ZODB.\n"
"\n"
-"Ces composants sont déclarés de façon statique (en général via des inclusions de "
-"paquets ou des directives ZCML) et ne peuvent être modifiés sans modifier la "
-"configuration du site."
+"Ces composants sont déclarés de façon statique (en général via des "
+"inclusions de paquets ou des directives ZCML) et ne peuvent être modifiés "
+"sans modifier la configuration du site."
-#: src/pyams_zmi/control_panel.py:194
+#: src/pyams_zmi/control_panel.py:197
msgid "< no name >"
msgstr "< pas de nom >"
-#: src/pyams_zmi/control_panel.py:127
+#: src/pyams_zmi/control_panel.py:130
msgid "No provided object_name argument!"
msgstr "L'argument 'object_name' n'a pas été fourni !"
-#: src/pyams_zmi/control_panel.py:132
+#: src/pyams_zmi/control_panel.py:135
msgid "Given utility name doesn't exist!"
msgstr "L'utilitaire indiqué n'existe pas !"
-#: src/pyams_zmi/site.py:50
+#: src/pyams_zmi/site.py:65
msgid "Properties"
msgstr "Propriétés"
-#: src/pyams_zmi/site.py:60
+#: src/pyams_zmi/site.py:75
msgid "Update main site properties"
msgstr "Mise à jour des propriétés de base du site"
-#: src/pyams_zmi/site.py:99 src/pyams_zmi/viewlet/menu/__init__.py:39
+#: src/pyams_zmi/site.py:129
+msgid "Back-office properties..."
+msgstr "Propriétés du back-office..."
+
+#: src/pyams_zmi/site.py:146
+msgid "Update site back-office properties"
+msgstr "Mise à jour des propriétés du back-office du site"
+
+#: src/pyams_zmi/viewlet/menu/__init__.py:40
+msgid "Content management"
+msgstr "Suivre l'activité"
+
+#: src/pyams_zmi/viewlet/menu/__init__.py:50
msgid "Site management"
msgstr "Gérer le site"
-#: src/pyams_zmi/site.py:100
-msgid "Site properties"
-msgstr "Propriétés"
+#~ msgid "Local utilities registry"
+#~ msgstr "Registre local des composants"
+
+#~ msgid "Global utilities registry"
+#~ msgstr "Registre global des composants"
--- a/src/pyams_zmi/locales/pyams_zmi.pot Thu Oct 08 09:42:02 2015 +0200
+++ b/src/pyams_zmi/locales/pyams_zmi.pot Thu Oct 08 09:43:11 2015 +0200
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2015-03-03 16:47+0100\n"
+"POT-Creation-Date: 2015-09-23 11:15+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -20,53 +20,49 @@
msgid "PyAMS management skin"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:59 ./src/pyams_zmi/control_panel.py:115
+#: ./src/pyams_zmi/control_panel.py:62
msgid "Utilities"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:68
+#: ./src/pyams_zmi/control_panel.py:72
msgid "Site utilities"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:83
+#: ./src/pyams_zmi/control_panel.py:87
msgid "Delete utility"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:114 ./src/pyams_zmi/control_panel.py:245
-#: ./src/pyams_zmi/control_panel.py:310
-#: ./src/pyams_zmi/viewlet/menu/__init__.py:49
+#: ./src/pyams_zmi/control_panel.py:118 ./src/pyams_zmi/control_panel.py:248
+#: ./src/pyams_zmi/control_panel.py:312
+#: ./src/pyams_zmi/viewlet/menu/__init__.py:60
msgid "Control panel"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:149
+#: ./src/pyams_zmi/control_panel.py:152
msgid "Component"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:171
+#: ./src/pyams_zmi/control_panel.py:174
msgid "Registered interface"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:186
+#: ./src/pyams_zmi/control_panel.py:189
msgid "Name"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:206
+#: ./src/pyams_zmi/control_panel.py:209
msgid "Local registrations"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:215
+#: ./src/pyams_zmi/control_panel.py:218
msgid "Local utilities registrations"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:246
-msgid "Local utilities registry"
-msgstr ""
-
-#: ./src/pyams_zmi/control_panel.py:253
+#: ./src/pyams_zmi/control_panel.py:255
msgid "Local registry utilities"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:254
+#: ./src/pyams_zmi/control_panel.py:256
msgid ""
"A local registry is a registry defining utilities stored into\n"
"site's Object Database (ZODB).\n"
@@ -75,23 +71,19 @@
"modifying the application."
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:271
+#: ./src/pyams_zmi/control_panel.py:273
msgid "Global registrations"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:280
+#: ./src/pyams_zmi/control_panel.py:282
msgid "Global utilities registrations"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:311
-msgid "Global utilities registry"
-msgstr ""
-
-#: ./src/pyams_zmi/control_panel.py:318
+#: ./src/pyams_zmi/control_panel.py:319
msgid "Global registry utilities"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:319
+#: ./src/pyams_zmi/control_panel.py:320
msgid ""
"The global registry groups local utilities as well as utilities registered outside\n"
"site's Object Database (ZODB).\n"
@@ -100,30 +92,38 @@
"without modifying site configuration."
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:194
+#: ./src/pyams_zmi/control_panel.py:197
msgid "< no name >"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:127
+#: ./src/pyams_zmi/control_panel.py:130
msgid "No provided object_name argument!"
msgstr ""
-#: ./src/pyams_zmi/control_panel.py:132
+#: ./src/pyams_zmi/control_panel.py:135
msgid "Given utility name doesn't exist!"
msgstr ""
-#: ./src/pyams_zmi/site.py:50
+#: ./src/pyams_zmi/site.py:65
msgid "Properties"
msgstr ""
-#: ./src/pyams_zmi/site.py:60
+#: ./src/pyams_zmi/site.py:75
msgid "Update main site properties"
msgstr ""
-#: ./src/pyams_zmi/site.py:99 ./src/pyams_zmi/viewlet/menu/__init__.py:39
-msgid "Site management"
+#: ./src/pyams_zmi/site.py:129
+msgid "Back-office properties..."
+msgstr ""
+
+#: ./src/pyams_zmi/site.py:146
+msgid "Update site back-office properties"
msgstr ""
-#: ./src/pyams_zmi/site.py:100
-msgid "Site properties"
+#: ./src/pyams_zmi/viewlet/menu/__init__.py:40
+msgid "Content management"
msgstr ""
+
+#: ./src/pyams_zmi/viewlet/menu/__init__.py:50
+msgid "Site management"
+msgstr ""