diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-28 18:12:17 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-28 18:12:17 +0200 |
commit | 47c081792c0e95dd8d85441d79d12565748497e3 (patch) | |
tree | 168e573800f99db86364e6b7816a4f3f2ec99751 /src/Common | |
parent | e0e043157fac5242efd15baf467dcc21d06d5067 (diff) | |
download | VeraCrypt-47c081792c0e95dd8d85441d79d12565748497e3.tar.gz VeraCrypt-47c081792c0e95dd8d85441d79d12565748497e3.zip |
Windows: Add comboxbox to Format wizard to choose QuickFormat/FastCreate/FullFormat
This required changes to internal logic and addition of new UI strings
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/Format.h | 5 | ||||
-rw-r--r-- | src/Common/Language.xml | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/Common/Format.h b/src/Common/Format.h index f5d65f14..826b8f6c 100644 --- a/src/Common/Format.h +++ b/src/Common/Format.h @@ -91,6 +91,11 @@ BOOL MoveFilePointer (HANDLE dev, LARGE_INTEGER offset); #define FILESYS_EXFAT 3 #define FILESYS_REFS 4 +#define FORMAT_TYPE_FULL 0 +#define FORMAT_TYPE_QUICK 1 +#define FORMAT_TYPE_FAST 2 + + #ifdef __cplusplus } #endif diff --git a/src/Common/Language.xml b/src/Common/Language.xml index 822829b8..540f6867 100644 --- a/src/Common/Language.xml +++ b/src/Common/Language.xml @@ -1605,6 +1605,9 @@ <entry lang="en" key="EXPANDER_ERROR_MAX_FILE_SIZE_EXCEEDED">Maximum file size of %I64u MB on host drive exceeded.</entry> <entry lang="en" key="EXPANDER_ERROR_QUICKEXPAND_PRIVILEGES">Error: Failed to get necessary privileges to enable Quick Expand!\nPlease uncheck Quick Expand option and try again.</entry> <entry lang="en" key="EXPANDER_ERROR_MAX_VC_VOLUME_SIZE_EXCEEDED">Maximum VeraCrypt volume size of %I64u TB exceeded!\n</entry> + <entry lang="en" key="FULL_FORMAT">Full Format</entry> + <entry lang="en" key="FAST_CREATE">Fast Create</entry> + <entry lang="en" key="WARN_FAST_CREATE">WARNING: You should use Fast Create only in the following cases:\n\n1) The device contains no sensitive data and you do not need plausible deniability.\n2) The device has already been securely and fully encrypted.\n\nAre you sure you want to use Fast Create?</entry> </localization> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="VeraCrypt"> |