VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Translations/Language.el.xml
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2023-07-01 15:16:46 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2023-07-01 15:16:46 +0200
commit0bfed6553d08131fd8e0bd725642ff8509a2a1d4 (patch)
treea4325dd52e48b00eea5dfcd5dcb37c29f06c156d /Translations/Language.el.xml
parent17dcd73936a99105c736477a9f49f2ac606440dc (diff)
downloadVeraCrypt-0bfed6553d08131fd8e0bd725642ff8509a2a1d4.tar.gz
VeraCrypt-0bfed6553d08131fd8e0bd725642ff8509a2a1d4.zip
Windows: Fix formatting issue during volume creation by using /Y for format.com and specifying removal parameter in FormatEx
The usage of /Y parameter in format.com simplifies the logic and makes the code robust since we don't need to send \n to the format.com process. Specifying RemovableMedia parameter to FormatEx fixes its failure in Windows 10 and later to perform quick format. This is also more adequate since we are mounting the volume as removable media for the formatting process. We also add better error management in order to display adequate error message to the user in case of failure
Diffstat (limited to 'Translations/Language.el.xml')
-rw-r--r--Translations/Language.el.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Translations/Language.el.xml b/Translations/Language.el.xml
index 990f6d34..e2871d4c 100644
--- a/Translations/Language.el.xml
+++ b/Translations/Language.el.xml
@@ -1621,6 +1621,8 @@
<entry lang="en" key="INVALID_EMV_PATH">EMV path is invalid.</entry>
<entry lang="en" key="EMV_KEYFILE_DATA_NOTFOUND">Unable to build a keyfile from the EMV card's data.\n\nOne of the following is missing:\n- ICC Public Key Certificate.\n- Issuer Public Key Certificate.\n- CPCL data.</entry>
<entry lang="en" key="SCARD_W_REMOVED_CARD">No card in the reader.\n\nPlease make sure the card is correctly slotted.</entry>
+ <entry lang="en" key="FORMAT_EXTERNAL_FAILED">Windows format.com command failed to format the volume as NTFS/exFAT/ReFS: Error 0x%.8X.\n\nFalling back to using Windows FormatEx API.</entry>
+ <entry lang="en" key="FORMATEX_API_FAILED">Windows FormatEx API failed to format the volume as NTFS/exFAT/ReFS.\n\nFailure status = %s.</entry>
</localization>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="VeraCrypt">