-static const char *error_strings[] = {
- [WIMLIB_ERR_SUCCESS]
- = "Success",
- [WIMLIB_ERR_COMPRESSED_LOOKUP_TABLE]
- = "Lookup table is compressed",
- [WIMLIB_ERR_DECOMPRESSION]
- = "Failed to decompress compressed data",
- [WIMLIB_ERR_DELETE_STAGING_DIR]
- = "Failed to delete staging directory",
- [WIMLIB_ERR_FORK]
- = "Failed to fork another process",
- [WIMLIB_ERR_FUSE]
- = "An error was returned by fuse_main()",
- [WIMLIB_ERR_FUSERMOUNT]
- = "Could not execute the `fusermount' program, or it exited "
- "with a failure status",
- [WIMLIB_ERR_IMAGE_COUNT]
- = "Inconsistent image count among the metadata "
- "resources, the WIM header, and/or the XML data",
- [WIMLIB_ERR_IMAGE_NAME_COLLISION]
- = "Tried to add an image with a name that is already in use",
- [WIMLIB_ERR_INTEGRITY]
- = "The WIM failed an integrity check",
- [WIMLIB_ERR_INVALID_CHUNK_SIZE]
- = "The WIM is compressed but does not have a chunk "
- "size of 32768",
- [WIMLIB_ERR_INVALID_COMPRESSION_TYPE]
- = "The WIM is compressed, but is not marked as having LZX or "
- "XPRESS compression",
- [WIMLIB_ERR_INVALID_DENTRY]
- = "A directory entry in the WIM was invalid",
- [WIMLIB_ERR_INVALID_HEADER_SIZE]
- = "The WIM header was not 208 bytes",
- [WIMLIB_ERR_INVALID_IMAGE]
- = "Tried to select an image that does not exist in the WIM",
- [WIMLIB_ERR_INVALID_INTEGRITY_TABLE]
- = "The WIM's integrity table is invalid",
+static const tchar *error_strings[] = {
+ [WIMLIB_ERR_SUCCESS]
+ = T("Success"),
+ [WIMLIB_ERR_ALREADY_LOCKED]
+ = T("The WIM is already locked for writing"),
+ [WIMLIB_ERR_COMPRESSED_LOOKUP_TABLE]
+ = T("Lookup table is compressed"),
+ [WIMLIB_ERR_DECOMPRESSION]
+ = T("Failed to decompress compressed data"),
+ [WIMLIB_ERR_DELETE_STAGING_DIR]
+ = T("Failed to delete staging directory"),
+ [WIMLIB_ERR_FILESYSTEM_DAEMON_CRASHED]
+ = T("The process servicing the mounted WIM has crashed"),
+ [WIMLIB_ERR_FORK]
+ = T("Failed to fork another process"),
+ [WIMLIB_ERR_FUSE]
+ = T("An error was returned by fuse_main()"),
+ [WIMLIB_ERR_FUSERMOUNT]
+ = T("Could not execute the `fusermount' program, or it exited "
+ "with a failure status"),
+ [WIMLIB_ERR_ICONV_NOT_AVAILABLE]
+ = T("The iconv() function does not seem to work. "
+ "Maybe check to make sure the directory /usr/lib/gconv exists"),
+ [WIMLIB_ERR_IMAGE_COUNT]
+ = T("Inconsistent image count among the metadata "
+ "resources, the WIM header, and/or the XML data"),
+ [WIMLIB_ERR_IMAGE_NAME_COLLISION]
+ = T("Tried to add an image with a name that is already in use"),
+ [WIMLIB_ERR_INTEGRITY]
+ = T("The WIM failed an integrity check"),
+ [WIMLIB_ERR_INVALID_CAPTURE_CONFIG]
+ = T("The capture configuration string was invalid"),
+ [WIMLIB_ERR_INVALID_CHUNK_SIZE]
+ = T("The WIM is compressed but does not have a chunk "
+ "size of 32768"),
+ [WIMLIB_ERR_INVALID_COMPRESSION_TYPE]
+ = T("The WIM is compressed, but is not marked as having LZX or "
+ "XPRESS compression"),
+ [WIMLIB_ERR_INVALID_DENTRY]
+ = T("A directory entry in the WIM was invalid"),
+ [WIMLIB_ERR_INVALID_HEADER_SIZE]
+ = T("The WIM header was not 208 bytes"),
+ [WIMLIB_ERR_INVALID_IMAGE]
+ = T("Tried to select an image that does not exist in the WIM"),
+ [WIMLIB_ERR_INVALID_INTEGRITY_TABLE]
+ = T("The WIM's integrity table is invalid"),