From ff17a6e189cbd80d6955fe6a92098ddec2a9ba87 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 May 2020 18:16:10 +0300 Subject: NewStory: fix for menu translation --- plugins/NewStory/res/resource.rc | 4 ++-- plugins/NewStory/src/history.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/NewStory') diff --git a/plugins/NewStory/res/resource.rc b/plugins/NewStory/res/resource.rc index 60013a2b81..d08f0b5b97 100644 --- a/plugins/NewStory/res/resource.rc +++ b/plugins/NewStory/res/resource.rc @@ -375,8 +375,8 @@ BEGIN END POPUP "Log options" BEGIN - MENUITEM "Options...", ID_LOGOPTIONS_OPTIONS - MENUITEM "Templates...", ID_LOGOPTIONS_TEMPLATES + MENUITEM "Options", ID_LOGOPTIONS_OPTIONS + MENUITEM "Templates", ID_LOGOPTIONS_TEMPLATES END POPUP "" BEGIN diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp index 087ef308ee..340f1e4180 100644 --- a/plugins/NewStory/src/history.cpp +++ b/plugins/NewStory/src/history.cpp @@ -385,6 +385,8 @@ public: m_dwOptions = g_plugin.getDword(0, "dwOptions"); m_hMenu = LoadMenu(g_plugin.getInst(), MAKEINTRESOURCE(IDR_POPUPS)); + TranslateMenu(m_hMenu); + HMENU hMenu = GetSubMenu(m_hMenu, 1); CheckMenuItem(hMenu, ID_FILTER_INCOMING, showFlags & HIST_SHOW_IN ? MF_CHECKED : MF_UNCHECKED); -- cgit v1.2.3