summaryrefslogtreecommitdiff
path: root/src/leap/base/specs.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-12-21 10:28:46 +0900
committerkali <kali@leap.se>2012-12-21 10:28:46 +0900
commitec0fc05e3918782dbb29f9f6901c0de22419134d (patch)
treee5e49bc7601e08cc604b54c1388c0fd0241f980b /src/leap/base/specs.py
parentea4a3b3396caeeaa2be4dc46aecf386a56a522c9 (diff)
magic translatable objects
Diffstat (limited to 'src/leap/base/specs.py')
-rw-r--r--src/leap/base/specs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/leap/base/specs.py b/src/leap/base/specs.py
index 962aa07d..f57d7e9c 100644
--- a/src/leap/base/specs.py
+++ b/src/leap/base/specs.py
@@ -22,12 +22,16 @@ leap_provider_spec = {
#'required': True,
},
'name': {
- 'type': dict, # XXX multilingual object?
+ #'type': LEAPTranslatable,
+ 'type': dict,
+ 'format': 'translatable',
'default': {u'en': u'Test Provider'}
#'required': True
},
'description': {
+ #'type': LEAPTranslatable,
'type': dict,
+ 'format': 'translatable',
'default': {u'en': u'Test provider'}
},
'enrollment_policy': {