Updated interface description
authorThierry Florac <thierry.florac@onf.fr>
Mon, 25 Jun 2018 17:47:44 +0200
changeset 735 7a414349ee07
parent 734 ccf4175fb71f
child 752 e596786685fe
Updated interface description
src/pyams_content/interfaces/__init__.py
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
--- a/src/pyams_content/interfaces/__init__.py	Mon Jun 25 16:53:51 2018 +0200
+++ b/src/pyams_content/interfaces/__init__.py	Mon Jun 25 17:47:44 2018 +0200
@@ -93,7 +93,9 @@
     """Base content interface"""
 
     __name__ = TextLine(title=_("Unique key"),
-                        description=_("WARNING: this key can't be modified after creation!!!"),
+                        description=_("WARNING: this key can't be modified after creation!!! Spaces, "
+                                      "uppercase letters ou accentuated characters will be replaced "
+                                      "automatically."),
                         required=True)
 
     title = I18nTextLineField(title=_("Title"),
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:53:51 2018 +0200
+++ b/src/pyams_content/locales/fr/LC_MESSAGES/pyams_content.po	Mon Jun 25 17:47:44 2018 +0200
@@ -5,7 +5,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-25 16:49+0200\n"
+"POT-Creation-Date: 2018-06-25 17:44+0200\n"
 "PO-Revision-Date: 2015-09-10 10:42+0200\n"
 "Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
 "Language-Team: French\n"
@@ -285,7 +285,7 @@
 #: src/pyams_content/shared/imagemap/zmi/container.py:123
 #: src/pyams_content/shared/site/zmi/folder.py:70
 #: src/pyams_content/root/zmi/templates/advanced-search.pt:188
-#: src/pyams_content/interfaces/__init__.py:99
+#: src/pyams_content/interfaces/__init__.py:101
 #: src/pyams_content/reference/pictograms/zmi/__init__.py:150
 #: src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:31
 #: src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:31
@@ -2132,7 +2132,7 @@
 
 #: src/pyams_content/shared/common/zmi/manager.py:82
 msgid "Tool management"
-msgstr "Gérer l'outil partagé"
+msgstr "Gérer cet outil"
 
 #: src/pyams_content/shared/common/zmi/owner.py:50
 msgid "Change owner..."
@@ -2186,8 +2186,7 @@
 
 #: 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"
+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!"
@@ -3526,7 +3525,7 @@
 msgstr "Vue"
 
 #: src/pyams_content/shared/view/interfaces/__init__.py:40
-#: src/pyams_content/interfaces/__init__.py:111
+#: src/pyams_content/interfaces/__init__.py:113
 #: src/pyams_content/features/review/interfaces.py:74
 msgid "Creation date"
 msgstr "Date de création"
@@ -3802,7 +3801,7 @@
 msgstr "Propriétés de la rubrique"
 
 #: src/pyams_content/shared/site/zmi/folder.py:71
-#: src/pyams_content/interfaces/__init__.py:100
+#: src/pyams_content/interfaces/__init__.py:102
 msgid "Visible label used to display content"
 msgstr "Le titre présenté aux internautes"
 
@@ -4497,18 +4496,23 @@
 msgstr "Clé unique"
 
 #: src/pyams_content/interfaces/__init__.py:96
-msgid "WARNING: this key can't be modified after creation!!!"
-msgstr "ATTENTION : cette clé ne pourra plus être modifiée !!!"
-
-#: src/pyams_content/interfaces/__init__.py:103
+msgid ""
+"WARNING: this key can't be modified after creation!!! Spaces, uppercase "
+"letters ou accentuated characters will be replaced automatically."
+msgstr ""
+"ATTENTION : cette clé ne pourra plus être modifiée après sa création. Les espaces, "
+"les majuscules, les lettres accentuées et les caractères spéciaux seront remplacées "
+"automatiquement."
+
+#: src/pyams_content/interfaces/__init__.py:105
 msgid "Short name"
 msgstr "Fil d'Ariane"
 
-#: src/pyams_content/interfaces/__init__.py:104
+#: src/pyams_content/interfaces/__init__.py:106
 msgid "Short name used in breadcrumbs"
 msgstr "Libellé utilisé dans le fil d'Ariane"
 
-#: src/pyams_content/interfaces/__init__.py:115
+#: src/pyams_content/interfaces/__init__.py:117
 msgid "Modification date"
 msgstr "Dernière modification apportée"
 
@@ -5076,6 +5080,9 @@
 msgid "Hidden header"
 msgstr "Ne pas afficher d'en-tête de pages"
 
+#~ msgid "WARNING: this key can't be modified after creation!!!"
+#~ msgstr "ATTENTION : cette clé ne pourra plus être modifiée !!!"
+
 #~ msgid "Links"
 #~ msgstr "Liens"
 
--- a/src/pyams_content/locales/pyams_content.pot	Mon Jun 25 16:53:51 2018 +0200
+++ b/src/pyams_content/locales/pyams_content.pot	Mon Jun 25 17:47:44 2018 +0200
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2018-06-25 16:49+0200\n"
+"POT-Creation-Date: 2018-06-25 17:44+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"
@@ -275,7 +275,7 @@
 #: ./src/pyams_content/shared/imagemap/zmi/container.py:123
 #: ./src/pyams_content/shared/site/zmi/folder.py:70
 #: ./src/pyams_content/root/zmi/templates/advanced-search.pt:188
-#: ./src/pyams_content/interfaces/__init__.py:99
+#: ./src/pyams_content/interfaces/__init__.py:101
 #: ./src/pyams_content/reference/pictograms/zmi/__init__.py:150
 #: ./src/pyams_content/features/menu/portlet/navigation/interfaces/simple.py:31
 #: ./src/pyams_content/features/menu/portlet/navigation/interfaces/double.py:31
@@ -3310,7 +3310,7 @@
 msgstr ""
 
 #: ./src/pyams_content/shared/view/interfaces/__init__.py:40
-#: ./src/pyams_content/interfaces/__init__.py:111
+#: ./src/pyams_content/interfaces/__init__.py:113
 #: ./src/pyams_content/features/review/interfaces.py:74
 msgid "Creation date"
 msgstr ""
@@ -3574,7 +3574,7 @@
 msgstr ""
 
 #: ./src/pyams_content/shared/site/zmi/folder.py:71
-#: ./src/pyams_content/interfaces/__init__.py:100
+#: ./src/pyams_content/interfaces/__init__.py:102
 msgid "Visible label used to display content"
 msgstr ""
 
@@ -4256,18 +4256,20 @@
 msgstr ""
 
 #: ./src/pyams_content/interfaces/__init__.py:96
-msgid "WARNING: this key can't be modified after creation!!!"
-msgstr ""
-
-#: ./src/pyams_content/interfaces/__init__.py:103
+msgid ""
+"WARNING: this key can't be modified after creation!!! Spaces, uppercase "
+"letters ou accentuated characters will be replaced automatically."
+msgstr ""
+
+#: ./src/pyams_content/interfaces/__init__.py:105
 msgid "Short name"
 msgstr ""
 
-#: ./src/pyams_content/interfaces/__init__.py:104
+#: ./src/pyams_content/interfaces/__init__.py:106
 msgid "Short name used in breadcrumbs"
 msgstr ""
 
-#: ./src/pyams_content/interfaces/__init__.py:115
+#: ./src/pyams_content/interfaces/__init__.py:117
 msgid "Modification date"
 msgstr ""