Fix a "Frenglish" issue.
parent
5251bdd6db
commit
1ef92c6cce
|
@ -286,7 +286,7 @@ void PluginsAdminDlg::create(int dialogID, bool isRTL, bool msgDestParent)
|
|||
|
||||
const int topMarge = 42;
|
||||
|
||||
HWND hResearchLabel = ::GetDlgItem(_hSelf, IDC_PLUGINADM_RESEARCH_STATIC);
|
||||
HWND hResearchLabel = ::GetDlgItem(_hSelf, IDC_PLUGINADM_SEARCH_STATIC);
|
||||
RECT researchLabelRect;
|
||||
::GetClientRect(hResearchLabel, &researchLabelRect);
|
||||
researchLabelRect.left = rect.left;
|
||||
|
@ -294,7 +294,7 @@ void PluginsAdminDlg::create(int dialogID, bool isRTL, bool msgDestParent)
|
|||
::MoveWindow(hResearchLabel, researchLabelRect.left, researchLabelRect.top, researchLabelRect.right, researchLabelRect.bottom, TRUE);
|
||||
::InvalidateRect(hResearchLabel, nullptr, TRUE);
|
||||
|
||||
HWND hResearchEdit = ::GetDlgItem(_hSelf, IDC_PLUGINADM_RESEARCH_EDIT);
|
||||
HWND hResearchEdit = ::GetDlgItem(_hSelf, IDC_PLUGINADM_SEARCH_EDIT);
|
||||
RECT researchEditRect;
|
||||
::GetClientRect(hResearchEdit, &researchEditRect);
|
||||
researchEditRect.left = researchLabelRect.right + marge;
|
||||
|
@ -970,7 +970,7 @@ bool PluginsAdminDlg::searchInPlugins(bool isNextMode) const
|
|||
{
|
||||
const int maxLen = 256;
|
||||
TCHAR txt2search[maxLen];
|
||||
::GetDlgItemText(_hSelf, IDC_PLUGINADM_RESEARCH_EDIT, txt2search, maxLen);
|
||||
::GetDlgItemText(_hSelf, IDC_PLUGINADM_SEARCH_EDIT, txt2search, maxLen);
|
||||
if (lstrlen(txt2search) < 2)
|
||||
return false;
|
||||
|
||||
|
@ -1083,7 +1083,7 @@ INT_PTR CALLBACK PluginsAdminDlg::run_dlgProc(UINT message, WPARAM wParam, LPARA
|
|||
{
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
case IDC_PLUGINADM_RESEARCH_EDIT:
|
||||
case IDC_PLUGINADM_SEARCH_EDIT:
|
||||
{
|
||||
searchInPlugins(false);
|
||||
return TRUE;
|
||||
|
|
|
@ -39,8 +39,8 @@ EXSTYLE WS_EX_TOOLWINDOW
|
|||
CAPTION "Plugins Admin"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
||||
BEGIN
|
||||
RTEXT "Research: ",IDC_PLUGINADM_RESEARCH_STATIC,50,38,50,8
|
||||
EDITTEXT IDC_PLUGINADM_RESEARCH_EDIT,160,35,150,14,ES_AUTOHSCROLL
|
||||
RTEXT "Search: ",IDC_PLUGINADM_SEARCH_STATIC,50,38,50,8
|
||||
EDITTEXT IDC_PLUGINADM_SEARCH_EDIT,160,35,150,14,ES_AUTOHSCROLL
|
||||
PUSHBUTTON "Next", IDC_PLUGINADM_RESEARCH_NEXT,332,35,57,14
|
||||
PUSHBUTTON "Install", IDC_PLUGINADM_INSTALL,432,35,57,14
|
||||
PUSHBUTTON "Update", IDC_PLUGINADM_UPDATE,432,35,57,14
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
|
||||
|
||||
#define IDD_PLUGINSADMIN_DLG 5500
|
||||
#define IDC_PLUGINADM_RESEARCH_STATIC (IDD_PLUGINSADMIN_DLG + 1)
|
||||
#define IDC_PLUGINADM_RESEARCH_EDIT (IDD_PLUGINSADMIN_DLG + 2)
|
||||
#define IDC_PLUGINADM_SEARCH_STATIC (IDD_PLUGINSADMIN_DLG + 1)
|
||||
#define IDC_PLUGINADM_SEARCH_EDIT (IDD_PLUGINSADMIN_DLG + 2)
|
||||
#define IDC_PLUGINADM_INSTALL (IDD_PLUGINSADMIN_DLG + 3)
|
||||
#define IDC_PLUGINADM_UPDATE (IDD_PLUGINSADMIN_DLG + 4)
|
||||
#define IDC_PLUGINADM_REMOVE (IDD_PLUGINSADMIN_DLG + 5)
|
||||
|
|
Loading…
Reference in New Issue