From 8072207eb6ad0783a4e2c54addc4b3196738029e Mon Sep 17 00:00:00 2001 From: Jertzukka Date: Thu, 18 May 2023 23:59:36 +0300 Subject: 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. --- src/Common/Language.xml | 1 + src/Main/UserInterface.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Common/Language.xml b/src/Common/Language.xml index e4ceac7a..366bb0b0 100644 --- a/src/Common/Language.xml +++ b/src/Common/Language.xml @@ -1521,6 +1521,7 @@ (not supported by components available on this platform).\n 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. Volume {0} has been dismounted. + Volume {0} has been mounted. Out of memory. Failed to obtain administrator privileges Command {0} returned error {1}. diff --git a/src/Main/UserInterface.cpp b/src/Main/UserInterface.cpp index d0e2f9a1..9c7d4e29 100644 --- a/src/Main/UserInterface.cpp +++ b/src/Main/UserInterface.cpp @@ -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); } -- cgit v1.2.3