constants.py 702 B

1234567891011121314151617181920212223242526272829303132333435
  1. # -*- coding: utf-8 -*-
  2. from flask.ext.babel import lazy_gettext as _
  3. STEPS = {
  4. 1: _(u'Project considered'),
  5. 2: _(u'Primary members found'),
  6. 3: _(u'Legal structure being created'),
  7. 4: _(u'Legal structure created'),
  8. 5: _(u'Base tools created (bank account, first members)'),
  9. 6: _(u'ISP partially functional (first subscribers, maybe in degraded mode)'),
  10. 7: _(u'ISP fully working')
  11. }
  12. STEPS_LABELS = {
  13. 1: '',
  14. 2: 'info',
  15. 3: 'info',
  16. 4: 'important',
  17. 5: 'important',
  18. 6: 'warning',
  19. 7: 'success'
  20. }
  21. LOCALES_FLAGS = {
  22. 'en': 'GB',
  23. 'fr': 'FR',
  24. }
  25. IPV6_SUPPORT = {
  26. 1: _('none'),
  27. 2: _('partial'),
  28. 3: _('quite good'),
  29. 4: _('full')
  30. }