summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslotwin <slotwin@users.noreply.github.com>2014-05-20 20:13:16 +0000
committerslotwin <slotwin@users.noreply.github.com>2014-05-20 20:13:16 +0000
commit93fdc9936b65d4023384f866d6bc3854a0e2772f (patch)
tree4d7ffa396b6e38fd1e7654d071acd986f527566b
parentf950c91ccba114a62a69c08aec724a0487cc8e7d (diff)
Clist_mw/frames ui: proper capitalization
git-svn-id: http://svn.miranda-ng.org/main/trunk@9257 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Clist_mw/src/CLUIFrames/cluiframes.cpp8
-rw-r--r--plugins/Clist_mw/src/CLUIFrames/cluiframes.h12
-rw-r--r--plugins/Clist_mw/src/CLUIFrames/framesmenu.cpp10
-rw-r--r--plugins/Clist_mw/src/CLUIFrames/statusbar.cpp2
-rw-r--r--plugins/Clist_mw/src/clui.cpp4
5 files changed, 18 insertions, 18 deletions
diff --git a/plugins/Clist_mw/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_mw/src/CLUIFrames/cluiframes.cpp
index 78f99a494e..129bd2e794 100644
--- a/plugins/Clist_mw/src/CLUIFrames/cluiframes.cpp
+++ b/plugins/Clist_mw/src/CLUIFrames/cluiframes.cpp
@@ -621,7 +621,7 @@ HMENU CLUIFramesCreateMenuForFrame(int frameid,int root,int popuppos,HGENMENU (*
mi.pszPopupName = (char *)root;
mi.popupPosition = frameid;
mi.position = popuppos++;
- mi.pszName = LPGEN("&Floating Mode");
+ mi.pszName = LPGEN("&Floating mode");
mi.flags = CMIF_CHILDPOPUP;
mi.pszService = "Set_Floating";
mi.pszContactOwner = (char *)0;
@@ -1366,7 +1366,7 @@ static int CLUIFramesLoadMainMenu()
mi.flags = CMIF_CHILDPOPUP;
mi.position = separator++;
mi.hParentMenu = MainMIRoot;
- mi.pszName = LPGEN("Show All Frames");
+ mi.pszName = LPGEN("Show all frames");
mi.pszService = MS_CLIST_FRAMES_SHOWALLFRAMES;
Menu_AddMainMenuItem(&mi);
@@ -2139,8 +2139,8 @@ LRESULT CALLBACK CLUIFrameTitleBarProc(HWND hwnd, UINT msg, WPARAM wParam, LPARA
AppendMenu(hmenu,MF_SEPARATOR,16,_T(""));
if (Frames[framepos].Locked)
- {AppendMenu(hmenu,MF_STRING|MF_CHECKED,frame_menu_lock,TranslateT("Lock Frame"));}
- else{AppendMenu(hmenu,MF_STRING,frame_menu_lock,TranslateT("Lock Frame"));}
+ {AppendMenu(hmenu,MF_STRING|MF_CHECKED,frame_menu_lock,TranslateT("Lock frame"));}
+ else{AppendMenu(hmenu,MF_STRING,frame_menu_lock,TranslateT("Lock frame"));}
if (Frames[framepos].visible)
{AppendMenu(hmenu,MF_STRING|MF_CHECKED,frame_menu_visible,TranslateT("Visible"));}
diff --git a/plugins/Clist_mw/src/CLUIFrames/cluiframes.h b/plugins/Clist_mw/src/CLUIFrames/cluiframes.h
index 6f8b4a5f82..b38975ea8f 100644
--- a/plugins/Clist_mw/src/CLUIFrames/cluiframes.h
+++ b/plugins/Clist_mw/src/CLUIFrames/cluiframes.h
@@ -37,7 +37,7 @@ typedef struct
{
int order;
int realpos;
-}SortData;
+} SortData;
@@ -49,7 +49,7 @@ typedef struct
#define CLUIFRAMESSETALIGNALCLIENT "CLUIFramesSetAlignalClient"
#define CLUIFRAMESSETALIGNALBOTTOM "CLUIFramesSetAlignalBottom"
-#define CLUIFRAMESMOVEUPDOWN "CLUIFramesMoveUpDown"
+#define CLUIFRAMESMOVEUPDOWN "CLUIFramesMoveUpDown"
struct FrameMenuHandles
{
@@ -79,8 +79,8 @@ struct FrameTitleBar
struct DockOpt
{
- HWND hwndLeft;
- HWND hwndRight;
+ HWND hwndLeft;
+ HWND hwndRight;
};
struct FRAMEWND
@@ -114,7 +114,7 @@ struct FRAMEWND
#define OFFSET_PROTOPOS 200
#define OFFSET_VISIBLE 400
-#define CLUIFrameTitleBarClassName _T("CLUIFrameTitleBar")
-#define CLUIFrameModule "CLUIFrames"
+#define CLUIFrameTitleBarClassName _T("CLUIFrameTitleBar")
+#define CLUIFrameModule "CLUIFrames"
#endif
diff --git a/plugins/Clist_mw/src/CLUIFrames/framesmenu.cpp b/plugins/Clist_mw/src/CLUIFrames/framesmenu.cpp
index da1ce57d05..d414bdc2f2 100644
--- a/plugins/Clist_mw/src/CLUIFrames/framesmenu.cpp
+++ b/plugins/Clist_mw/src/CLUIFrames/framesmenu.cpp
@@ -10,7 +10,7 @@ typedef struct{
char *szServiceName;
int Frameid;
INT_PTR param1;
-}FrameMenuExecParam,*lpFrameMenuExecParam;
+} FrameMenuExecParam, *lpFrameMenuExecParam;
INT_PTR FreeOwnerDataFrameMenu(WPARAM wParam, LPARAM lParam)
{
@@ -24,10 +24,10 @@ INT_PTR FreeOwnerDataFrameMenu(WPARAM wParam, LPARAM lParam)
static INT_PTR AddContextFrameMenuItem(WPARAM wParam, LPARAM lParam)
{
- CLISTMENUITEM *mi = (CLISTMENUITEM*)lParam;
+ CLISTMENUITEM *mi = (CLISTMENUITEM *)lParam;
TMO_MenuItem tmi;
- if ( !pcli->pfnConvertMenu(mi, &tmi))
+ if (!pcli->pfnConvertMenu(mi, &tmi))
return NULL;
tmi.root = (mi->flags & CMIF_ROOTHANDLE) ? mi->hParentMenu : NULL;
@@ -84,13 +84,13 @@ INT_PTR FrameMenuCheckService(WPARAM wParam, LPARAM lParam)
static INT_PTR ContextFrameMenuNotify(WPARAM wParam, LPARAM lParam)
{
- NotifyEventHooks(hPreBuildFrameMenuEvent,wParam,lParam);
+ NotifyEventHooks(hPreBuildFrameMenuEvent, wParam, lParam);
return 0;
}
static INT_PTR BuildContextFrameMenu(WPARAM wParam, LPARAM lParam)
{
- ListParam param = { 0 };
+ ListParam param = {0};
param.MenuObjectHandle = hFrameMenuObject;
param.wParam = wParam;
param.lParam = lParam;
diff --git a/plugins/Clist_mw/src/CLUIFrames/statusbar.cpp b/plugins/Clist_mw/src/CLUIFrames/statusbar.cpp
index 53c7e66741..9df66c7368 100644
--- a/plugins/Clist_mw/src/CLUIFrames/statusbar.cpp
+++ b/plugins/Clist_mw/src/CLUIFrames/statusbar.cpp
@@ -453,7 +453,7 @@ HANDLE CreateStatusBarFrame()
Frame.Flags = ( db_get_b(NULL,"CLUI","ShowSBar",1)?F_VISIBLE:0)|F_LOCKED|F_NOBORDER|F_TCHAR;
Frame.height = (h == 0) ? 20 : h;
Frame.tname = _T("Status");
- Frame.TBtname = TranslateT("Status Bar");
+ Frame.TBtname = TranslateT("Status bar");
hFrameHelperStatusBar = (HANDLE)CallService(MS_CLIST_FRAMES_ADDFRAME,(WPARAM)&Frame,0);
return hFrameHelperStatusBar;
diff --git a/plugins/Clist_mw/src/clui.cpp b/plugins/Clist_mw/src/clui.cpp
index 139ebc1d49..69ea15f8e1 100644
--- a/plugins/Clist_mw/src/clui.cpp
+++ b/plugins/Clist_mw/src/clui.cpp
@@ -377,8 +377,8 @@ int CreateCLC(HWND parent)
Frame.hIcon = LoadSkinnedIcon(SKINICON_OTHER_FRAME);
//LoadIcon(hInst,MAKEINTRESOURCE(IDI_MIRANDA));
Frame.Flags = F_VISIBLE|F_SHOWTB|F_SHOWTBTIP|F_TCHAR;
- Frame.tname = _T("My Contacts");
- Frame.TBtname = TranslateT("My Contacts");
+ Frame.tname = _T("My contacts");
+ Frame.TBtname = TranslateT("My contacts");
hFrameContactTree = (HWND)CallService(MS_CLIST_FRAMES_ADDFRAME,(WPARAM)&Frame,0);
//free(Frame.name);
CallService(MS_CLIST_FRAMES_SETFRAMEOPTIONS,MAKEWPARAM(FO_TBTIPNAME,hFrameContactTree),(LPARAM)TranslateT("My Contacts"));