--- a/.installed.cfg Wed Jul 22 17:24:28 2015 +0200
+++ b/.installed.cfg Wed Jul 22 17:25:19 2015 +0200
@@ -6,14 +6,14 @@
__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/chardetect
/home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/fanstatic-compile
/home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pyams_upgrade
+ /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/proutes
+ /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pdistreport
+ /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pserve
/home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/prequest
+ /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/ptweens
/home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pviews
- /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pdistreport
+ /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pcreate
/home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pshell
- /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pserve
- /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/ptweens
- /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pcreate
- /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/proutes
__buildout_signature__ = zc.recipe.egg-2.0.1-py3.4.egg setuptools-15.0-py3.4.egg zc.buildout-2.3.1-py3.4.egg
_b = /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin
_d = /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/develop-eggs
@@ -46,8 +46,8 @@
[i18n]
__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pybabel
+ /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/polint
/home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/pot-create
- /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/polint
__buildout_signature__ = zc.recipe.egg-2.0.1-py3.4.egg setuptools-15.0-py3.4.egg zc.buildout-2.3.1-py3.4.egg
_b = /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin
_d = /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/develop-eggs
@@ -78,7 +78,7 @@
[test]
__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/parts/test
/home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/bin/test
-__buildout_signature__ = zc.recipe.testrunner-2.0.0-py3.4.egg zc.recipe.egg-2.0.1-py3.4.egg setuptools-15.0-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-15.0-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_thesaurus/bin
_d = /home/tflorac/Dropbox/src/PyAMS/pyams_thesaurus/develop-eggs
_e = /var/local/env/pyams/eggs
--- a/buildout.cfg Wed Jul 22 17:24:28 2015 +0200
+++ b/buildout.cfg Wed Jul 22 17:25:19 2015 +0200
@@ -86,4 +86,4 @@
eggs = pyams_thesaurus [test]
[versions]
-pyams_thesaurus = 0.1.0
+pyams_thesaurus = 0.1.1
--- a/setup.py Wed Jul 22 17:24:28 2015 +0200
+++ b/setup.py Wed Jul 22 17:25:19 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_thesaurus.egg-info/PKG-INFO Wed Jul 22 17:24:28 2015 +0200
+++ b/src/pyams_thesaurus.egg-info/PKG-INFO Wed Jul 22 17:25:19 2015 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyams-thesaurus
-Version: 0.1.0
+Version: 0.1.1
Summary: PyAMS thesaurus management package
Home-page: http://hg.ztfy.org/pyams/pyams_thesaurus
Author: Thierry Florac
--- a/src/pyams_thesaurus.egg-info/SOURCES.txt Wed Jul 22 17:24:28 2015 +0200
+++ b/src/pyams_thesaurus.egg-info/SOURCES.txt Wed Jul 22 17:25:19 2015 +0200
@@ -29,6 +29,7 @@
src/pyams_thesaurus/loader/config.py
src/pyams_thesaurus/loader/skos.py
src/pyams_thesaurus/loader/superdoc.py
+src/pyams_thesaurus/locales/pyams_thesaurus.mo
src/pyams_thesaurus/locales/pyams_thesaurus.pot
src/pyams_thesaurus/locales/fr/LC_MESSAGES/pyams_thesaurus.mo
src/pyams_thesaurus/locales/fr/LC_MESSAGES/pyams_thesaurus.po
@@ -43,6 +44,7 @@
src/pyams_thesaurus/widget/templates/term-input.pt
src/pyams_thesaurus/widget/templates/terms-list-display.pt
src/pyams_thesaurus/widget/templates/terms-list-input.pt
+src/pyams_thesaurus/widget/templates/terms-list-selector-input.pt
src/pyams_thesaurus/zmi/__init__.py
src/pyams_thesaurus/zmi/extract.py
src/pyams_thesaurus/zmi/interfaces.py
Binary file src/pyams_thesaurus/locales/fr/LC_MESSAGES/pyams_thesaurus.mo has changed
--- a/src/pyams_thesaurus/locales/fr/LC_MESSAGES/pyams_thesaurus.po Wed Jul 22 17:24:28 2015 +0200
+++ b/src/pyams_thesaurus/locales/fr/LC_MESSAGES/pyams_thesaurus.po Wed Jul 22 17:25:19 2015 +0200
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2015-06-17 15:29+0200\n"
+"POT-Creation-Date: 2015-07-22 16:26+0200\n"
"PO-Revision-Date: 2015-04-14 10:11+0200\n"
"Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
"Language-Team: French <traduc@traduc.org>\n"
@@ -41,6 +41,7 @@
msgstr "Gestionnaire d'un extrait du thésaurus"
#: src/pyams_thesaurus/widget/templates/terms-list-input.pt:4
+#: src/pyams_thesaurus/widget/templates/terms-list-selector-input.pt:3
msgid "Clear selected values"
msgstr "Enlever les valeurs sélectionnées"
@@ -48,6 +49,10 @@
msgid "Clear selected value"
msgstr "Enlever la valeur sélectionnée"
+#: src/pyams_thesaurus/widget/templates/terms-list-selector-input.pt:8
+msgid "Show terms selector"
+msgstr "Afficher le sélecteur de termes"
+
#: src/pyams_thesaurus/zmi/extract.py:56
msgid "Thesaurus extracts"
msgstr "Extraits du thésaurus"
@@ -96,8 +101,8 @@
#: src/pyams_thesaurus/zmi/manager.py:52
#: src/pyams_thesaurus/zmi/manager.py:106
-#: src/pyams_thesaurus/zmi/thesaurus.py:380
-#: src/pyams_thesaurus/zmi/thesaurus.py:449
+#: src/pyams_thesaurus/zmi/thesaurus.py:381
+#: src/pyams_thesaurus/zmi/thesaurus.py:450
msgid "Thesaurus"
msgstr "Thésaurus"
@@ -149,49 +154,49 @@
msgid "Add new thesaurus"
msgstr "Ajout d'un thésaurus"
-#: src/pyams_thesaurus/zmi/thesaurus.py:180
+#: src/pyams_thesaurus/zmi/thesaurus.py:181
msgid "Properties"
msgstr "Propriétés"
-#: src/pyams_thesaurus/zmi/thesaurus.py:195
+#: src/pyams_thesaurus/zmi/thesaurus.py:196
msgid "Update thesaurus properties"
msgstr "Mise à jour des propriétés"
-#: src/pyams_thesaurus/zmi/thesaurus.py:226
+#: src/pyams_thesaurus/zmi/thesaurus.py:227
msgid "Terms"
msgstr "Termes"
-#: src/pyams_thesaurus/zmi/thesaurus.py:362
+#: src/pyams_thesaurus/zmi/thesaurus.py:363
msgid "Import terms..."
msgstr "Importer des termes..."
-#: src/pyams_thesaurus/zmi/thesaurus.py:381
+#: src/pyams_thesaurus/zmi/thesaurus.py:382
msgid "Import thesaurus terms"
msgstr "Import des termes du thésaurus"
-#: src/pyams_thesaurus/zmi/thesaurus.py:431
+#: src/pyams_thesaurus/zmi/thesaurus.py:432
msgid "Export terms..."
msgstr "Exporter des termes..."
-#: src/pyams_thesaurus/zmi/thesaurus.py:450
+#: src/pyams_thesaurus/zmi/thesaurus.py:451
msgid "Export thesaurus terms"
msgstr "Export des termes du thésaurus"
-#: src/pyams_thesaurus/zmi/thesaurus.py:372
-#: src/pyams_thesaurus/zmi/thesaurus.py:441
+#: src/pyams_thesaurus/zmi/thesaurus.py:373
+#: src/pyams_thesaurus/zmi/thesaurus.py:442
msgid "Close"
msgstr "Fermer"
-#: src/pyams_thesaurus/zmi/thesaurus.py:373
+#: src/pyams_thesaurus/zmi/thesaurus.py:374
msgid "Import terms"
msgstr "Importer des termes"
-#: src/pyams_thesaurus/zmi/thesaurus.py:394
#: src/pyams_thesaurus/zmi/thesaurus.py:395
+#: src/pyams_thesaurus/zmi/thesaurus.py:396
msgid "-- automatic selection -- (if available)"
msgstr "-- sélection automatique -- (si possible)"
-#: src/pyams_thesaurus/zmi/thesaurus.py:442
+#: src/pyams_thesaurus/zmi/thesaurus.py:443
msgid "Export terms"
msgstr "Exporter des termes"
@@ -204,12 +209,12 @@
msgstr "Un autre thésaurus est déjà enregistré avec ce nom !"
#: src/pyams_thesaurus/zmi/thesaurus.py:78
-#: src/pyams_thesaurus/zmi/thesaurus.py:193
+#: src/pyams_thesaurus/zmi/thesaurus.py:194
#, python-format
msgid "Thesaurus: {0}"
msgstr "Thésaurus : {0}"
-#: src/pyams_thesaurus/zmi/thesaurus.py:170
+#: src/pyams_thesaurus/zmi/thesaurus.py:171
#, python-format
msgid "Thesaurus « {0} »"
msgstr "Thésaurus : « {0} »"
@@ -228,6 +233,7 @@
#: src/pyams_thesaurus/interfaces/loader.py:33
#: src/pyams_thesaurus/interfaces/thesaurus.py:67
+#: src/pyams_thesaurus/interfaces/thesaurus.py:188
msgid "Thesaurus name"
msgstr "Nom du thésaurus"
@@ -509,7 +515,7 @@
msgstr "Sujet"
#: src/pyams_thesaurus/interfaces/thesaurus.py:45
-#: src/pyams_thesaurus/interfaces/thesaurus.py:144
+#: src/pyams_thesaurus/interfaces/thesaurus.py:147
msgid "Description"
msgstr "Description"
@@ -545,53 +551,57 @@
msgid "Inner thesaurus catalog, used for full-text indexing"
msgstr "Catalogue interne au thésaurus, utilisé pour la recherche des termes"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:115
+#: src/pyams_thesaurus/interfaces/thesaurus.py:118
msgid "Administrators"
msgstr "Administrateurs"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:116
+#: src/pyams_thesaurus/interfaces/thesaurus.py:119
msgid "List of thesaurus's administrators"
msgstr "Liste des administrateurs du thésaurus"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:120
+#: src/pyams_thesaurus/interfaces/thesaurus.py:123
msgid "Contents managers"
msgstr "Contributeurs"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:121
+#: src/pyams_thesaurus/interfaces/thesaurus.py:124
msgid "List of thesaurus's contents contributors"
msgstr "Liste des contributeurs autorisés à gérer le contenu du thésaurus"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:141
+#: src/pyams_thesaurus/interfaces/thesaurus.py:144
msgid "Extract name"
msgstr "Nom de l'extrait"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:147
+#: src/pyams_thesaurus/interfaces/thesaurus.py:150
msgid "Abbreviation"
msgstr "Abbréviation"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:148
+#: src/pyams_thesaurus/interfaces/thesaurus.py:151
msgid "Short abbreviation used to distinguish the extract"
msgstr ""
"Abbréviation de trois caractères maximum utilisée pour marquer cet extrait"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:152
+#: src/pyams_thesaurus/interfaces/thesaurus.py:155
msgid "Extract color"
msgstr "Couleur"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:153
+#: src/pyams_thesaurus/interfaces/thesaurus.py:156
msgid "A color associated with this extract"
msgstr ""
"Couleur associée à cet extrait, utilisée notamment dans l'arborescence des "
"termes"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:166
+#: src/pyams_thesaurus/interfaces/thesaurus.py:169
msgid "Extract managers"
msgstr "Gestionnaires de l'extrait"
-#: src/pyams_thesaurus/interfaces/thesaurus.py:167
+#: src/pyams_thesaurus/interfaces/thesaurus.py:170
msgid "List of principals which can manage extract contents"
msgstr "Liste des mandants autorisés à gérer le contenu de cet extrait"
+#: src/pyams_thesaurus/interfaces/thesaurus.py:192
+msgid "Thesaurus extract"
+msgstr "Nom de l'extrait"
+
#: src/pyams_thesaurus/interfaces/extension.py:40
msgid "Extension marker interface"
msgstr "Interface de marquage"
--- a/src/pyams_thesaurus/locales/pyams_thesaurus.pot Wed Jul 22 17:24:28 2015 +0200
+++ b/src/pyams_thesaurus/locales/pyams_thesaurus.pot Wed Jul 22 17:25:19 2015 +0200
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2015-06-17 15:29+0200\n"
+"POT-Creation-Date: 2015-07-22 16:26+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"
@@ -41,6 +41,7 @@
msgstr ""
#: ./src/pyams_thesaurus/widget/templates/terms-list-input.pt:4
+#: ./src/pyams_thesaurus/widget/templates/terms-list-selector-input.pt:3
msgid "Clear selected values"
msgstr ""
@@ -48,6 +49,10 @@
msgid "Clear selected value"
msgstr ""
+#: ./src/pyams_thesaurus/widget/templates/terms-list-selector-input.pt:8
+msgid "Show terms selector"
+msgstr ""
+
#: ./src/pyams_thesaurus/zmi/extract.py:56
msgid "Thesaurus extracts"
msgstr ""
@@ -96,8 +101,8 @@
#: ./src/pyams_thesaurus/zmi/manager.py:52
#: ./src/pyams_thesaurus/zmi/manager.py:106
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:380
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:449
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:381
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:450
msgid "Thesaurus"
msgstr ""
@@ -149,49 +154,49 @@
msgid "Add new thesaurus"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:180
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:181
msgid "Properties"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:195
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:196
msgid "Update thesaurus properties"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:226
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:227
msgid "Terms"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:362
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:363
msgid "Import terms..."
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:381
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:382
msgid "Import thesaurus terms"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:431
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:432
msgid "Export terms..."
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:450
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:451
msgid "Export thesaurus terms"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:372
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:441
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:373
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:442
msgid "Close"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:373
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:374
msgid "Import terms"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:394
#: ./src/pyams_thesaurus/zmi/thesaurus.py:395
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:396
msgid "-- automatic selection -- (if available)"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:442
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:443
msgid "Export terms"
msgstr ""
@@ -204,12 +209,12 @@
msgstr ""
#: ./src/pyams_thesaurus/zmi/thesaurus.py:78
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:193
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:194
#, python-format
msgid "Thesaurus: {0}"
msgstr ""
-#: ./src/pyams_thesaurus/zmi/thesaurus.py:170
+#: ./src/pyams_thesaurus/zmi/thesaurus.py:171
#, python-format
msgid "Thesaurus « {0} »"
msgstr ""
@@ -228,6 +233,7 @@
#: ./src/pyams_thesaurus/interfaces/loader.py:33
#: ./src/pyams_thesaurus/interfaces/thesaurus.py:67
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:188
msgid "Thesaurus name"
msgstr ""
@@ -495,7 +501,7 @@
msgstr ""
#: ./src/pyams_thesaurus/interfaces/thesaurus.py:45
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:144
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:147
msgid "Description"
msgstr ""
@@ -531,50 +537,54 @@
msgid "Inner thesaurus catalog, used for full-text indexing"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:115
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:118
msgid "Administrators"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:116
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:119
msgid "List of thesaurus's administrators"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:120
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:123
msgid "Contents managers"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:121
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:124
msgid "List of thesaurus's contents contributors"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:141
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:144
msgid "Extract name"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:147
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:150
msgid "Abbreviation"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:148
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:151
msgid "Short abbreviation used to distinguish the extract"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:152
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:155
msgid "Extract color"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:153
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:156
msgid "A color associated with this extract"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:166
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:169
msgid "Extract managers"
msgstr ""
-#: ./src/pyams_thesaurus/interfaces/thesaurus.py:167
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:170
msgid "List of principals which can manage extract contents"
msgstr ""
+#: ./src/pyams_thesaurus/interfaces/thesaurus.py:192
+msgid "Thesaurus extract"
+msgstr ""
+
#: ./src/pyams_thesaurus/interfaces/extension.py:40
msgid "Extension marker interface"
msgstr ""