diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-27 14:53:37 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-27 14:53:37 +0300 |
commit | 9c71658f815f3e1bea31d897f3c11ce08bb2266e (patch) | |
tree | f985e21ddb9f668a09f79b04512110459e6a9a02 | |
parent | 9df4913882a3928a0ea61766419a1446769c3951 (diff) |
Clist_Modern: fix for the frame name translation issue
-rw-r--r-- | plugins/Clist_modern/src/cluiframes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/cluiframes.cpp b/plugins/Clist_modern/src/cluiframes.cpp index 964c49ee6e..4413554500 100644 --- a/plugins/Clist_modern/src/cluiframes.cpp +++ b/plugins/Clist_modern/src/cluiframes.cpp @@ -1473,7 +1473,7 @@ static int CLUIFramesLoadMainMenu() mi.hIcolibItem = F.TitleBar.hicon;
mi.flags = CMIF_SYSTEM | CMIF_UNICODE;
mi.position = separator++;
- mi.name.w = F.TitleBar.tbname ? F.TitleBar.tbname : F.name;
+ mi.name.w = TranslateW_LP(F.TitleBar.tbname ? F.TitleBar.tbname : F.name, F.pPlugin);
mi.pszService = nullptr;
g_frameMenus.insert(F.MenuHandles.MainMenuItem = Menu_AddMainMenuItem(&mi));
CLUIFramesCreateMenuForFrame(F.id, F.MenuHandles.MainMenuItem, separator, true);
|