mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-06-09 22:36:59 -05:00
refactor: use the term unmount instead of dismount (#1478)
* refactor: use UNMOUNT instead of DISMOUNT in code This change updates the term DISMOUNT in constants to UNMOUNT. Other occurrences (e.g. variable names) are left alone for now. * refactor(ui): use unmount instead of dismount This change updates the GUI text and replaces dismount with unmount. * docs: update term dismount -> unmount * refactor(cmdline): add unmount This change adds an argument 'unmount' for command line usage, while trying to deprecate the old disnount argument. The current dismount argument/flag will still work to not introduce a breaking change. * docs: mention that /dismount is deprecated This change fixes the shorthand version of the argument /unmount It also adds back the info for /dismount and that it is deprecated.
This commit is contained in:
committed by
GitHub
parent
c71fa14dc0
commit
498dff9013
@@ -290,7 +290,7 @@ namespace VeraCrypt
|
||||
|
||||
#ifdef TC_WINDOWS
|
||||
if (Core->IsVolumeMounted (*volumePath))
|
||||
throw_err (LangString["DISMOUNT_FIRST"]);
|
||||
throw_err (LangString["UNMOUNT_FIRST"]);
|
||||
#endif
|
||||
|
||||
ShowInfo ("EXTERNAL_VOL_HEADER_BAK_FIRST_INFO");
|
||||
@@ -1537,7 +1537,7 @@ namespace VeraCrypt
|
||||
|
||||
#ifdef TC_WINDOWS
|
||||
if (Core->IsVolumeMounted (*volumePath))
|
||||
throw_err (LangString["DISMOUNT_FIRST"]);
|
||||
throw_err (LangString["UNMOUNT_FIRST"]);
|
||||
#endif
|
||||
|
||||
// Ask whether to restore internal or external backup
|
||||
|
||||
Reference in New Issue
Block a user