VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJertzukka <Jertzukka@gmail.com>2023-05-18 23:59:36 +0300
committerGitHub <noreply@github.com>2023-05-18 22:59:36 +0200
commit8072207eb6ad0783a4e2c54addc4b3196738029e (patch)
treea9b01e1ab3a9b34f593e52bba0a9692aa9f7a224 /src
parent8e443c25cce0edf51335019cbbab8ae11fa7df21 (diff)
downloadVeraCrypt-8072207eb6ad0783a4e2c54addc4b3196738029e.tar.gz
VeraCrypt-8072207eb6ad0783a4e2c54addc4b3196738029e.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/Common/Language.xml1
-rw-r--r--src/Main/UserInterface.cpp2
2 files changed, 2 insertions, 1 deletions
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 @@
<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>
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);
}