summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_menus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-10-17 21:17:13 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-10-17 21:17:13 +0300
commit6417935db337da37eb829d35487dbfda49ed1092 (patch)
tree20bd43c0b29cbf69607ac1b49472f2aade02b499 /plugins/NewStory/src/history_menus.cpp
parent1aea5e768a5616d30a9568a57cc190cd96d2529c (diff)
NewStory:
- fixes #2416 (NewStory: add ability to delete only selected messages) - fixes #2423 (NewStory: если выделено одно сообщение, а щёлкнуть ПКМ по другому, то копирование и редактирование ведут себя по-разному); - fixes #2452 (NewStory: add multiple messages selection ability without keyboard)
Diffstat (limited to 'plugins/NewStory/src/history_menus.cpp')
-rw-r--r--plugins/NewStory/src/history_menus.cpp5
1 files changed, 2 insertions, 3 deletions
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));