mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Linux/MacOSX: remove unecessary XML resource string replacement of %hs, not needed since Unicode rewrite.
This commit is contained in:
@@ -920,7 +920,6 @@ namespace VeraCrypt
|
||||
if (SelectedVolumePath.IsDevice())
|
||||
{
|
||||
wxString confirmMsg = LangString["OVERWRITEPROMPT_DEVICE"];
|
||||
confirmMsg.Replace (L"%hs", L"%s");
|
||||
|
||||
if (!Gui->AskYesNo (wxString::Format (confirmMsg, wxString (_("DEVICE")).c_str(), wstring (SelectedVolumePath).c_str(), L""), false, true))
|
||||
return GetCurrentStep();
|
||||
@@ -928,7 +927,6 @@ namespace VeraCrypt
|
||||
else if (FilesystemPath (wstring (SelectedVolumePath)).IsFile())
|
||||
{
|
||||
wxString confirmMsg = LangString["OVERWRITEPROMPT"];
|
||||
confirmMsg.Replace (L"%hs", L"%s");
|
||||
|
||||
if (!Gui->AskYesNo (wxString::Format (confirmMsg, wstring (SelectedVolumePath).c_str()), false, true))
|
||||
return GetCurrentStep();
|
||||
|
||||
Reference in New Issue
Block a user