From 4110a3ae07db6fecafbee1ceb69a51c427a0d7c9 Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Mon, 6 Apr 2015 13:45:03 +0000 Subject: Scriver: decapitalization git-svn-id: http://svn.miranda-ng.org/main/trunk@12630 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/res/resource.rc | 30 +++++++++++++++--------------- plugins/Scriver/src/chat/options.cpp | 2 +- plugins/Scriver/src/chat/window.cpp | 6 +++--- plugins/Scriver/src/input.cpp | 6 +++--- plugins/Scriver/src/msgdialog.cpp | 20 ++++++++++---------- plugins/Scriver/src/msglog.cpp | 6 +++--- plugins/Scriver/src/msgoptions.cpp | 12 ++++++------ plugins/Scriver/src/msgs.cpp | 8 ++++---- plugins/Scriver/src/msgtimedout.cpp | 4 ++-- plugins/Scriver/src/msgwindow.cpp | 8 ++++---- 10 files changed, 51 insertions(+), 51 deletions(-) diff --git a/plugins/Scriver/res/resource.rc b/plugins/Scriver/res/resource.rc index c95625e672..81b0aa2a09 100644 --- a/plugins/Scriver/res/resource.rc +++ b/plugins/Scriver/res/resource.rc @@ -111,7 +111,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - GROUPBOX "Message Window Event Log",IDC_STMSGLOGGROUP,0,0,304,181 + GROUPBOX "Message window event log",IDC_STMSGLOGGROUP,0,0,304,181 CONTROL "Enable IEView",IDC_USEIEVIEW,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,8,12,140,10 CONTROL "Show icons",IDC_SHOWLOGICONS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,25,140,10 CONTROL "Show time",IDC_SHOWTIMES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,36,140,10 @@ -148,7 +148,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - GROUPBOX "Typing Notification Options",IDC_STATIC,7,4,269,244 + GROUPBOX "Typing notification options",IDC_STATIC,7,4,269,244 LTEXT "Send typing notifications to the following users when you are typing a message to them:",IDC_STATIC,19,18,245,19 CONTROL "",IDC_CLIST,"CListControl",WS_TABSTOP | 0x348,18,37,248,130,WS_EX_CLIENTEDGE CONTROL "Show typing notification switch in the status bar",IDC_TYPINGSWITCH, @@ -166,7 +166,7 @@ END IDD_MSGSENDERROR DIALOG 0, 0, 187, 110 STYLE DS_SETFONT | DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Send Error" +CAPTION "Send error" FONT 8, "MS Shell Dlg" BEGIN LTEXT "An error has occurred. The protocol reported the following error:",IDC_STATIC,5,4,177,20 @@ -180,7 +180,7 @@ END IDD_MSGWIN DIALOGEX 0, 0, 300, 200 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_DISABLED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Message Session" +CAPTION "Message session" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN CONTROL "",IDC_TABS,"SysTabControl32",TCS_MULTILINE | TCS_FOCUSNEVER | WS_CLIPSIBLINGS,0,0,300,200 @@ -217,7 +217,7 @@ END IDD_CONFIRM_SENDALL DIALOGEX 0, 0, 220, 80 STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | WS_POPUP | WS_CAPTION -CAPTION "Send To All Tabs" +CAPTION "Send to all tabs" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN ICON 32514,IDC_STATIC,10,10,21,21 @@ -242,7 +242,7 @@ BEGIN CONTROL "&History",IDC_CHAT_HISTORY,"MButtonClass",WS_TABSTOP,188,108,15,13,WS_EX_NOACTIVATE | 0x10000000L CONTROL "&OK",IDOK,"MButtonClass",0x0,162,71,20,14,WS_EX_NOACTIVATE | 0x10000000L CONTROL "&Filter",IDC_CHAT_FILTER,"MButtonClass",WS_TABSTOP,220,108,15,13,WS_EX_NOACTIVATE | 0x10000000L - CONTROL "&Room Settings",IDC_CHAT_CHANMGR,"MButtonClass",WS_DISABLED | WS_TABSTOP,204,108,15,13,WS_EX_NOACTIVATE | 0x10000000L + CONTROL "&Room settings",IDC_CHAT_CHANMGR,"MButtonClass",WS_DISABLED | WS_TABSTOP,204,108,15,13,WS_EX_NOACTIVATE | 0x10000000L CONTROL "&Show/hide nick list",IDC_CHAT_SHOWNICKLIST, "MButtonClass",WS_TABSTOP,236,108,15,13,WS_EX_NOACTIVATE | 0x10000000L CONTROL "",IDC_CHAT_LOG,"RichEdit50W",WS_VSCROLL | WS_TABSTOP | 0x844,8,23,164,73,WS_EX_STATICEDGE @@ -292,7 +292,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_VISIBLE EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - GROUPBOX "Log Options",IDC_STATIC,0,0,304,231 + GROUPBOX "Log options",IDC_STATIC,0,0,304,231 CONTROL "Tree1",IDC_CHAT_CHECKBOXES,"SysTreeView32",TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP | TVS_FULLROWSELECT | WS_BORDER | WS_TABSTOP,8,12,288,88 LTEXT "Your name",IDC_STATIC,8,102,52,8 EDITTEXT IDC_CHAT_OUTSTAMP,8,110,37,12,ES_AUTOHSCROLL @@ -325,7 +325,7 @@ STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - GROUPBOX "Group Chat",IDC_STATIC,0,0,304,229 + GROUPBOX "Group chat",IDC_STATIC,0,0,304,229 CONTROL "Tree1",IDC_CHAT_CHECKBOXES,"SysTreeView32",TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_FULLROWSELECT | WS_BORDER | WS_TABSTOP,8,12,288,132 CONTROL "Use same style as in the message log",IDC_CHAT_RADIO1, "Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,8,149,225,10 @@ -532,9 +532,9 @@ BEGIN POPUP "Log" BEGIN MENUITEM "&Copy", IDM_COPY - MENUITEM "Co&py All", IDM_COPYALL + MENUITEM "Co&py all", IDM_COPYALL MENUITEM SEPARATOR - MENUITEM "Select &All", IDM_SELECTALL + MENUITEM "Select &all", IDM_SELECTALL MENUITEM SEPARATOR POPUP "Word lookup", GRAYED BEGIN @@ -550,7 +550,7 @@ BEGIN MENUITEM "Foodnetwork", IDM_SEARCH_FOODNETWORK END MENUITEM SEPARATOR - MENUITEM "C&lear Log", IDM_CLEAR + MENUITEM "C&lear log", IDM_CLEAR END POPUP "LogLink" BEGIN @@ -565,17 +565,17 @@ BEGIN MENUITEM "Cut", IDM_CUT MENUITEM "Copy", IDM_COPY MENUITEM "Paste", IDM_PASTE - MENUITEM "Paste && Send", IDM_PASTESEND + MENUITEM "Paste && send", IDM_PASTESEND MENUITEM "Delete", IDM_DELETE MENUITEM SEPARATOR - MENUITEM "Select &All", IDM_SELECTALL + MENUITEM "Select &all", IDM_SELECTALL MENUITEM SEPARATOR MENUITEM "Clear", IDM_CLEAR END POPUP "Tabs" BEGIN - MENUITEM "Close Other Tabs", IDM_CLOSEOTHERTABS - MENUITEM "Close Tab", IDM_CLOSETAB + MENUITEM "Close other tabs", IDM_CLOSEOTHERTABS + MENUITEM "Close tab", IDM_CLOSETAB END END diff --git a/plugins/Scriver/src/chat/options.cpp b/plugins/Scriver/src/chat/options.cpp index e81e098f02..f98ebcd74a 100644 --- a/plugins/Scriver/src/chat/options.cpp +++ b/plugins/Scriver/src/chat/options.cpp @@ -457,7 +457,7 @@ INT_PTR CALLBACK DlgProcOptions2(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lPa BROWSEINFO bi = { 0 }; bi.hwndOwner = hwndDlg; bi.pszDisplayName = tszDirectory; - bi.lpszTitle = TranslateT("Select Folder"); + bi.lpszTitle = TranslateT("Select folder"); bi.ulFlags = BIF_NEWDIALOGSTYLE | BIF_EDITBOX | BIF_RETURNONLYFSDIRS; bi.lpfn = BrowseCallbackProc; bi.lParam = (LPARAM)tszDirectory; diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp index 9e5bdf5861..cd4fe12723 100644 --- a/plugins/Scriver/src/chat/window.cpp +++ b/plugins/Scriver/src/chat/window.cpp @@ -111,7 +111,7 @@ static void InitButtons(HWND hwndDlg, SESSION_INFO *si) SendDlgItemMessage(hwndDlg, IDC_CHAT_SHOWNICKLIST, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Show/hide the nick list (CTRL+N)"), 0); SendDlgItemMessage(hwndDlg, IDC_CHAT_CHANMGR, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Control this room (CTRL+O)"), 0); SendDlgItemMessage(hwndDlg, IDC_CHAT_FILTER, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Enable/disable the event filter (CTRL+F)"), 0); - SendDlgItemMessage(hwndDlg, IDOK, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Send Message"), 0); + SendDlgItemMessage(hwndDlg, IDOK, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Send message"), 0); SendDlgItemMessage(hwndDlg, IDC_CHAT_BOLD, BUTTONSETASPUSHBTN, TRUE, 0); SendDlgItemMessage(hwndDlg, IDC_CHAT_ITALICS, BUTTONSETASPUSHBTN, TRUE, 0); @@ -1183,12 +1183,12 @@ static INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR switch (si->iType) { case GCW_CHATROOM: mir_sntprintf(szTemp, SIZEOF(szTemp), - (si->nUsersInNicklist == 1) ? TranslateT("%s: Chat Room (%u user)") : TranslateT("%s: Chat Room (%u users)"), + (si->nUsersInNicklist == 1) ? TranslateT("%s: chat room (%u user)") : TranslateT("%s: chat room (%u users)"), si->ptszName, si->nUsersInNicklist); break; case GCW_PRIVMESS: mir_sntprintf(szTemp, SIZEOF(szTemp), - (si->nUsersInNicklist == 1) ? TranslateT("%s: Message Session") : TranslateT("%s: Message Session (%u users)"), + (si->nUsersInNicklist == 1) ? TranslateT("%s: message session") : TranslateT("%s: message session (%u users)"), si->ptszName, si->nUsersInNicklist); break; case GCW_SERVER: diff --git a/plugins/Scriver/src/input.cpp b/plugins/Scriver/src/input.cpp index 463bd96ce3..2d9ffc91bc 100644 --- a/plugins/Scriver/src/input.cpp +++ b/plugins/Scriver/src/input.cpp @@ -280,7 +280,7 @@ void RegisterKeyBindings() HOTKEYDESC desc = { sizeof(desc) }; desc.pszSection = LPGEN("Messaging"); desc.pszName = "Scriver/Nav/Previous Tab"; - desc.pszDescription = LPGEN("Navigate: Previous Tab"); + desc.pszDescription = LPGEN("Navigate: previous tab"); desc.lParam = KB_PREV_TAB; desc.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL | HOTKEYF_SHIFT, VK_TAB); Hotkey_Register(&desc); @@ -290,7 +290,7 @@ void RegisterKeyBindings() Hotkey_Register(&desc); desc.pszName = "Scriver/Nav/Next Tab"; - desc.pszDescription = LPGEN("Navigate: Next Tab"); + desc.pszDescription = LPGEN("Navigate: next tab"); desc.lParam = KB_NEXT_TAB; desc.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_TAB); Hotkey_Register(&desc); @@ -303,7 +303,7 @@ void RegisterKeyBindings() desc.pszDescription = strDesc; for (int i = 0; i < 9; i++) { mir_snprintf(strName, SIZEOF(strName), "Scriver/Nav/Tab %d", i + 1); - mir_snprintf(strDesc, SIZEOF(strDesc), Translate("Navigate: Tab %d"), i + 1); + mir_snprintf(strDesc, SIZEOF(strDesc), Translate("Navigate: tab %d"), i + 1); desc.lParam = KB_TAB1 + i; desc.DefHotKey = HOTKEYCODE(HOTKEYF_ALT, '1' + i); Hotkey_Register(&desc); diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index a1e9dd0ec7..564bf3b468 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -36,8 +36,8 @@ static void UpdateReadChars(HWND hwndDlg, SrmmWindowData * dat); static ToolbarButton toolbarButtons[] = { {LPGENT("Quote"), IDC_QUOTE, 0, 4, 24}, {LPGENT("Smiley"), IDC_SMILEYS, 0, 10, 24}, - {LPGENT("Add Contact"), IDC_ADD, 0, 10, 24}, - {LPGENT("User Menu"), IDC_USERMENU, 1, 0, 24}, + {LPGENT("Add contact"), IDC_ADD, 0, 10, 24}, + {LPGENT("User menu"), IDC_USERMENU, 1, 0, 24}, {LPGENT("User details"), IDC_DETAILS, 1, 0, 24}, {LPGENT("History"), IDC_HISTORY, 1, 0, 24}, {LPGENT("Send"), IDOK, 1, 0, 38} @@ -798,14 +798,14 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP for (int i = 0; i < SIZEOF(toolbarButtons); i++) SendDlgItemMessage(hwndDlg, toolbarButtons[i].controlId, BUTTONSETASFLATBTN, TRUE, 0); - SendDlgItemMessage(hwndDlg, IDC_ADD, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Add Contact Permanently to List"), 0); - SendDlgItemMessage(hwndDlg, IDC_USERMENU, BUTTONADDTOOLTIP, (WPARAM)LPGEN("User Menu"), 0); - SendDlgItemMessage(hwndDlg, IDC_DETAILS, BUTTONADDTOOLTIP, (WPARAM)LPGEN("View User's Details"), 0); - SendDlgItemMessage(hwndDlg, IDC_HISTORY, BUTTONADDTOOLTIP, (WPARAM)LPGEN("View User's History"), 0); + SendDlgItemMessage(hwndDlg, IDC_ADD, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Add contact permanently to list"), 0); + SendDlgItemMessage(hwndDlg, IDC_USERMENU, BUTTONADDTOOLTIP, (WPARAM)LPGEN("User menu"), 0); + SendDlgItemMessage(hwndDlg, IDC_DETAILS, BUTTONADDTOOLTIP, (WPARAM)LPGEN("View user's details"), 0); + SendDlgItemMessage(hwndDlg, IDC_HISTORY, BUTTONADDTOOLTIP, (WPARAM)LPGEN("View user's history"), 0); - SendDlgItemMessage(hwndDlg, IDC_QUOTE, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Quote Text"), 0); - SendDlgItemMessage(hwndDlg, IDC_SMILEYS, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Insert Emoticon"), 0); - SendDlgItemMessage(hwndDlg, IDOK, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Send Message"), 0); + SendDlgItemMessage(hwndDlg, IDC_QUOTE, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Quote text"), 0); + SendDlgItemMessage(hwndDlg, IDC_SMILEYS, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Insert emoticon"), 0); + SendDlgItemMessage(hwndDlg, IDOK, BUTTONADDTOOLTIP, (WPARAM)LPGEN("Send message"), 0); SendDlgItemMessage(hwndDlg, IDC_LOG, EM_SETOLECALLBACK, 0, (LPARAM)&reOleCallback); SendDlgItemMessage(hwndDlg, IDC_LOG, EM_SETEVENTMASK, 0, ENM_MOUSEEVENTS | ENM_LINK | ENM_KEYEVENTS); @@ -1059,7 +1059,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING *)lParam; char idbuf[128], buf[128]; GetContactUniqueId(dat, idbuf, sizeof(idbuf)); - mir_snprintf(buf, SIZEOF(buf), Translate("User Menu - %s"), idbuf); + mir_snprintf(buf, SIZEOF(buf), Translate("User menu - %s"), idbuf); SendDlgItemMessage(hwndDlg, IDC_USERMENU, BUTTONADDTOOLTIP, (WPARAM)buf, 0); if (!cws || (!strcmp(cws->szModule, dat->szProto) && !strcmp(cws->szSetting, "Status"))) diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp index a5f6297500..c5d48279bb 100644 --- a/plugins/Scriver/src/msglog.cpp +++ b/plugins/Scriver/src/msglog.cpp @@ -119,7 +119,7 @@ TCHAR* GetNickname(MCONTACT hContact, const char *szProto) if (tszBaseNick != NULL) return mir_tstrdup(tszBaseNick); - return mir_tstrdup(TranslateT("Unknown Contact")); + return mir_tstrdup(TranslateT("Unknown contact")); } int DbEventIsCustomForMsgWindow(DBEVENTINFO *dbei) @@ -230,13 +230,13 @@ static EventData* GetTestEvents() prevEvent = evt; evt = GetTestEvent(0); - evt->pszNickT = mir_tstrdup(TranslateT("My Contact")); + evt->pszNickT = mir_tstrdup(TranslateT("My contact")); evt->pszTextT = mir_tstrdup(TranslateT("Lorem ipsum dolor sit amet,")); prevEvent->next = evt; prevEvent = evt; evt = GetTestEvent(0); - evt->pszNickT = mir_tstrdup(TranslateT("My Contact")); + evt->pszNickT = mir_tstrdup(TranslateT("My contact")); evt->pszTextT = mir_tstrdup(TranslateT("consectetur adipisicing elit")); prevEvent->next = evt; prevEvent = evt; diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp index 89b837e0bc..b3f39905d5 100644 --- a/plugins/Scriver/src/msgoptions.cpp +++ b/plugins/Scriver/src/msgoptions.cpp @@ -41,9 +41,9 @@ static const TabDef tabPages[] = { { DlgProcOptions, IDD_OPT_MSGDLG, LPGEN("General") }, { DlgProcTabsOptions, IDD_OPT_MSGTABS, LPGEN("Tabs") }, { DlgProcLayoutOptions, IDD_OPT_LAYOUT, LPGEN("Layout") }, - { DlgProcLogOptions, IDD_OPT_MSGLOG, LPGEN("Event Log") }, - { DlgProcOptions1, IDD_OPTIONS1, LPGEN("Group Chat") }, - { DlgProcOptions2, IDD_OPTIONS2, LPGEN("Group Chat Log") } + { DlgProcLogOptions, IDD_OPT_MSGLOG, LPGEN("Event log") }, + { DlgProcOptions1, IDD_OPTIONS1, LPGEN("Group chat") }, + { DlgProcOptions2, IDD_OPTIONS2, LPGEN("Group chat log") } }; #define FONTF_BOLD 1 @@ -955,7 +955,7 @@ int OptInitialise(WPARAM wParam, LPARAM) OPTIONSDIALOGPAGE odp = { sizeof(odp) }; odp.position = 910000000; odp.hInstance = g_hInst; - odp.pszTitle = LPGEN("Message Sessions"); + odp.pszTitle = LPGEN("Message sessions"); odp.flags = ODPF_BOLDGROUPS; for (int i = 0; i < SIZEOF(tabPages); i++) { odp.pszTemplate = MAKEINTRESOURCEA(tabPages[i].dlgId); @@ -965,8 +965,8 @@ int OptInitialise(WPARAM wParam, LPARAM) } odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_MSGTYPE); - odp.pszGroup = LPGEN("Message Sessions"); - odp.pszTitle = LPGEN("Typing Notify"); + odp.pszGroup = LPGEN("Message sessions"); + odp.pszTitle = LPGEN("Typing notify"); odp.pfnDlgProc = DlgProcTypeOptions; odp.pszTab = NULL; Options_AddPage(wParam, &odp); diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 1bd21e47dd..910a7ee1dd 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -213,7 +213,7 @@ static int TypingMessage(WPARAM hContact, LPARAM lParam) MIRANDASYSTRAYNOTIFY tn; tn.szProto = NULL; tn.cbSize = sizeof(tn); - tn.tszInfoTitle = TranslateT("Typing Notification"); + tn.tszInfoTitle = TranslateT("Typing notification"); tn.tszInfo = szTip; tn.dwInfoFlags = NIIF_INFO | NIIF_INTERN_UNICODE; tn.uTimeout = 1000 * 4; @@ -563,9 +563,9 @@ int OnLoadModule(void) hHookWinPopup = CreateHookableEvent(ME_MSG_WINDOWPOPUP); hHookWinWrite = CreateHookableEvent(ME_MSG_PRECREATEEVENT); - SkinAddNewSoundEx("RecvMsgActive", LPGEN("Instant messages"), LPGEN("Incoming (Focused Window)")); - SkinAddNewSoundEx("RecvMsgInactive", LPGEN("Instant messages"), LPGEN("Incoming (Unfocused Window)")); - SkinAddNewSoundEx("AlertMsg", LPGEN("Instant messages"), LPGEN("Incoming (New Session)")); + SkinAddNewSoundEx("RecvMsgActive", LPGEN("Instant messages"), LPGEN("Incoming (focused window)")); + SkinAddNewSoundEx("RecvMsgInactive", LPGEN("Instant messages"), LPGEN("Incoming (unfocused window)")); + SkinAddNewSoundEx("AlertMsg", LPGEN("Instant messages"), LPGEN("Incoming (new session)")); SkinAddNewSoundEx("SendMsg", LPGEN("Instant messages"), LPGEN("Outgoing")); SkinAddNewSoundEx("TNStart", LPGEN("Instant messages"), LPGEN("Contact started typing")); SkinAddNewSoundEx("TNStop", LPGEN("Instant messages"), LPGEN("Contact stopped typing")); diff --git a/plugins/Scriver/src/msgtimedout.cpp b/plugins/Scriver/src/msgtimedout.cpp index 26ebcdd992..79915a1e22 100644 --- a/plugins/Scriver/src/msgtimedout.cpp +++ b/plugins/Scriver/src/msgtimedout.cpp @@ -50,9 +50,9 @@ INT_PTR CALLBACK ErrorDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar SendDlgItemMessage(hwndDlg, IDC_MSGTEXT, EM_SETTEXTEX, (WPARAM)&st, (LPARAM)ewd->szText); } if (ewd->szName) - mir_sntprintf(szText, SIZEOF(szText), _T("%s - %s"), TranslateT("Send Error"), ewd->szName); + mir_sntprintf(szText, SIZEOF(szText), _T("%s - %s"), TranslateT("Send error"), ewd->szName); else - _tcsncpy_s(szText, TranslateT("Send Error"), _TRUNCATE); + _tcsncpy_s(szText, TranslateT("Send error"), _TRUNCATE); SetWindowText(hwndDlg, szText); GetWindowRect(hwndDlg, &rc); diff --git a/plugins/Scriver/src/msgwindow.cpp b/plugins/Scriver/src/msgwindow.cpp index a65d4d5b1a..542525c96b 100644 --- a/plugins/Scriver/src/msgwindow.cpp +++ b/plugins/Scriver/src/msgwindow.cpp @@ -42,7 +42,7 @@ TCHAR* GetWindowTitle(MCONTACT hContact, const char *szProto) TCHAR* tokens[4] = { 0 }; size_t tokenLen[4] = { 0 }; TCHAR *p, *tmplt; - TCHAR *pszNewTitleEnd = mir_tstrdup(TranslateT("Message Session")); + TCHAR *pszNewTitleEnd = mir_tstrdup(TranslateT("Message session")); int isTemplate = 0; if (hContact && szProto) { tokens[0] = GetNickname(hContact, szProto); @@ -793,10 +793,10 @@ INT_PTR CALLBACK DlgProcParentWindow(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR hMenu = GetSystemMenu(hwndDlg, FALSE); InsertMenu(hMenu, 0, MF_BYPOSITION | MF_SEPARATOR, 0, NULL); if (dat->bTopmost) { - InsertMenu(hMenu, 0, MF_BYPOSITION | MF_ENABLED | MF_CHECKED | MF_STRING, IDM_TOPMOST, TranslateT("Always On Top")); + InsertMenu(hMenu, 0, MF_BYPOSITION | MF_ENABLED | MF_CHECKED | MF_STRING, IDM_TOPMOST, TranslateT("Always on top")); SetWindowPos(hwndDlg, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); } - else InsertMenu(hMenu, 0, MF_BYPOSITION | MF_ENABLED | MF_UNCHECKED | MF_STRING, IDM_TOPMOST, TranslateT("Always On Top")); + else InsertMenu(hMenu, 0, MF_BYPOSITION | MF_ENABLED | MF_UNCHECKED | MF_STRING, IDM_TOPMOST, TranslateT("Always on top")); } return TRUE; @@ -940,7 +940,7 @@ INT_PTR CALLBACK DlgProcParentWindow(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR TranslateMenu(hSubMenu); HMENU hUserMenu = (HMENU)SendMessage(mwtd->hwnd, DM_GETCONTEXTMENU, 0, 0); if (hUserMenu != NULL) { - InsertMenu(hSubMenu, 0, MF_POPUP | MF_BYPOSITION, (UINT_PTR)hUserMenu, TranslateT("User Menu")); + InsertMenu(hSubMenu, 0, MF_POPUP | MF_BYPOSITION, (UINT_PTR)hUserMenu, TranslateT("User menu")); InsertMenu(hSubMenu, 1, MF_SEPARATOR | MF_BYPOSITION, 0, 0); } BOOL menuResult = TrackPopupMenu(hSubMenu, TPM_RETURNCMD, x, y, 0, hwndDlg, NULL); -- cgit v1.2.3