summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-06 14:36:32 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-06 14:36:32 +0300
commit42c6fce78cf34508d59b5727933b10e708ec3dc3 (patch)
tree3c72f51086d663d7affdd54453f179309081d6f0
parent9f5868d8ba6d2b55c03fd5b201e87c125e04e3dc (diff)
fixes #3817 (tabSRMM: пропал перевод кнопок)
-rw-r--r--src/mir_app/src/srmm_toolbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp
index 72f64a935f..29fa5bdffb 100644
--- a/src/mir_app/src/srmm_toolbar.cpp
+++ b/src/mir_app/src/srmm_toolbar.cpp
@@ -496,9 +496,9 @@ class CSrmmToolbarOptions : public CDlgBase
}
else {
if (cbd->m_pwszOptions)
- tvis.item.pszText = TranslateW(cbd->m_pwszOptions);
+ tvis.item.pszText = TranslateW_LP(cbd->m_pwszOptions, cbd->m_pPlugin);
else
- tvis.item.pszText = TranslateW(cbd->m_pwszTooltip);
+ tvis.item.pszText = TranslateW_LP(cbd->m_pwszTooltip, cbd->m_pPlugin);
tvis.item.iImage = tvis.item.iSelectedImage = ImageList_AddIcon(m_hImgl, IcoLib_GetIconByHandle(cbd->m_hIcon));
}
cbd->m_opFlags = 0;