fix docstring, make Bookmark.title internationalizable for appl level bookmarks stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 10 Jun 2009 18:44:45 +0200
branchstable
changeset 2094 59a4e9f4f57a
parent 2093 e3aaf61f8c66
child 2095 897732d3ee5a
fix docstring, make Bookmark.title internationalizable for appl level bookmarks
schemas/Bookmark.py
--- a/schemas/Bookmark.py	Wed Jun 10 18:44:10 2009 +0200
+++ b/schemas/Bookmark.py	Wed Jun 10 18:44:45 2009 +0200
@@ -1,4 +1,4 @@
-"""
+"""the Bookmark entity type for internal links
 
 :organization: Logilab
 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
@@ -7,8 +7,8 @@
 """
 
 class Bookmark(MetaUserEntityType):
-    """define an entity type, used to build the application schema"""
-    title = String(required=True, maxsize=128)
+    """bookmarks are used to have user's specific internal links"""
+    title = String(required=True, maxsize=128, internationalizable=True)
     path  = String(maxsize=512, required=True,
                    description=_("relative url of the bookmarked page"))