diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-03 17:44:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-03 17:44:39 +0300 |
commit | d5dd7d58a1671770fa2cecfe9c6abeefe295930c (patch) | |
tree | 83a9abdf339eaec2daac4a17eef973e2ce0770e8 /plugins/NewStory/src | |
parent | 1592aaa2eb5fb9536d651cda57cc0006f2d57134 (diff) |
NewStory: fix for templates translation in options
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r-- | plugins/NewStory/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/options.cpp b/plugins/NewStory/src/options.cpp index 36f1a4cdfb..892df2bac2 100644 --- a/plugins/NewStory/src/options.cpp +++ b/plugins/NewStory/src/options.cpp @@ -97,7 +97,7 @@ public: tvis.hInsertAfter = TVI_LAST; tvis.item.mask = TVIF_TEXT | TVIF_STATE | TVIF_PARAM | TVIF_IMAGE | TVIF_SELECTEDIMAGE; tvis.item.state = tvis.item.stateMask = TVIS_BOLD; - tvis.item.pszText = it.group; + tvis.item.pszText = TranslateW(it.group); tvis.item.lParam = 0; hGroup = m_tree.InsertItem(&tvis); @@ -109,7 +109,7 @@ public: tvis.hParent = hGroup; tvis.hInsertAfter = TVI_LAST; tvis.item.mask = TVIF_TEXT | TVIF_PARAM | TVIF_IMAGE | TVIF_SELECTEDIMAGE; - tvis.item.pszText = it.title; + tvis.item.pszText = TranslateW(it.title); tvis.item.iSelectedImage = tvis.item.iImage = ImageList_AddIcon(himgTree, g_plugin.getIcon(it.icon)); tvis.item.lParam = (LPARAM)⁢ m_tree.InsertItem(&tvis); |