mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Add a new LangString 'LINUX_VOL_MOUNTED' to show when volume mounted. Fixes (#1029)
the issue of 'LINUX_VOL_DISMOUNTED' being shown even when not dismounting.
This commit is contained in:
@@ -1521,6 +1521,7 @@
|
||||
<entry lang="en" key="LINUX_NOT_SUPPORTED"> (not supported by components available on this platform).\n</entry>
|
||||
<entry lang="en" key="LINUX_KERNEL_OLD">Your system uses an old version of the Linux kernel.\n\nDue to a bug in the Linux kernel, your system may stop responding when writing data to a VeraCrypt volume. This problem can be solved by upgrading the kernel to version 2.6.24 or later.</entry>
|
||||
<entry lang="en" key="LINUX_VOL_DISMOUNTED">Volume {0} has been dismounted.</entry>
|
||||
<entry lang="en" key="LINUX_VOL_MOUNTED">Volume {0} has been mounted.</entry>
|
||||
<entry lang="en" key="LINUX_OOM">Out of memory.</entry>
|
||||
<entry lang="en" key="LINUX_CANT_GET_ADMIN_PRIV">Failed to obtain administrator privileges</entry>
|
||||
<entry lang="en" key="LINUX_COMMAND_GET_ERROR">Command {0} returned error {1}.</entry>
|
||||
|
||||
@@ -1008,7 +1008,7 @@ namespace VeraCrypt
|
||||
{
|
||||
if (!message.IsEmpty())
|
||||
message += L'\n';
|
||||
message += StringFormatter (LangString["LINUX_VOL_DISMOUNTED"], wstring (volume.Path));
|
||||
message += StringFormatter (LangString["LINUX_VOL_MOUNTED"], wstring (volume.Path));
|
||||
}
|
||||
ShowInfo (message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user