# Our Translation Handler choices. TRANS_CHOICES = {'POT': 'PO files', 'INTLTOOL': 'PO files using intltool', 'PUBLICAN': 'Publican like docs',} # The classes which implement the TransHandler support. The full "path" # to the class is the concatenation of the BASE and the NAME of the class. TRANS_CLASS_BASE = 'projects.handlers.types' TRANS_CLASS_NAMES = {'POT': 'pot.POTHandler', 'INTLTOOL': 'intltool.IntltoolHandler', 'PUBLICAN': 'publican.PublicanHandler',} ##################### # msgmerge settings # WARNING: Kept only for migration purposes. It will be removed in 1.1. MSGMERGE_DIR = os.path.join(SCRATCH_DIR, 'msgmerge_files') ####################### # Resource i18n options I18N_METHODS = {'PO': { 'description': 'PO Files', 'mimetype': 'text/x-po', 'file-extensions': '.po, .pot' }, 'QT': { 'description': 'QT Files', 'mimetype': 'application/xml', 'file-extensions': '.ts' } } I18N_HANDLER_CLASS_BASE = 'resources.formats' I18N_HANDLER_CLASS_NAMES = { 'PO': 'pofile.POHandler', 'QT': 'qt.LinguistHandler'}