-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",
+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_INSUFFICIENT_PRIVILEGES_TO_EXTRACT]
+ = T("User does not have sufficient privileges to correctly extract the 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"),