From 6417935db337da37eb829d35487dbfda49ed1092 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 17 Oct 2020 21:17:13 +0300 Subject: NewStory: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fixes #2416 (NewStory: add ability to delete only selected messages) - fixes #2423 (NewStory: если выделено одно сообщение, а щёлкнуть ПКМ по другому, то копирование и редактирование ведут себя по-разному); - fixes #2452 (NewStory: add multiple messages selection ability without keyboard) --- plugins/NewStory/src/history_menus.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/NewStory/src/history_menus.cpp') diff --git a/plugins/NewStory/src/history_menus.cpp b/plugins/NewStory/src/history_menus.cpp index e69296d589..1a38c1c05b 100644 --- a/plugins/NewStory/src/history_menus.cpp +++ b/plugins/NewStory/src/history_menus.cpp @@ -2,10 +2,9 @@ static HGENMENU hmiHistory, hmiEmpty; -static INT_PTR svcEmptyHistory(WPARAM hContact, LPARAM) +INT_PTR svcEmptyHistory(WPARAM hContact, LPARAM) { - extern wchar_t wszDelete[]; - if (IDYES != MessageBoxW(nullptr, TranslateW(wszDelete), _T(MODULETITLE), MB_YESNOCANCEL | MB_ICONQUESTION)) + if (IDYES != MessageBoxW(nullptr, TranslateT("Are you sure to remove all events from history?"), _T(MODULETITLE), MB_YESNOCANCEL | MB_ICONQUESTION)) return 1; DB::ECPTR pCursor(DB::Events(hContact)); -- cgit v1.2.3