diff options
Diffstat (limited to 'plugins/Popup/src')
| -rw-r--r-- | plugins/Popup/src/history.cpp | 4 | ||||
| -rw-r--r-- | plugins/Popup/src/icons.cpp | 2 | ||||
| -rw-r--r-- | plugins/Popup/src/main.cpp | 24 | ||||
| -rw-r--r-- | plugins/Popup/src/opt_adv.cpp | 2 | 
4 files changed, 16 insertions, 16 deletions
diff --git a/plugins/Popup/src/history.cpp b/plugins/Popup/src/history.cpp index c4da220b9c..dd9f6afa62 100644 --- a/plugins/Popup/src/history.cpp +++ b/plugins/Popup/src/history.cpp @@ -98,7 +98,7 @@ void PopupHistoryAdd(POPUPDATA2 *ppdNew)  void PopupHistoryShow()
  {
  	if (!PopupOptions.EnableHistory) {
 -		MessageBox(nullptr, TranslateT("Popup History is disabled"), TranslateT("Popup History message"), MB_OK);
 +		MessageBox(nullptr, TranslateT("Popup history is disabled"), TranslateT("Popup history message"), MB_OK);
  		return;
  	}
 @@ -110,7 +110,7 @@ void PopupHistoryShow()  	}
  	else {
  		hwndHistory = CreateDialog(g_plugin.getInst(), MAKEINTRESOURCE(IDD_HISTORY), nullptr, HistoryDlgProc);
 -		SetWindowText(hwndHistory, TranslateT("Popup History"));
 +		SetWindowText(hwndHistory, TranslateT("Popup history"));
  	}
  }
 diff --git a/plugins/Popup/src/icons.cpp b/plugins/Popup/src/icons.cpp index c3aa00fab2..083593ac11 100644 --- a/plugins/Popup/src/icons.cpp +++ b/plugins/Popup/src/icons.cpp @@ -28,7 +28,7 @@ static IconItem iconList1[] =  	// common popup
  	{ LPGEN("With \"favorite\" overlay"), "favourite", IDI_PU_FAVOURITE },
  	{ LPGEN("With \"fullscreen\" overlay"), "fullscreen", IDI_PU_FULLSCREEN },
 -	{ LPGEN("Popup History"), "history", IDI_HISTORY },
 +	{ LPGEN("Popup history"), "history", IDI_HISTORY },
  	// notifications
  	{ LPGEN("Information"), "info", IDI_MB_INFO },
 diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index f9d4ccbb78..b6d55dae02 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -126,11 +126,11 @@ static int TTBLoaded(WPARAM, LPARAM)  	ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ASPUSHBUTTON;
  	if (Popup_Enabled())
  		ttb.dwFlags |= TTBBF_PUSHED;
 -	ttb.name = LPGEN("Toggle Popups");
 +	ttb.name = LPGEN("Toggle popups");
  	ttb.hIconHandleUp = Skin_GetIconHandle(SKINICON_OTHER_NOPOPUP);
  	ttb.hIconHandleDn = Skin_GetIconHandle(SKINICON_OTHER_POPUP);
 -	ttb.pszTooltipUp = LPGEN("Enable Popups");
 -	ttb.pszTooltipDn = LPGEN("Disable Popups");
 +	ttb.pszTooltipUp = LPGEN("Enable popups");
 +	ttb.pszTooltipDn = LPGEN("Disable popups");
  	hTTButton = g_plugin.addTTB(&ttb);
  	return 0;
  }
 @@ -143,13 +143,13 @@ INT_PTR svcEnableDisableMenuCommand(WPARAM, LPARAM)  		// The module is enabled.
  		// The action to do is "disable popups" (show disabled) and we must write "enable popup" in the new item.
  		Popup_Enable(false);
 -		Menu_ModifyItem(hMenuItem, LPGENW("Enable Popups"), hIcon = Skin_GetIconHandle(SKINICON_OTHER_NOPOPUP));
 +		Menu_ModifyItem(hMenuItem, LPGENW("Enable popups"), hIcon = Skin_GetIconHandle(SKINICON_OTHER_NOPOPUP));
  	}
  	else {
  		// The module is disabled.
  		// The action to do is enable popups (show enabled), then write "disable popup" in the new item.
  		Popup_Enable(true);
 -		Menu_ModifyItem(hMenuItem, LPGENW("Disable Popups"), hIcon = Skin_GetIconHandle(SKINICON_OTHER_POPUP));
 +		Menu_ModifyItem(hMenuItem, LPGENW("Disable popups"), hIcon = Skin_GetIconHandle(SKINICON_OTHER_POPUP));
  	}
  	Menu_ModifyItem(hMenuRoot, nullptr, hIcon);
 @@ -181,16 +181,16 @@ void InitMenuItems(void)  	SET_UID(mi, 0x4353d44e, 0x177, 0x4843, 0x88, 0x30, 0x25, 0x5d, 0x91, 0xad, 0xdf, 0x3f);
  	mi.pszService = MENUCOMMAND_SVC;
  	CreateServiceFunction(mi.pszService, svcEnableDisableMenuCommand);
 -	mi.name.w = Popup_Enabled() ? LPGENW("Disable Popups") : LPGENW("Enable Popups");
 +	mi.name.w = Popup_Enabled() ? LPGENW("Disable popups") : LPGENW("Enable popups");
  	mi.hIcolibItem = hIcon;
  	hMenuItem = Menu_AddMainMenuItem(&mi);
 -	// Popup History
 +	// Popup history
  	SET_UID(mi, 0x92c386ae, 0x6e81, 0x452d, 0xb5, 0x71, 0x87, 0x46, 0xe9, 0x2, 0x66, 0xe9);
  	mi.pszService = MENUCOMMAND_HISTORY;
  	CreateServiceFunction(mi.pszService, svcShowHistory);
  	mi.position = 1000000000;
 -	mi.name.w = LPGENW("Popup History");
 +	mi.name.w = LPGENW("Popup history");
  	mi.hIcolibItem = GetIconHandle(IDI_HISTORY);
  	hMenuItemHistory = Menu_AddMainMenuItem(&mi);
  }
 @@ -201,14 +201,14 @@ void LoadHotkey()  	HOTKEYDESC hk = {};
  	hk.dwFlags = HKD_UNICODE;
  	hk.pszName = "Toggle Popups";
 -	hk.szDescription.w = LPGENW("Toggle Popups");
 +	hk.szDescription.w = LPGENW("Toggle popups");
  	hk.szSection.w = MODULNAME_PLUW;
  	hk.pszService = MENUCOMMAND_SVC;
  	g_plugin.addHotkey(&hk);
 -	// 'Popup History' Hotkey
 +	// 'Popup history' Hotkey
  	hk.pszName = "Popup History";
 -	hk.szDescription.w = LPGENW("Popup History");
 +	hk.szDescription.w = LPGENW("Popup history");
  	hk.pszService = MENUCOMMAND_HISTORY;
  	g_plugin.addHotkey(&hk);
  }
 @@ -247,7 +247,7 @@ static int ModulesLoaded(WPARAM, LPARAM)  	// hook TopToolBar
  	HookEvent(ME_TTB_MODULELOADED, TTBLoaded);
  	// Folder plugin support
 -	folderId = FoldersRegisterCustomPathT(LPGEN("Skins"), LPGEN("Popup Plus"), MIRANDA_PATHT L"\\Skins\\Popup");
 +	folderId = FoldersRegisterCustomPathT(LPGEN("Skins"), LPGEN("Popup plus"), MIRANDA_PATHT L"\\Skins\\Popup");
  	// load skin
  	skins.load();
  	const PopupSkin *skin;
 diff --git a/plugins/Popup/src/opt_adv.cpp b/plugins/Popup/src/opt_adv.cpp index e279e7ebb2..04dfe50948 100644 --- a/plugins/Popup/src/opt_adv.cpp +++ b/plugins/Popup/src/opt_adv.cpp @@ -111,7 +111,7 @@ INT_PTR CALLBACK DlgProcPopupAdvOpts(HWND hwnd, UINT msg, WPARAM wParam, LPARAM  			HWND hCtrl = GetDlgItem(hwnd, IDC_SHOWHISTORY);
  			SendMessage(hCtrl, BUTTONSETASFLATBTN, TRUE, 0);
 -			SendMessage(hCtrl, BUTTONADDTOOLTIP, (WPARAM)Translate("Popup History"), 0);
 +			SendMessage(hCtrl, BUTTONADDTOOLTIP, (WPARAM)Translate("Popup history"), 0);
  			SendMessage(hCtrl, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadIconEx(IDI_HISTORY));
  			EnableWindow(GetDlgItem(hwnd, IDC_HISTORY_STATIC1), PopupOptions.EnableHistory);
  | 
