diff options
Diffstat (limited to 'src/Main/GraphicUserInterface.cpp')
-rw-r--r-- | src/Main/GraphicUserInterface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp index 84daa1aa..75b326e5 100644 --- a/src/Main/GraphicUserInterface.cpp +++ b/src/Main/GraphicUserInterface.cpp @@ -152,17 +152,17 @@ namespace VeraCrypt volumePath = make_shared <VolumePath> (SelectVolumeFile (GetActiveWindow())); if (volumePath->IsEmpty()) throw UserAbort (SRC_POS); #ifdef TC_WINDOWS if (Core->IsVolumeMounted (*volumePath)) { - ShowInfo ("DISMOUNT_FIRST"); + ShowInfo ("UNMOUNT_FIRST"); return; } #endif #ifdef TC_UNIX // Temporarily take ownership of a device if the user is not an administrator UserId origDeviceOwner ((uid_t) -1); @@ -1151,17 +1151,17 @@ namespace VeraCrypt void GraphicUserInterface::OnPowerSuspending (wxPowerEvent& event) { size_t volumeCount = Core->GetMountedVolumes().size(); if (GetPreferences().BackgroundTaskEnabled && GetPreferences().DismountOnPowerSaving && volumeCount > 0) { OnAutoDismountAllEvent(); if (Core->GetMountedVolumes().size() < volumeCount) - ShowInfoTopMost (LangString["MOUNTED_VOLUMES_AUTO_DISMOUNTED"]); + ShowInfoTopMost (LangString["MOUNTED_VOLUMES_AUTO_UNMOUNTED"]); } } #endif void GraphicUserInterface::OnSignal (int signal) { #ifdef TC_UNIX Gui->SingleInstanceChecker.reset(); @@ -1413,17 +1413,17 @@ namespace VeraCrypt volumePath = make_shared <VolumePath> (SelectVolumeFile (GetActiveWindow())); if (volumePath->IsEmpty()) throw UserAbort (SRC_POS); #ifdef TC_WINDOWS if (Core->IsVolumeMounted (*volumePath)) { - ShowInfo ("DISMOUNT_FIRST"); + ShowInfo ("UNMOUNT_FIRST"); return; } #endif #ifdef TC_UNIX // Temporarily take ownership of a device if the user is not an administrator UserId origDeviceOwner ((uid_t) -1); |