Initial import to support local scanner sources

This commit is contained in:
Roberto Rosario
2012-08-08 05:21:42 -04:00
parent 2c7fea8baf
commit 388a4b0dd7
11 changed files with 244 additions and 19 deletions

View File

@@ -35,6 +35,7 @@ SOURCE_ICON_FOLDER = 'folder'
SOURCE_ICON_WORLD = 'world'
SOURCE_ICON_PRINTER = 'printer'
SOURCE_ICON_PRINTER_EMPTY = 'printer_empty'
SOURCE_ICON_IMAGES = 'images'
SOURCE_ICON_CHOICES = (
(SOURCE_ICON_DISK, _(u'Disk')),
@@ -44,6 +45,7 @@ SOURCE_ICON_CHOICES = (
(SOURCE_ICON_DRIVE_USER, _(u'User drive')),
(SOURCE_ICON_EMAIL, _(u'Envelope')),
(SOURCE_ICON_FOLDER, _(u'Folder')),
(SOURCE_ICON_IMAGES, _(u'Images')),
(SOURCE_ICON_WORLD, _(u'World')),
(SOURCE_ICON_PRINTER, _(u'Printer')),
(SOURCE_ICON_PRINTER_EMPTY, _(u'Empty printer')),
@@ -54,6 +56,7 @@ SOURCE_CHOICE_STAGING = 'staging'
SOURCE_CHOICE_WATCH = 'watch'
SOURCE_CHOICE_POP3_EMAIL = 'pop3'
SOURCE_CHOICE_IMAP_EMAIL = 'imap'
SOURCE_CHOICE_LOCAL_SCANNER = 'local_scanner'
SOURCE_CHOICES = (
(SOURCE_CHOICE_WEB_FORM, _(u'web form')),
@@ -61,6 +64,7 @@ SOURCE_CHOICES = (
(SOURCE_CHOICE_WATCH, _(u'server watch folder')),
(SOURCE_CHOICE_POP3_EMAIL, _(u'POP3 email')),
(SOURCE_CHOICE_IMAP_EMAIL, _(u'IMAP email')),
(SOURCE_CHOICE_LOCAL_SCANNER, _(u'Local scanner')),
)
SOURCE_CHOICES_PLURAL = (
@@ -69,4 +73,5 @@ SOURCE_CHOICES_PLURAL = (
(SOURCE_CHOICE_WATCH, _(u'server watch folders')),
(SOURCE_CHOICE_POP3_EMAIL, _(u'POP3 emails')),
(SOURCE_CHOICE_IMAP_EMAIL, _(u'IMAP emails')),
(SOURCE_CHOICE_LOCAL_SCANNER, _(u'Local scanners')),
)