diff options
author | dartraiden <wowemuh@gmail.com> | 2019-03-26 14:58:30 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2019-03-26 14:58:30 +0300 |
commit | e7424b22cd63cfbd3be99790bd080acd431a4f3e (patch) | |
tree | 70e304dc6536a53a7e9eb90537d773e1c5d3d05c /plugins | |
parent | aec8f049d43d79c6c8c26a7d9ddfd9460d267275 (diff) |
StdPopup and Popup decapitalization
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Popup/res/resource.rc | 2 | ||||
-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 |
5 files changed, 17 insertions, 17 deletions
diff --git a/plugins/Popup/res/resource.rc b/plugins/Popup/res/resource.rc index 8beb28511f..9bdf0f69d3 100644 --- a/plugins/Popup/res/resource.rc +++ b/plugins/Popup/res/resource.rc @@ -142,7 +142,7 @@ END IDD_HISTORY DIALOG 0, 0, 293, 236
STYLE DS_SETFONT | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
-CAPTION "Popup History"
+CAPTION "Popup history"
FONT 8, "MS Shell Dlg"
BEGIN
LISTBOX IDC_POPUP_LIST,5,5,283,226,LBS_OWNERDRAWVARIABLE | LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | NOT WS_VISIBLE | WS_VSCROLL | WS_TABSTOP
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);
|