diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-03 19:23:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-03 19:23:53 +0300 |
commit | 1516e9198b589f215d0fd7d52a6aecce2dc380f2 (patch) | |
tree | 3d378daa18f11e122d951fb80f79dfb770a986d0 /plugins/TabSRMM/src/sendqueue.cpp | |
parent | 7f1d7982f443ebd5ed80ae980145f911842a0668 (diff) |
tabSRMM:
- fixes #728;
- panel object aggregated instead of embedding;
- more UI buttons for the groupchat window;
- crazy translation optimization removed
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendqueue.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp index b88e1e9d9a..fa6f1116e1 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -446,13 +446,13 @@ void SendQueue::UpdateSaveAndSendButton(CTabBaseDlg *dat) if (len) { // looks complex but avoids flickering on the button while typing. if (!(dat->m_dwFlags & MWF_SAVEBTN_SAV)) { SendDlgItemMessage(hwndDlg, IDC_SAVE, BM_SETIMAGE, IMAGE_ICON, (LPARAM)PluginConfig.g_buttonBarIcons[ICON_BUTTON_SAVE]); - SendDlgItemMessage(hwndDlg, IDC_SAVE, BUTTONADDTOOLTIP, (WPARAM)pszIDCSAVE_save, BATF_UNICODE); + SendDlgItemMessage(hwndDlg, IDC_SAVE, BUTTONADDTOOLTIP, (WPARAM)TranslateT("Save and close session"), BATF_UNICODE); dat->m_dwFlags |= MWF_SAVEBTN_SAV; } } else { SendDlgItemMessage(hwndDlg, IDC_SAVE, BM_SETIMAGE, IMAGE_ICON, (LPARAM)PluginConfig.g_buttonBarIcons[ICON_BUTTON_CANCEL]); - SendDlgItemMessage(hwndDlg, IDC_SAVE, BUTTONADDTOOLTIP, (WPARAM)pszIDCSAVE_close, BATF_UNICODE); + SendDlgItemMessage(hwndDlg, IDC_SAVE, BUTTONADDTOOLTIP, (WPARAM)TranslateT("Close session"), BATF_UNICODE); dat->m_dwFlags &= ~MWF_SAVEBTN_SAV; } dat->m_textLen = len; @@ -659,7 +659,7 @@ int SendQueue::doSendLater(int iJobIndex, CTabBaseDlg *dat, MCONTACT hContact, b if (dat->m_pContainer->hwndActive == dat->GetHwnd()) dat->UpdateReadChars(); SendDlgItemMessage(dat->GetHwnd(), IDC_SAVE, BM_SETIMAGE, IMAGE_ICON, (LPARAM)PluginConfig.g_buttonBarIcons[ICON_BUTTON_CANCEL]); - SendDlgItemMessage(dat->GetHwnd(), IDC_SAVE, BUTTONADDTOOLTIP, (WPARAM)pszIDCSAVE_close, BATF_UNICODE); + SendDlgItemMessage(dat->GetHwnd(), IDC_SAVE, BUTTONADDTOOLTIP, (WPARAM)TranslateT("Close session"), BATF_UNICODE); dat->m_dwFlags &= ~MWF_SAVEBTN_SAV; if (!fAvail) |