// Permanent failures. Each of them names what is wrong with the file and says that AI
// Studio comes back to it once the file changes:
//
FileExtractionErrorCode.NO_TEXT_EXTRACTED=>TB("No text could be read from the file '{0}', so it was not indexed. It might contain images only, such as a scanned PDF without a text layer. AI Studio reads it again as soon as the file changes."),
FileExtractionErrorCode.NO_CONTENT=>TB("The file '{0}' did not provide any content, so it was not indexed. AI Studio reads it again as soon as the file changes."),
FileExtractionErrorCode.NOT_TEXT_CONTENT=>TB("The file '{0}' is not a text file, so it was not indexed. Its content could not be read as text, which means it might have a wrong file extension. AI Studio reads it again as soon as the file changes."),
FileExtractionErrorCode.NOT_A_VALID_PDF=>TB("The file '{0}' is not a readable PDF, so it was not indexed. It might be damaged or transferred incompletely. AI Studio reads it again as soon as the file changes."),
FileExtractionErrorCode.NOT_A_VALID_SPREADSHEET=>TB("The file '{0}' is not a readable spreadsheet, so it was not indexed. It might be damaged or transferred incompletely. AI Studio reads it again as soon as the file changes."),
FileExtractionErrorCode.PDF_ENCRYPTED=>TB("The file '{0}' is protected and could not be opened, so it was not indexed. AI Studio reads it again as soon as the file changes."),
FileExtractionErrorCode.FORMAT_DETECTION_FAILED=>TB("The file type of '{0}' could not be determined, so the file was not indexed. AI Studio reads it again as soon as the file changes."),
FileExtractionErrorCode.EXECUTABLE_REJECTED=>TB("The file '{0}' is an executable program and was not indexed, regardless of its file extension."),
FileExtractionErrorCode.UNSUPPORTED=>TB("The file type of '{0}' is not supported, so the file was not indexed. AI Studio reads it again as soon as the file changes."),
FileExtractionErrorCode.PAGE_EXTRACTION_FAILED=>TB("Pages of the file '{0}' could not be read, so it was not indexed. They might contain images only. AI Studio reads it again as soon as the file changes."),
//
// Temporary failures. They name what the user can act on, and every one of them is tried
// again during the next run:
//
FileExtractionErrorCode.FILE_NOT_FOUND=>TB("The file '{0}' does not exist anymore and was not indexed."),
FileExtractionErrorCode.FILE_NOT_READABLE=>TB("The file '{0}' could not be read and was not indexed. When the file is stored on a network drive, the drive might be unavailable, or another program might be blocking the file. AI Studio tries again during the next run."),
FileExtractionErrorCode.FILE_LOCKED=>TB("The file '{0}' is currently open in another program, which is why it was not indexed. When the file is stored on a shared network drive, a colleague might have it open. AI Studio tries again during the next run."),
FileExtractionErrorCode.TIMEOUT=>TB("Reading the file '{0}' took too long and was stopped, so the file was not indexed. When the file is stored on a network drive, the connection might be slow or interrupted. AI Studio tries again during the next run."),
FileExtractionErrorCode.PDFIUM_UNAVAILABLE=>TB("AI Studio was not able to start its PDF engine, so the file '{0}' was not indexed. AI Studio tries again during the next run."),
FileExtractionErrorCode.PANDOC_UNAVAILABLE=>TB("Reading the file '{0}' needs Pandoc, which is not available, so the file was not indexed. AI Studio tries again during the next run."),
_=>TB("The file '{0}' could not be read and was not indexed. AI Studio tries again during the next run."),