UNPKG

tc-source-content-updater

Version:

Module that updates source content for the desktop application translationCore.

22 lines (21 loc) 1.71 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const PARAMETER_ERROR = exports.PARAMETER_ERROR = 'Parameter Error'; const CATALOG_CONTENT_ERROR = exports.CATALOG_CONTENT_ERROR = 'Catalog Content Error'; const RESOURCE_NOT_GIVEN = exports.RESOURCE_NOT_GIVEN = 'Resource entry was not given'; const SOURCE_PATH_NOT_GIVEN = exports.SOURCE_PATH_NOT_GIVEN = 'Source path not given'; const SOURCE_PATH_NOT_EXIST = exports.SOURCE_PATH_NOT_EXIST = 'Source path does not exist'; const OUTPUT_PATH_NOT_GIVEN = exports.OUTPUT_PATH_NOT_GIVEN = 'Output path was not given'; const ERROR_PARSING_BIBLE = exports.ERROR_PARSING_BIBLE = 'Error Parsing Bible'; const MANIFEST_MISSING_BOOKS = exports.MANIFEST_MISSING_BOOKS = 'Manifest is missing the books entry'; const RESOURCES_PATH_NOT_GIVEN = exports.RESOURCES_PATH_NOT_GIVEN = 'Resources path not given'; const UNABLE_TO_CREATE_TW_GROUP_DATA = exports.UNABLE_TO_CREATE_TW_GROUP_DATA = 'Unable to create tW Group Data from Bible source'; const UNABLE_TO_MOVE_RESOURCE_INTO_RESOURCES = exports.UNABLE_TO_MOVE_RESOURCE_INTO_RESOURCES = 'Unable to move the resource files into the resources directory'; const UNABLE_TO_DOWNLOAD_RESOURCES = exports.UNABLE_TO_DOWNLOAD_RESOURCES = 'Unable to download resources'; const UNABLE_TO_UNZIP_RESOURCES = exports.UNABLE_TO_UNZIP_RESOURCES = 'Unable to unzip resources'; const FAILED_TO_PROCESS_RESOURCE = exports.FAILED_TO_PROCESS_RESOURCE = 'Failed to process resource'; const LANGUAGE_LIST_EMPTY = exports.LANGUAGE_LIST_EMPTY = 'Language list is empty'; const MANIFEST_NOT_FOUND = exports.MANIFEST_NOT_FOUND = 'Manifest not found'; const INVALID_BOOK_CODE = exports.INVALID_BOOK_CODE = 'Invalid Book Code';