Added widget title and description
authorThierry Florac <thierry.florac@onf.fr>
Mon, 25 Jun 2018 16:53:51 +0200
changeset 734 ccf4175fb71f
parent 733 d6848b527299
child 735 7a414349ee07
child 750 b99892d5fa71
Added widget title and description
src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo
src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po
src/pyams_content/locales/pyams_content.pot
src/pyams_content/shared/common/zmi/rename.py
Binary file src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.mo has changed
--- a/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Mon Jun 25 16:47:25 2018 +0200
+++ b/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Mon Jun 25 16:53:51 2018 +0200
@@ -5,7 +5,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-25 16:40+0200\n"
+"POT-Creation-Date: 2018-06-25 16:49+0200\n"
 "PO-Revision-Date: 2015-09-10 10:42+0200\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French\n"
@@ -2184,7 +2184,12 @@
 msgid "Item URL part"
 msgstr "URL du contenu"
 
-#: src/pyams_content/shared/common/zmi/rename.py:120
+#: src/pyams_content/shared/common/zmi/rename.py:87
+msgid "URL part used to access this content"
+msgstr ""
+"Portion de l'URL utilisée pour accéder à ce contenu"
+
+#: src/pyams_content/shared/common/zmi/rename.py:121
 msgid "You must provide an URL for this item!"
 msgstr "Vous devez fournir une URL pour ce contenu !"
 
--- a/src/pyams_content/locales/pyams_content.pot	Mon Jun 25 16:47:25 2018 +0200
+++ b/src/pyams_content/locales/pyams_content.pot	Mon Jun 25 16:53:51 2018 +0200
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-25 16:40+0200\n"
+"POT-Creation-Date: 2018-06-25 16:49+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"
@@ -2089,7 +2089,11 @@
 msgid "Item URL part"
 msgstr ""
 
-#: ./src/pyams_content/shared/common/zmi/rename.py:120
+#: ./src/pyams_content/shared/common/zmi/rename.py:87
+msgid "URL part used to access this content"
+msgstr ""
+
+#: ./src/pyams_content/shared/common/zmi/rename.py:121
 msgid "You must provide an URL for this item!"
 msgstr ""
 
--- a/src/pyams_content/shared/common/zmi/rename.py	Mon Jun 25 16:47:25 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/rename.py	Mon Jun 25 16:53:51 2018 +0200
@@ -84,6 +84,7 @@
     def updateWidgets(self, prefix=None):
         super(SiteContainerRenameForm, self).updateWidgets(prefix)
         self.widgets['__name__'].label = _("Item URL part")
+        self.widgets['__name__'].description = _("URL part used to access this content")
 
     def update_content(self, content, data):
         data = data.get(self, data)