summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-03-26 14:58:30 +0300
committerdartraiden <wowemuh@gmail.com>2019-03-26 14:58:30 +0300
commite7424b22cd63cfbd3be99790bd080acd431a4f3e (patch)
tree70e304dc6536a53a7e9eb90537d773e1c5d3d05c /src/core
parentaec8f049d43d79c6c8c26a7d9ddfd9460d267275 (diff)
StdPopup and Popup decapitalization
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdpopup/res/resource.rc2
-rw-r--r--src/core/stdpopup/src/icons.cpp2
-rw-r--r--src/core/stdpopup/src/services.cpp4
-rw-r--r--src/core/stdpopup/src/yapp.cpp10
4 files changed, 9 insertions, 9 deletions
diff --git a/src/core/stdpopup/res/resource.rc b/src/core/stdpopup/res/resource.rc
index da3edb45ab..27facda6fd 100644
--- a/src/core/stdpopup/res/resource.rc
+++ b/src/core/stdpopup/res/resource.rc
@@ -66,7 +66,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- GROUPBOX "Default Timeout",IDC_STATIC,4,7,153,36
+ GROUPBOX "Default timeout",IDC_STATIC,4,7,153,36
CONTROL "Never timeout",IDC_RAD_NOTIMEOUT,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT | WS_GROUP,10,16,77,10,WS_EX_RIGHT
CONTROL "Set timeout:",IDC_RAD_TIMEOUT,"Button",BS_AUTORADIOBUTTON | BS_LEFTTEXT,10,28,77,10,WS_EX_RIGHT
EDITTEXT IDC_ED_TIMEOUT,93,26,40,14,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER,WS_EX_RIGHT
diff --git a/src/core/stdpopup/src/icons.cpp b/src/core/stdpopup/src/icons.cpp
index 4b0a61c819..129d00c181 100644
--- a/src/core/stdpopup/src/icons.cpp
+++ b/src/core/stdpopup/src/icons.cpp
@@ -12,7 +12,7 @@ static IconItem iconList2[] =
// common
{ LPGEN("Popups are enabled"), ICO_POPUP_ON, IDI_POPUP },
{ LPGEN("Popups are disabled"), ICO_POPUP_OFF, IDI_NOPOPUP },
- { LPGEN("Popup History"), ICO_HISTORY, IDI_HISTORY },
+ { LPGEN("Popup history"), ICO_HISTORY, IDI_HISTORY },
};
void InitIcons()
diff --git a/src/core/stdpopup/src/services.cpp b/src/core/stdpopup/src/services.cpp
index 7303183f86..7b853e9f93 100644
--- a/src/core/stdpopup/src/services.cpp
+++ b/src/core/stdpopup/src/services.cpp
@@ -195,11 +195,11 @@ void UpdateMenu()
{
bool isEnabled = Popup_Enabled() == 1;
if (isEnabled) {
- Menu_ModifyItem(hMenuItem, LPGENW("Disable Popups"), IcoLib_GetIcon(ICO_POPUP_ON));
+ Menu_ModifyItem(hMenuItem, LPGENW("Disable popups"), IcoLib_GetIcon(ICO_POPUP_ON));
Menu_ModifyItem(hMenuRoot, nullptr, IcoLib_GetIcon(ICO_POPUP_ON));
}
else {
- Menu_ModifyItem(hMenuItem, LPGENW("Enable Popups"), IcoLib_GetIcon(ICO_POPUP_OFF));
+ Menu_ModifyItem(hMenuItem, LPGENW("Enable popups"), IcoLib_GetIcon(ICO_POPUP_OFF));
Menu_ModifyItem(hMenuRoot, nullptr, IcoLib_GetIcon(ICO_POPUP_OFF));
}
diff --git a/src/core/stdpopup/src/yapp.cpp b/src/core/stdpopup/src/yapp.cpp
index b440675cf6..4408cf5aef 100644
--- a/src/core/stdpopup/src/yapp.cpp
+++ b/src/core/stdpopup/src/yapp.cpp
@@ -79,11 +79,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 = IcoLib_GetIconHandle(ICO_TB_POPUP_OFF);
ttb.hIconHandleDn = IcoLib_GetIconHandle(ICO_TB_POPUP_ON);
- 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;
}
@@ -169,13 +169,13 @@ static void InitMenuItems(void)
SET_UID(mi, 0x92c386ae, 0x6e81, 0x452d, 0xb5, 0x71, 0x87, 0x46, 0xe9, 0x2, 0x66, 0xe9);
mi.hIcolibItem = IcoLib_GetIcon(ICO_HISTORY, 0);
mi.pszService= MS_POPUP_SHOWHISTORY;
- mi.name.w = LPGENW("Popup History");
+ mi.name.w = LPGENW("Popup history");
hMenuItemHistory = Menu_AddMainMenuItem(&mi);
SET_UID(mi, 0x4353d44e, 0x177, 0x4843, 0x88, 0x30, 0x25, 0x5d, 0x91, 0xad, 0xdf, 0x3f);
mi.hIcolibItem = IcoLib_GetIcon(isEnabled ? ICO_POPUP_ON : ICO_POPUP_OFF, 0);
mi.pszService = "Popup/EnableDisableMenuCommand";
- mi.name.w = (isEnabled ? LPGENW("Disable Popups") : LPGENW("Enable Popups"));
+ mi.name.w = (isEnabled ? LPGENW("Disable popups") : LPGENW("Enable popups"));
hMenuItem = Menu_AddMainMenuItem(&mi);
}