This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
tabellio.config/tabellio/config/interfaces.py

46 lines
1.2 KiB
Python

from zope.interface import Interface
from zope import schema
from zope.i18nmessageid import MessageFactory
_ = MessageFactory(u'tabellio.config')
class ITabellioSettings(Interface):
'''Tabellio Settings'''
commissionsPath = schema.TextLine(
title=_('commissions_path', 'Commissions Path'),
required=False)
deputiesPath = schema.TextLine(
title=_('deputies_path', 'Deputies Path'),
required=False)
documentsPath = schema.TextLine(
title=_('documents_path', 'Documents Path'),
required=False)
dossiersPath = schema.TextLine(
title=_('dossiers_path', 'Dossiers Path'),
required=False)
ministriesPath = schema.TextLine(
title=_('ministries_path', 'Ministries Path'),
required=False)
parleventsPath = schema.TextLine(
title=_('parlevents_path', 'Parlementary Events Path'),
required=False)
personsPath = schema.TextLine(
title=_('persons_path', 'Persons Path'),
required=False)
polgroupsPath = schema.TextLine(
title=_('polgroups_path', 'Political Groups Path'),
required=False)
sessions = schema.Text(
title=_('sessions', 'Sessions'),
required=False)