Author: jmorliaguet
Date: Sun Jun 25 22:36:19 2006
New Revision: 3524

Modified:
   cpsskins/branches/paris-sprint-2006/locations/interfaces.py

Log:

- fix: the value comes first, then the token



Modified: cpsskins/branches/paris-sprint-2006/locations/interfaces.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/locations/interfaces.py (original)
+++ cpsskins/branches/paris-sprint-2006/locations/interfaces.py Sun Jun 25 
22:36:19 2006
@@ -52,9 +52,9 @@
         """Return the location's path"""
 
 scopes = {
-    (0, 0): _(u"In this folder and all sub-folders"),
-    (0, 1): _(u"Only in this folder"),
-    (1, 0): _(u"In all sub-folders"),
+    _(u"In this folder and all sub-folders"): (0, 0),
+    _(u"Only in this folder"): (0, 1),
+    _(u"In all sub-folders"): (1, 0),
 }
 
 def ScopesVocabulary(context):
@@ -63,3 +63,4 @@
     return SimpleVocabulary.fromItems(scopes.items())
 
 alsoProvides(ScopesVocabulary, IVocabularyFactory)
+
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to