diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-03 18:16:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-03 18:16:10 +0300 |
commit | ff17a6e189cbd80d6955fe6a92098ddec2a9ba87 (patch) | |
tree | cc91289ce0b2720cb4492700ec8ea7383075a336 | |
parent | d5dd7d58a1671770fa2cecfe9c6abeefe295930c (diff) |
NewStory: fix for menu translation
-rw-r--r-- | plugins/NewStory/res/resource.rc | 4 | ||||
-rw-r--r-- | plugins/NewStory/src/history.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
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); |