# Our Translation Handler choices.
TRANS_CHOICES = {'POT': 'POT files',
                 'INTLTOOL': 'POT 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
MSGMERGE_DIR = os.path.join(SCRATCH_DIR, 'msgmerge_files')

# Enable msgfmt -c check for submission file
MSGFMT_CHECK = True


#####################
# webtrans settings
#

# Lotte web-editing
ENABLE_WEBTRANS = True

# Maximum number of strings that a PO file can have for opening it with 
# Lotte web-editing. Case it is not set up there is no limit.
WEBTRANS_MAX_STRINGS = 100

# Enable translation suggestions using Google API
WEBTRANS_SUGGESTIONS = True
