summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_menus.cpp
diff options
context:
space:
mode:
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));