UNPKG

@boost/translate

Version:

Package and application level translations made easy.

11 lines (10 loc) 505 B
import { createScopedError } from '@boost/internal'; const errors = { LOCALE_REQUIRED: 'A locale must be defined if auto-detection is disabled.', NAMESPACE_REQUIRED: 'A namespace is required for translations.', RESOURCE_PATH_INVALID: 'Resource path "{0}" must be a directory.', RESOURCES_REQUIRED: 'At least 1 resource directory path is required.' }; const TranslateError = createScopedError('TLT', 'TranslateError', errors); export { TranslateError }; //# sourceMappingURL=TranslateError.mjs.map