Ide: MacroManager fix issue raised by translation synchronisation.

git-svn-id: svn://ultimatepp.org/upp/trunk@15263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2020-10-17 18:19:35 +00:00
parent 009c12e754
commit b2f27de0ef

View file

@ -255,8 +255,9 @@ void MacroManagerWindow::OnNewMacroFile()
void MacroManagerWindow::OnDeleteMacroFile()
{
auto fileName = static_cast<String>(globalTree.GetValue());
if(!PromptOKCancel(t_("Are you sure you want to remove following macro file \"" + fileName + "\"?")))
if(!PromptOKCancel(String(t_("Are you sure you want to remove following macro file")) << " \"" << fileName << "\"?")) {
return;
}
FileDelete(AppendFileName(GetLocalDir(), fileName));
globalTree.Remove(globalTree.GetCursor());