From a9003f1e9a8b4ac87a94a79882daca1e559b38b3 Mon Sep 17 00:00:00 2001 From: Dart Raiden Date: Tue, 6 Jan 2015 17:40:04 +0000 Subject: TabSRMM: partial decapitalization (I tried not to broke any of the database settings) git-svn-id: http://svn.miranda-ng.org/main/trunk@11780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/res/chat.rc | 2 +- plugins/TabSRMM/res/resource.rc | 186 ++++++++++++++-------------- plugins/TabSRMM/src/buttonsbar.cpp | 8 +- plugins/TabSRMM/src/container.cpp | 4 +- plugins/TabSRMM/src/controls.cpp | 2 +- plugins/TabSRMM/src/eventpopups.cpp | 2 +- plugins/TabSRMM/src/generic_msghandlers.cpp | 8 +- plugins/TabSRMM/src/globals.cpp | 10 +- plugins/TabSRMM/src/hotkeyhandler.cpp | 4 +- plugins/TabSRMM/src/infopanel.cpp | 16 +-- plugins/TabSRMM/src/mim.cpp | 2 +- plugins/TabSRMM/src/msgdialog.cpp | 6 +- plugins/TabSRMM/src/msgdlgutils.cpp | 10 +- plugins/TabSRMM/src/msgoptions.cpp | 6 +- plugins/TabSRMM/src/sendlater.cpp | 2 +- plugins/TabSRMM/src/trayicon.cpp | 2 +- plugins/TabSRMM/src/userprefs.cpp | 16 +-- plugins/TabSRMM/src/utils.cpp | 2 +- 18 files changed, 144 insertions(+), 144 deletions(-) (limited to 'plugins') diff --git a/plugins/TabSRMM/res/chat.rc b/plugins/TabSRMM/res/chat.rc index 6e260f305f..a4078e68a2 100644 --- a/plugins/TabSRMM/res/chat.rc +++ b/plugins/TabSRMM/res/chat.rc @@ -143,7 +143,7 @@ BEGIN GROUPBOX "Default settings for known event types",IDC_STATIC,7,5,293,153 LTEXT "Show when filter is active",IDC_STATIC,12,14,119,13,SS_CENTERIMAGE CTEXT "Log to file",IDC_TEXTO4,234,13,64,13,SS_CENTERIMAGE - CTEXT "Show Popup",IDC_TEXTO2,131,13,49,13,SS_CENTERIMAGE + CTEXT "Show popup",IDC_TEXTO2,131,13,49,13,SS_CENTERIMAGE CTEXT "Notify in tray",IDC_TEXTO3,183,13,49,13,SS_CENTERIMAGE CONTROL "Actions",IDC_1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,32,28,110,10 CONTROL "Messages",IDC_2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,32,38,110,10 diff --git a/plugins/TabSRMM/res/resource.rc b/plugins/TabSRMM/res/resource.rc index 73fbc57d30..0f32dcea3c 100644 --- a/plugins/TabSRMM/res/resource.rc +++ b/plugins/TabSRMM/res/resource.rc @@ -41,8 +41,8 @@ BEGIN LTEXT "Use global or private panel height",IDC_STATIC,10,42,128,10 COMBOBOX IDC_PANELSIZE,149,39,118,16,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP GROUPBOX "Set size to",IDC_GROUP_SIZE,5,59,271,45 - PUSHBUTTON "Compact (1 Line)",IDC_SIZECOMPACT,10,71,84,14 - PUSHBUTTON "Normal (2 Lines)",IDC_SIZENORMAL,98,71,84,14 + PUSHBUTTON "Compact (1 line)",IDC_SIZECOMPACT,10,71,84,14 + PUSHBUTTON "Normal (2 lines)",IDC_SIZENORMAL,98,71,84,14 PUSHBUTTON "Large",IDC_SIZELARGE,187,71,84,14 LTEXT "Tip: To use a custom size you can always drag the bottom edge of the panel",IDC_SIZE_TIP,11,89,255,12 GROUPBOX "Other options",IDC_GROUP_OTHER,5,105,271,39 @@ -83,7 +83,7 @@ BEGIN CONTROL "",IDC_MESSAGEPREVIEWLIMITSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,196,123,9,13 LTEXT "characters",IDC_STATIC,210,124,89,10 PUSHBUTTON "Only show event notifications when my status is...",IDC_POPUPSTATUSMODES,11,139,292,15 - GROUPBOX "Popup Options",IDC_STATIC,3,158,310,97 + GROUPBOX "Popup options",IDC_STATIC,3,158,310,97 LTEXT "Text",IDC_STATIC,60,167,23,8 LTEXT "Background",IDC_STATIC,86,167,47,8 CTEXT "Timeout (seconds, 0 = default, -1 = no timeout)",IDC_STATIC,134,167,168,8 @@ -157,10 +157,10 @@ BEGIN LTEXT "Select how to display the message log. This setting can be ignored when one of the listed plugins is not installed.",IDC_STATIC,143,17,164,24 GROUPBOX "Send text formatting method",IDC_STATIC,4,45,310,33 COMBOBOX IDC_TEXTFORMATTING,8,57,128,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - LTEXT "You can override the global setting for text formatting here. Use ""Force Off"" to never send formatting info for this contact.",IDC_STATIC,143,52,164,24 + LTEXT "You can override the global setting for text formatting here. Use ""Force off"" to never send formatting info for this contact.",IDC_STATIC,143,52,164,24 GROUPBOX "ANSI codepage",IDC_STATIC,4,82,310,32 COMBOBOX IDC_CODEPAGES,8,94,128,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP - LTEXT "Codepage for ANSI encoding/decoding when sending or receiving non-unicode messages.",IDC_STATIC,143,87,164,24 + LTEXT "Codepage for ANSI encoding/decoding when sending or receiving non-Unicode messages.",IDC_STATIC,143,87,164,24 GROUPBOX "Other options",IDC_STATIC,4,118,310,142 LTEXT "Info panel mode",IDC_STATIC,12,128,128,8 COMBOBOX IDC_INFOPANEL,9,138,130,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP @@ -294,7 +294,7 @@ BEGIN GROUPBOX "Template sets",IDC_STMSGLOGGROUP,3,138,300,26 PUSHBUTTON "Standard templates...",IDC_MODIFY,27,147,95,14 PUSHBUTTON "RTL templates...",IDC_RTLMODIFY,178,147,95,14 - GROUPBOX "Load History Events",IDC_STATIC,3,168,300,57 + GROUPBOX "Load history events",IDC_STATIC,3,168,300,57 CONTROL "Load unread events only",IDC_LOADUNREAD,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,10,177,135,10 CONTROL "Load number of previous events",IDC_LOADCOUNT,"Button",BS_AUTORADIOBUTTON,10,188,138,10 CONTROL "Load previous events less than",IDC_LOADTIME,"Button",BS_AUTORADIOBUTTON,10,200,138,10 @@ -316,7 +316,7 @@ IDD_OPT_MSGTYPE DIALOGEX 0, 0, 283, 251 STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - GROUPBOX "Typing Notification",IDC_STATIC,7,0,269,121 + GROUPBOX "Typing notification",IDC_STATIC,7,0,269,121 LTEXT "Send typing notifications to the following users when you are typing a message to them:",IDC_STATIC,19,10,245,19 CONTROL "",IDC_CLIST,"CListControl",WS_TABSTOP | 0x3da,18,29,248,88,WS_EX_CLIENTEDGE GROUPBOX " Show typing notifications in the message window",IDC_STATIC,7,124,269,25 @@ -383,7 +383,7 @@ BEGIN RTEXT "Gap between buttons:",IDC_STATIC,136,183,104,12,SS_CENTERIMAGE CONTROL "Hide if there isn't enough space",IDC_CANBEHIDDEN, "Button",BS_AUTOCHECKBOX | BS_VCENTER | BS_MULTILINE | WS_TABSTOP,4,209,131,17 - PUSHBUTTON "Insert Separator",IDC_SEPARATOR,137,211,103,15,BS_MULTILINE + PUSHBUTTON "Insert separator",IDC_SEPARATOR,137,211,103,15,BS_MULTILINE END IDD_OPT_CONTAINERS DIALOGEX 0, 0, 303, 221 @@ -466,7 +466,7 @@ BEGIN CONTROL "",IDC_PREVIEW,"RichEdit50W",WS_VSCROLL | WS_TABSTOP | 0x844,122,14,236,80 GROUPBOX "Edit template",IDC_STATIC,3,99,363,129 EDITTEXT IDC_EDITTEMPLATE,11,109,344,14,ES_AUTOHSCROLL - LTEXT "Double click a template to edit it. Select a template from the list box and click ""Update Preview"" to show a preview message.",IDC_STATIC,11,126,342,26 + LTEXT "Double click a template to edit it. Select a template from the list box and click ""Update preview"" to show a preview message.",IDC_STATIC,11,126,342,26 CONTROL "Get more help on variables",IDC_VARIABLESHELP,"Hyperlink",WS_TABSTOP | 0x1,13,157,148,10 LTEXT "Define up to 5 colors which you can use with some variables",IDC_STATIC,12,193,174,17 CONTROL "",IDC_COLOR1,"ColourPicker",WS_TABSTOP,11,213,24,13 @@ -475,10 +475,10 @@ BEGIN CONTROL "",IDC_COLOR4,"ColourPicker",WS_TABSTOP,107,213,24,13 CONTROL "",IDC_COLOR5,"ColourPicker",WS_TABSTOP,139,213,24,13 PUSHBUTTON "Close",IDCANCEL,200,211,66,15 - PUSHBUTTON "Update Preview",IDC_UPDATEPREVIEW,268,154,90,15 - PUSHBUTTON "Save Template",IDC_SAVETEMPLATE,268,173,90,15 + PUSHBUTTON "Update preview",IDC_UPDATEPREVIEW,268,154,90,15 + PUSHBUTTON "Save template",IDC_SAVETEMPLATE,268,173,90,15 PUSHBUTTON "Forget",IDC_FORGET,268,192,90,15 - PUSHBUTTON "Revert to Default",IDC_REVERT,268,211,90,15 + PUSHBUTTON "Revert to default",IDC_REVERT,268,211,90,15 PUSHBUTTON "Reset all templates...",IDC_RESETALLTEMPLATES,171,154,90,15 END @@ -586,13 +586,13 @@ BEGIN CONTROL "Indent message body",IDC_UPREFS_INDENT,"Button",BS_AUTO3STATE | WS_TABSTOP,15,154,136,11 CONTROL "Display grid lines",IDC_UPREFS_GRID,"Button",BS_AUTO3STATE | WS_TABSTOP,15,167,136,11 CONTROL "Message grouping",IDC_UPREFS_GROUPING,"Button",BS_AUTO3STATE | WS_TABSTOP,155,154,150,11 - CONTROL "Support BBCODE",IDC_UPREFS_BBCODE,"Button",BS_AUTO3STATE | WS_TABSTOP,155,167,150,11 + CONTROL "Support BBCode",IDC_UPREFS_BBCODE,"Button",BS_AUTO3STATE | WS_TABSTOP,155,167,150,11 GROUPBOX "Misc",IDC_STATIC,8,186,302,52 CONTROL "RTL is default text direction",IDC_UPREFS_RTL,"Button",BS_AUTO3STATE | WS_TABSTOP,15,196,290,11 CONTROL "Log status changes (in open message windows only)",IDC_UPREFS_LOGSTATUS, "Button",BS_AUTO3STATE | WS_TABSTOP,15,210,290,11 PUSHBUTTON "Revert to global options",IDC_REVERTGLOBAL,62,242,191,18 - LTEXT "You can set private message log options for this contact here. Filled boxes are inherited from the global settings which can be found on Message Sessions->Message Log",IDC_STATIC,16,4,296,28 + LTEXT "You can set private message log options for this contact here. Filled boxes are inherited from the global settings which can be found on Message sessions->Message log",IDC_STATIC,16,4,296,28 CONTROL "Use normal templates (uncheck to use simple templates)",IDC_UPREFS_NORMALTEMPLATES, "Button",BS_AUTO3STATE | WS_TABSTOP,15,224,290,11 END @@ -703,11 +703,11 @@ BEGIN BEGIN MENUITEM "&Copy", IDM_COPY MENUITEM "&Quote", IDM_QUOTE - MENUITEM "Co&py All", IDM_COPYALL - MENUITEM "Select &All", IDM_SELECTALL + MENUITEM "Co&py all", IDM_COPYALL + MENUITEM "Select &all", IDM_SELECTALL MENUITEM SEPARATOR - MENUITEM "Clear Log", IDM_CLEAR - MENUITEM "Freeze Log", ID_LOG_FREEZELOG + MENUITEM "Clear log", IDM_CLEAR + MENUITEM "Freeze log", ID_LOG_FREEZELOG END POPUP "LogLink" BEGIN @@ -720,13 +720,13 @@ BEGIN MENUITEM "Cut", IDM_CUT MENUITEM "Copy", IDM_COPY MENUITEM "Paste", IDM_PASTE - MENUITEM "Paste formatted Text", IDM_PASTEFORMATTED - MENUITEM "Paste and Send immediately", ID_EDITOR_PASTEANDSENDIMMEDIATELY + MENUITEM "Paste formatted text", IDM_PASTEFORMATTED + MENUITEM "Paste and send immediately", ID_EDITOR_PASTEANDSENDIMMEDIATELY MENUITEM SEPARATOR MENUITEM "Copy all", IDM_COPYALL MENUITEM "Select all", IDM_SELECTALL MENUITEM SEPARATOR - MENUITEM "Show Message Length Indicator", ID_EDITOR_SHOWMESSAGELENGTHINDICATOR + MENUITEM "Show message length indicator", ID_EDITOR_SHOWMESSAGELENGTHINDICATOR END END @@ -734,97 +734,97 @@ IDR_TABCONTEXT MENU BEGIN POPUP "Tabmenu" BEGIN - MENUITEM "Close Tab", ID_TABMENU_CLOSETAB - MENUITEM "Close Other Tabs", ID_TABMENU_CLOSEOTHERTABS + MENUITEM "Close tab", ID_TABMENU_CLOSETAB + MENUITEM "Close other tabs", ID_TABMENU_CLOSEOTHERTABS MENUITEM SEPARATOR - MENUITEM "Leave Chat Room", ID_TABMENU_LEAVECHATROOM + MENUITEM "Leave chat room", ID_TABMENU_LEAVECHATROOM MENUITEM SEPARATOR - MENUITEM "Save Tab Position", ID_TABMENU_SAVETABPOSITION - MENUITEM "Clear saved Tab Position", ID_TABMENU_CLEARSAVEDTABPOSITION + MENUITEM "Save tab position", ID_TABMENU_SAVETABPOSITION + MENUITEM "Clear saved tab position", ID_TABMENU_CLEARSAVEDTABPOSITION MENUITEM SEPARATOR - MENUITEM "Attach to Container...", ID_TABMENU_ATTACHTOCONTAINER + MENUITEM "Attach to container...", ID_TABMENU_ATTACHTOCONTAINER MENUITEM "Container options...", ID_TABMENU_CONTAINEROPTIONS MENUITEM SEPARATOR - MENUITEM "Close Container", ID_TABMENU_CLOSECONTAINER + MENUITEM "Close container", ID_TABMENU_CLOSECONTAINER END POPUP "Picmenu" BEGIN - POPUP "Show Contact Picture" + POPUP "Show contact picture" BEGIN MENUITEM "Default", ID_VISIBILITY_DEFAULT - MENUITEM "Hidden for this Contact", ID_VISIBILITY_HIDDENFORTHISCONTACT - MENUITEM "Visible for this Contact", ID_VISIBILITY_VISIBLEFORTHISCONTACT + MENUITEM "Hidden for this contact", ID_VISIBILITY_HIDDENFORTHISCONTACT + MENUITEM "Visible for this contact", ID_VISIBILITY_VISIBLEFORTHISCONTACT END MENUITEM SEPARATOR - MENUITEM "Contact Picture Settings...", ID_PICMENU_SETTINGS + MENUITEM "Contact picture settings...", ID_PICMENU_SETTINGS MENUITEM "Always keep the button bar at full width", ID_PICMENU_ALWAYSKEEPTHEBUTTONBARATFULLWIDTH - MENUITEM "Save this Picture As...", ID_PICMENU_SAVETHISPICTUREAS + MENUITEM "Save this picture as...", ID_PICMENU_SAVETHISPICTUREAS END POPUP "Logmenu" BEGIN - POPUP "&Message Log Settings" + POPUP "&Message log settings" BEGIN MENUITEM "&Global...", ID_MESSAGELOGSETTINGS_GLOBAL - MENUITEM "&For this Contact...", ID_MESSAGELOGSETTINGS_FORTHISCONTACT + MENUITEM "&For this contact...", ID_MESSAGELOGSETTINGS_FORTHISCONTACT END END POPUP "Sendmenu" BEGIN - MENUITEM "Send &Default", ID_SENDMENU_SENDDEFAULT - MENUITEM "Send to &multiple Users", ID_SENDMENU_SENDTOMULTIPLEUSERS - MENUITEM "Send to &Container", ID_SENDMENU_SENDTOCONTAINER - MENUITEM "Send &Later", ID_SENDMENU_SENDLATER + MENUITEM "Send &default", ID_SENDMENU_SENDDEFAULT + MENUITEM "Send to &multiple users", ID_SENDMENU_SENDTOMULTIPLEUSERS + MENUITEM "Send to &container", ID_SENDMENU_SENDTOCONTAINER + MENUITEM "Send &later", ID_SENDMENU_SENDLATER MENUITEM SEPARATOR MENUITEM "Force &ANSI", ID_SENDMENU_FORCEANSISEND - MENUITEM "Send unsafe (ignore Timeouts)", ID_SENDMENU_SENDWITHOUTTIMEOUTS + MENUITEM "Send unsafe (ignore timeouts)", ID_SENDMENU_SENDWITHOUTTIMEOUTS MENUITEM SEPARATOR - MENUITEM "Send Nudge", ID_SENDMENU_SENDNUDGE + MENUITEM "Send nudge", ID_SENDMENU_SENDNUDGE END POPUP "Protomenu" BEGIN - POPUP "Splitter Position" + POPUP "Splitter position" BEGIN MENUITEM "Global", ID_MODE_GLOBAL MENUITEM "Private", ID_MODE_PRIVATE END MENUITEM SEPARATOR - POPUP "Send Text Formatting" + POPUP "Send text formatting" BEGIN POPUP "Global" BEGIN MENUITEM "BBCode", ID_GLOBAL_BBCODE MENUITEM "Off", ID_GLOBAL_OFF END - POPUP "This Contact" + POPUP "This contact" BEGIN - MENUITEM "Global Setting", ID_THISCONTACT_GLOBALSETTING + MENUITEM "Global setting", ID_THISCONTACT_GLOBALSETTING MENUITEM "BBCode", ID_THISCONTACT_BBCODE - MENUITEM "Force Off", ID_THISCONTACT_OFF + MENUITEM "Force off", ID_THISCONTACT_OFF END END END - POPUP "Unread Menu" + POPUP "Unread menu" BEGIN MENUITEM SEPARATOR END POPUP "Traycontext" BEGIN - MENUITEM "Recent Sessions", 0 + MENUITEM "Recent sessions", 0 MENUITEM SEPARATOR MENUITEM "Favorites", 0 MENUITEM SEPARATOR - MENUITEM "Show the Tray Icon", ID_TRAYCONTEXT_SHOWTHETRAYICON + MENUITEM "Show the tray icon", ID_TRAYCONTEXT_SHOWTHETRAYICON MENUITEM SEPARATOR - MENUITEM "Disable All Event Notifications", ID_TRAYCONTEXT_DISABLEALLPOPUPS - MENUITEM "Don't create Windows automatically", ID_TRAYCONTEXT_DON - MENUITEM "Hide all Message Containers", ID_TRAYCONTEXT_HIDEALLMESSAGECONTAINERS - MENUITEM "Restore all Message Containers", ID_TRAYCONTEXT_RESTOREALLMESSAGECONTAINERS - MENUITEM "Don't play Sounds", ID_TRAYCONTEXT_DON40223 - MENUITEM "Be ""Super Quiet""", ID_TRAYCONTEXT_BE + MENUITEM "Disable all event notifications", ID_TRAYCONTEXT_DISABLEALLPOPUPS + MENUITEM "Don't create windows automatically", ID_TRAYCONTEXT_DON + MENUITEM "Hide all message containers", ID_TRAYCONTEXT_HIDEALLMESSAGECONTAINERS + MENUITEM "Restore all message containers", ID_TRAYCONTEXT_RESTOREALLMESSAGECONTAINERS + MENUITEM "Don't play sounds", ID_TRAYCONTEXT_DON40223 + MENUITEM "Be ""super quiet""", ID_TRAYCONTEXT_BE END POPUP "Font" BEGIN - MENUITEM "Default Color", ID_FONT_DEFAULTCOLOR + MENUITEM "Default color", ID_FONT_DEFAULTCOLOR MENUITEM "Red", ID_FONT_RED MENUITEM "Green", ID_FONT_GREEN MENUITEM "Blue", ID_FONT_BLUE @@ -834,16 +834,16 @@ BEGIN MENUITEM "Black", ID_FONT_BLACK MENUITEM "White", ID_FONT_WHITE MENUITEM SEPARATOR - MENUITEM "Clear all Formatting", ID_FONT_CLEARALLFORMATTING + MENUITEM "Clear all formatting", ID_FONT_CLEARALLFORMATTING END POPUP "Dummy", INACTIVE BEGIN - MENUITEM "No Message Sessions opened", ID_DUMMY_NOMESSAGESESSIONSOPENED + MENUITEM "No message sessions opened", ID_DUMMY_NOMESSAGESESSIONSOPENED END POPUP "Favorites" BEGIN - MENUITEM "Add Contact to Favorites", ID_FAVORITES_ADDCONTACTTOFAVORITES - MENUITEM "Remove Contact from Favorites", ID_FAVORITES_REMOVECONTACTFROMFAVORITES + MENUITEM "Add contact to favorites", ID_FAVORITES_ADDCONTACTTOFAVORITES + MENUITEM "Remove contact from favorites", ID_FAVORITES_REMOVECONTACTFROMFAVORITES END POPUP "Apparentmenu" BEGIN @@ -852,29 +852,29 @@ BEGIN POPUP "Panelpicmenu" BEGIN MENUITEM SEPARATOR - MENUITEM "Contact Picture Settings...", ID_PICMENU_SETTINGS - MENUITEM "Save this Picture As...", ID_PANELPICMENU_SAVETHISPICTUREAS + MENUITEM "Contact picture settings...", ID_PICMENU_SETTINGS + MENUITEM "Save this picture as...", ID_PANELPICMENU_SAVETHISPICTUREAS END POPUP "Splitter context" BEGIN - MENUITEM "Set Position for this Session", ID_SPLITTERCONTEXT_SETPOSITIONFORTHISSESSION + MENUITEM "Set position for this session", ID_SPLITTERCONTEXT_SETPOSITIONFORTHISSESSION MENUITEM SEPARATOR - MENUITEM "Set and Save for all Sessions", ID_SPLITTERCONTEXT_SAVEGLOBALFORALLSESSIONS - MENUITEM "Set and Save for this Contact only", ID_SPLITTERCONTEXT_SAVEFORTHISCONTACTONLY + MENUITEM "Set and save for all sessions", ID_SPLITTERCONTEXT_SAVEGLOBALFORALLSESSIONS + MENUITEM "Set and save for this contact only", ID_SPLITTERCONTEXT_SAVEFORTHISCONTACTONLY MENUITEM SEPARATOR - MENUITEM "Revert to old Position", ID_SPLITTERCONTEXT_FORGETTHECHANGES + MENUITEM "Revert to old position", ID_SPLITTERCONTEXT_FORGETTHECHANGES END POPUP "Queue manager" BEGIN - MENUITEM "Mark Selected for Removal", ID_QUEUEMANAGER_MARKSELECTEDFORREMOVAL - MENUITEM "Reset Selected", ID_QUEUEMANAGER_RESETSELECTED + MENUITEM "Mark selected for removal", ID_QUEUEMANAGER_MARKSELECTEDFORREMOVAL + MENUITEM "Reset selected", ID_QUEUEMANAGER_RESETSELECTED MENUITEM SEPARATOR - MENUITEM "Hold Selected", ID_QUEUEMANAGER_HOLDSELECTED - MENUITEM "Resume Selected", ID_QUEUEMANAGER_RESUMESELECTED + MENUITEM "Hold selected", ID_QUEUEMANAGER_HOLDSELECTED + MENUITEM "Resume selected", ID_QUEUEMANAGER_RESUMESELECTED MENUITEM SEPARATOR - MENUITEM "Cancel all Multisend Jobs", ID_QUEUEMANAGER_CANCELALLMULTISENDJOBS + MENUITEM "Cancel all multisend jobs", ID_QUEUEMANAGER_CANCELALLMULTISENDJOBS MENUITEM SEPARATOR - MENUITEM "Copy Message to Clipboard", ID_QUEUEMANAGER_COPYMESSAGETOCLIPBOARD, INACTIVE + MENUITEM "Copy message to clipboard", ID_QUEUEMANAGER_COPYMESSAGETOCLIPBOARD, INACTIVE END END @@ -882,59 +882,59 @@ IDR_MENUBAR MENU BEGIN POPUP "&File" BEGIN - MENUITEM "Save Message Log As...", ID_FILE_SAVEMESSAGELOGAS + MENUITEM "Save message log as...", ID_FILE_SAVEMESSAGELOGAS MENUITEM SEPARATOR - MENUITEM "Close Message Session\tCtrl-W", ID_FILE_CLOSEMESSAGESESSION - MENUITEM "Close Container\tAlt-F4", ID_FILE_CLOSE + MENUITEM "Close message session\tCtrl-W", ID_FILE_CLOSEMESSAGESESSION + MENUITEM "Close container\tAlt-F4", ID_FILE_CLOSE END POPUP "&View" BEGIN - MENUITEM "Show Menu Bar", ID_VIEW_SHOWMENUBAR - MENUITEM "Show Status Bar", ID_VIEW_SHOWSTATUSBAR - MENUITEM "Info Panel...", ID_VIEW_INFOPANEL + MENUITEM "Show menu bar", ID_VIEW_SHOWMENUBAR + MENUITEM "Show status bar", ID_VIEW_SHOWSTATUSBAR + MENUITEM "Info panel...", ID_VIEW_INFOPANEL POPUP "Toolbar" BEGIN MENUITEM "Show toolbar", ID_VIEW_SHOWTOOLBAR MENUITEM "Place toolbar at bottom", ID_VIEW_BOTTOMTOOLBAR END - MENUITEM "Title Bar", ID_VIEW_SHOWTITLEBAR + MENUITEM "Title bar", ID_VIEW_SHOWTITLEBAR MENUITEM "Tabs at the bottom", ID_VIEW_TABSATBOTTOM MENUITEM "Vertical maximize", ID_VIEW_VERTICALMAXIMIZE MENUITEM SEPARATOR - POPUP "Window Flashing" + POPUP "Window flashing" BEGIN - MENUITEM "Use default Value", ID_WINDOWFLASHING_USEDEFAULTVALUES + MENUITEM "Use default value", ID_WINDOWFLASHING_USEDEFAULTVALUES MENUITEM "Flash until focused", ID_WINDOWFLASHING_FLASHUNTILFOCUSED MENUITEM "Disable flashing", ID_WINDOWFLASHING_DISABLEFLASHING END MENUITEM SEPARATOR - MENUITEM "Show Multisend Contact List", ID_VIEW_SHOWMULTISENDCONTACTLIST + MENUITEM "Show multisend contact list", ID_VIEW_SHOWMULTISENDCONTACTLIST MENUITEM SEPARATOR - MENUITEM "Stay on Top", ID_VIEW_STAYONTOP + MENUITEM "Stay on top", ID_VIEW_STAYONTOP END - POPUP "Message &Log" + POPUP "Message &log" BEGIN - POPUP "&Message Log Settings" + POPUP "&Message log settings" BEGIN MENUITEM "&Global...", ID_MESSAGELOGSETTINGS_GLOBAL - MENUITEM "&For this Contact...", ID_MESSAGELOGSETTINGS_FORTHISCONTACT + MENUITEM "&For this contact...", ID_MESSAGELOGSETTINGS_FORTHISCONTACT END END POPUP "&Container" BEGIN MENUITEM "Container options...", ID_CONTAINER_CONTAINEROPTIONS MENUITEM SEPARATOR - POPUP "Event Popups" + POPUP "Event popups" BEGIN - MENUITEM "Disable all Event Popups", ID_EVENTPOPUPS_DISABLEALLEVENTPOPUPS + MENUITEM "Disable all event popups", ID_EVENTPOPUPS_DISABLEALLEVENTPOPUPS MENUITEM SEPARATOR - MENUITEM "Show Popups if Window is minimized", ID_EVENTPOPUPS_SHOWPOPUPSIFWINDOWISMINIMIZED - MENUITEM "Show Popups if Window is unfocused", ID_EVENTPOPUPS_SHOWPOPUPSIFWINDOWISUNFOCUSED - MENUITEM "Show Popups if Window is focused", ID_EVENTPOPUPS_SHOWPOPUPSIFWINDOWISFOCUSED - MENUITEM "Show Popups for all inactive sessions", ID_EVENTPOPUPS_SHOWPOPUPSFORALLINACTIVESESSIONS + MENUITEM "Show popups if window is minimized", ID_EVENTPOPUPS_SHOWPOPUPSIFWINDOWISMINIMIZED + MENUITEM "Show popups if window is unfocused", ID_EVENTPOPUPS_SHOWPOPUPSIFWINDOWISUNFOCUSED + MENUITEM "Show popups if window is focused", ID_EVENTPOPUPS_SHOWPOPUPSIFWINDOWISFOCUSED + MENUITEM "Show popups for all inactive sessions", ID_EVENTPOPUPS_SHOWPOPUPSFORALLINACTIVESESSIONS END MENUITEM SEPARATOR - MENUITEM "Save current Window Position as Default", ID_OPTIONS_SAVECURRENTWINDOWPOSITIONASDEFAULT + MENUITEM "Save current window position as default", ID_OPTIONS_SAVECURRENTWINDOWPOSITIONASDEFAULT END POPUP "Help" BEGIN diff --git a/plugins/TabSRMM/src/buttonsbar.cpp b/plugins/TabSRMM/src/buttonsbar.cpp index 9ba7933d6f..7925c001a0 100644 --- a/plugins/TabSRMM/src/buttonsbar.cpp +++ b/plugins/TabSRMM/src/buttonsbar.cpp @@ -801,7 +801,7 @@ void CB_InitDefaultButtons() bbd.dwDefPos = 10; bbd.hIcon = LoadSkinnedIconHandle(SKINICON_OTHER_CONNECTING); bbd.pszModuleName = "Tabsrmm"; - bbd.ptszTooltip = LPGENT("Protocol Button"); + bbd.ptszTooltip = LPGENT("Protocol button"); CB_AddButton(0, (LPARAM)&bbd); bbd.bbbFlags = BBBF_ISIMBUTTON | BBBF_ISLSIDEBUTTON | BBBF_ISARROWBUTTON | BBBF_CREATEBYID; @@ -817,7 +817,7 @@ void CB_InitDefaultButtons() bbd.iButtonWidth = 0; bbd.dwDefPos = 30; bbd.hIcon = PluginConfig.g_buttonBarIconHandles[9]; - bbd.ptszTooltip = LPGENT("Insert Emoticon"); + bbd.ptszTooltip = LPGENT("Insert emoticon"); CB_AddButton(0, (LPARAM)&bbd); } @@ -885,7 +885,7 @@ void CB_InitDefaultButtons() bbd.dwDefPos = 40; bbd.iButtonWidth = 0; bbd.hIcon = PluginConfig.g_buttonBarIconHandles[2]; - bbd.ptszTooltip = LPGENT("Message Log Options"); + bbd.ptszTooltip = LPGENT("Message log options"); CB_AddButton(0, (LPARAM)&bbd); bbd.bbbFlags = BBBF_ISIMBUTTON | BBBF_ISCHATBUTTON | BBBF_ISRSIDEBUTTON | BBBF_CREATEBYID; @@ -893,7 +893,7 @@ void CB_InitDefaultButtons() bbd.dwDefPos = 50; bbd.iButtonWidth = 0; bbd.hIcon = PluginConfig.g_buttonBarIconHandles[0]; - bbd.ptszTooltip = LPGENT("View User's History"); + bbd.ptszTooltip = LPGENT("View user's history"); CB_AddButton(0, (LPARAM)&bbd); bbd.bbbFlags = BBBF_ISIMBUTTON | BBBF_ISRSIDEBUTTON | BBBF_CREATEBYID; diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 8453bf0de5..b4908bfca2 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -521,12 +521,12 @@ static INT_PTR CALLBACK DlgProcContainer(HWND hwndDlg, UINT msg, WPARAM wParam, int iMenuItems = GetMenuItemCount(hSysmenu); InsertMenu(hSysmenu, iMenuItems++ - 2, MF_BYPOSITION | MF_SEPARATOR, 0, _T("")); - InsertMenu(hSysmenu, iMenuItems++ - 2, MF_BYPOSITION | MF_STRING, IDM_STAYONTOP, TranslateT("Stay on Top")); + InsertMenu(hSysmenu, iMenuItems++ - 2, MF_BYPOSITION | MF_STRING, IDM_STAYONTOP, TranslateT("Stay on top")); if (!CSkin::m_frameSkins) InsertMenu(hSysmenu, iMenuItems++ - 2, MF_BYPOSITION | MF_STRING, IDM_NOTITLE, TranslateT("Hide title bar")); InsertMenu(hSysmenu, iMenuItems++ - 2, MF_BYPOSITION | MF_SEPARATOR, 0, _T("")); InsertMenu(hSysmenu, iMenuItems++ - 2, MF_BYPOSITION | MF_STRING, IDM_MOREOPTIONS, TranslateT("Container options...")); - SetWindowText(hwndDlg, TranslateT("Message Session...")); + SetWindowText(hwndDlg, TranslateT("Message session...")); SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)PluginConfig.g_iconContainer); // make the tab control the controlling parent window for all message dialogs diff --git a/plugins/TabSRMM/src/controls.cpp b/plugins/TabSRMM/src/controls.cpp index 00cf5c1ad9..3a66bf6276 100644 --- a/plugins/TabSRMM/src/controls.cpp +++ b/plugins/TabSRMM/src/controls.cpp @@ -570,7 +570,7 @@ void CMenuBar::checkButtons() m_TbButtons[4].dwData = 0; m_TbButtons[5].iBitmap = I_IMAGENONE; - m_TbButtons[5].iString = (INT_PTR)TranslateT("Message &Log"); + m_TbButtons[5].iString = (INT_PTR)TranslateT("Message &log"); m_TbButtons[5].fsState = TBSTATE_ENABLED; m_TbButtons[5].fsStyle = BTNS_DROPDOWN|BTNS_AUTOSIZE; m_TbButtons[5].idCommand = 105; diff --git a/plugins/TabSRMM/src/eventpopups.cpp b/plugins/TabSRMM/src/eventpopups.cpp index b42652e650..af53cbdda6 100644 --- a/plugins/TabSRMM/src/eventpopups.cpp +++ b/plugins/TabSRMM/src/eventpopups.cpp @@ -68,7 +68,7 @@ static void PU_CleanUp() static void CheckForRemoveMask() { if (!M.GetByte(MODULE, "firsttime", 0) && (nen_options.maskActL & MASK_REMOVE || nen_options.maskActR & MASK_REMOVE || nen_options.maskActTE & MASK_REMOVE)) { - MessageBox(0, TranslateT("One of your popup actions is set to DISMISS EVENT.\nNote that this options may have unwanted side effects as it REMOVES the event from the unread queue.\nThis may lead to events not showing up as \"new\". If you don't want this behavior, please review the Event Notifications settings page."), TranslateT("TabSRMM warning message"), MB_OK | MB_ICONSTOP); + MessageBox(0, TranslateT("One of your popup actions is set to DISMISS EVENT.\nNote that this options may have unwanted side effects as it REMOVES the event from the unread queue.\nThis may lead to events not showing up as \"new\". If you don't want this behavior, please review the 'Event notifications' settings page."), TranslateT("TabSRMM warning message"), MB_OK | MB_ICONSTOP); db_set_b(0, MODULE, "firsttime", 1); } } diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 4dbe764a57..b58e48aeee 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -476,7 +476,7 @@ LRESULT TSAPI DM_MsgWindowCmdHandler(HWND hwndDlg, TContainerData *m_pContainer, if (sendLater->isAvail()) dat->sendMode ^= SMODE_SENDLATER; else - CWarning::show(CWarning::WARN_NO_SENDLATER, MB_OK | MB_ICONINFORMATION, TranslateT("Configuration issue|The unattended send feature is disabled. The \\b1 send later\\b0 and \\b1 send to multiple contacts\\b0 features depend on it.\n\nYou must enable it under \\b1Options->Message Sessions->Advanced tweaks\\b0. Changing this option requires a restart.")); + CWarning::show(CWarning::WARN_NO_SENDLATER, MB_OK | MB_ICONINFORMATION, TranslateT("Configuration issue|The unattended send feature is disabled. The \\b1 send later\\b0 and \\b1 send to multiple contacts\\b0 features depend on it.\n\nYou must enable it under \\b1Options->Message sessions->Advanced tweaks\\b0. Changing this option requires a restart.")); break; case ID_SENDMENU_SENDWITHOUTTIMEOUTS: dat->sendMode ^= SMODE_NOACK; @@ -1132,7 +1132,7 @@ err_out: HWND TSAPI DM_CreateClist(TWindowData *dat) { if (!sendLater->isAvail()) { - CWarning::show(CWarning::WARN_NO_SENDLATER, MB_OK | MB_ICONINFORMATION, TranslateT("Configuration issue|The unattended send feature is disabled. The \\b1 send later\\b0 and \\b1 send to multiple contacts\\b0 features depend on it.\n\nYou must enable it under \\b1Options->Message Sessions->Advanced tweaks\\b0. Changing this option requires a restart.")); + CWarning::show(CWarning::WARN_NO_SENDLATER, MB_OK | MB_ICONINFORMATION, TranslateT("Configuration issue|The unattended send feature is disabled. The \\b1 send later\\b0 and \\b1 send to multiple contacts\\b0 features depend on it.\n\nYou must enable it under \\b1Options->Message sessions->Advanced tweaks\\b0. Changing this option requires a restart.")); dat->sendMode &= ~SMODE_MULTIPLE; return 0; } @@ -1784,11 +1784,11 @@ void TSAPI DM_UpdateTitle(TWindowData *dat, WPARAM, LPARAM lParam) TCHAR fulluin[256]; if (dat->bIsMeta) mir_sntprintf(fulluin, SIZEOF(fulluin), - TranslateT("UID: %s (SHIFT click -> copy to clipboard)\nClick for User's Details\nRight click for metacontact control\nClick dropdown to add or remove user from your favorites."), + TranslateT("UID: %s (SHIFT click -> copy to clipboard)\nClick for user's details\nRight click for metacontact control\nClick dropdown to add or remove user from your favorites."), bHasName ? dat->cache->getUIN() : TranslateT("No UID")); else mir_sntprintf(fulluin, SIZEOF(fulluin), - TranslateT("UID: %s (SHIFT click -> copy to clipboard)\nClick for User's Details\nClick dropdown to change this contact's favorite status."), + TranslateT("UID: %s (SHIFT click -> copy to clipboard)\nClick for user's details\nClick dropdown to change this contact's favorite status."), bHasName ? dat->cache->getUIN() : TranslateT("No UID")); SendDlgItemMessage(hwndDlg, IDC_NAME, BUTTONADDTOOLTIP, (WPARAM)fulluin, BATF_TCHAR); diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index 8a0cb58eb6..7debe97ca5 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -83,9 +83,9 @@ void CGlobals::reloadSystemStartup() PluginConfig.g_hMenuContext = LoadMenu(g_hInst, MAKEINTRESOURCE(IDR_TABCONTEXT)); TranslateMenu(g_hMenuContext); - 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("SendError", LPGEN("Instant messages"), LPGEN("Message send error")); @@ -229,7 +229,7 @@ void CGlobals::reloadAdv() m_bDontUseDefaultKbd = M.GetBool("adv_leaveKeyboardAlone", true); if (m_bSoundOnTyping && m_TypingSoundAdded == false) { - SkinAddNewSoundEx("SoundOnTyping", LPGEN("Other"), LPGEN("TabSRMM: Typing")); + SkinAddNewSoundEx("SoundOnTyping", LPGEN("Other"), LPGEN("TabSRMM: typing")); m_TypingSoundAdded = true; } m_bAllowOfflineMultisend = M.GetBool("AllowOfflineMultisend", false); @@ -275,7 +275,7 @@ int CGlobals::TopToolbarLoaded(WPARAM,LPARAM) TopToolbar_AddButton(&ttb); ttb.name = "TabSRMM Menu"; - ttb.pszTooltipUp = LPGEN("TabSRMM Menu"); + ttb.pszTooltipUp = LPGEN("TabSRMM menu"); ttb.lParamUp = ttb.lParamDown = 1; ttb.hIconHandleUp = Skin_GetIcon("tabSRMM_container"); TopToolbar_AddButton(&ttb); diff --git a/plugins/TabSRMM/src/hotkeyhandler.cpp b/plugins/TabSRMM/src/hotkeyhandler.cpp index 9a22b5f0b8..4b21acf3da 100644 --- a/plugins/TabSRMM/src/hotkeyhandler.cpp +++ b/plugins/TabSRMM/src/hotkeyhandler.cpp @@ -42,7 +42,7 @@ static HANDLE hSvcHotkeyProcessor = 0; static HOTKEYDESC _hotkeydescs[] = { { 0, "tabsrmm_mostrecent", LPGEN("Most recent unread session"), TABSRMM_HK_SECTION_IM, MS_TABMSG_HOTKEYPROCESS, HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT, 'R'), TABSRMM_HK_LASTUNREAD }, { 0, "tabsrmm_paste_and_send", LPGEN("Paste and send"), TABSRMM_HK_SECTION_GENERIC, 0, HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT, 'D'), TABSRMM_HK_PASTEANDSEND }, - { 0, "tabsrmm_uprefs", LPGEN("Contact's messaging prefs"), TABSRMM_HK_SECTION_IM, 0, HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT, 'C'), TABSRMM_HK_SETUSERPREFS }, + { 0, "tabsrmm_uprefs", LPGEN("Contact's messaging preferences"), TABSRMM_HK_SECTION_IM, 0, HOTKEYCODE(HOTKEYF_CONTROL|HOTKEYF_SHIFT, 'C'), TABSRMM_HK_SETUSERPREFS }, { 0, "tabsrmm_copts", LPGEN("Container options"), TABSRMM_HK_SECTION_GENERIC, 0, HOTKEYCODE(HOTKEYF_CONTROL, 'O'), TABSRMM_HK_CONTAINEROPTIONS }, { 0, "tabsrmm_nudge", LPGEN("Send nudge"), TABSRMM_HK_SECTION_IM, 0, HOTKEYCODE(HOTKEYF_CONTROL, 'N'), TABSRMM_HK_NUDGE }, { 0, "tabsrmm_sendfile", LPGEN("Send a file"), TABSRMM_HK_SECTION_IM, 0, HOTKEYCODE(HOTKEYF_ALT, 'F'), TABSRMM_HK_SENDFILE }, @@ -65,7 +65,7 @@ static HOTKEYDESC _hotkeydescs[] = { { 0, "tabsrmm_muc_filter", LPGEN("Toggle filter"), TABSRMM_HK_SECTION_GC, 0, HOTKEYCODE(HOTKEYF_SHIFT | HOTKEYF_CONTROL, 'F'), TABSRMM_HK_FILTERTOGGLE }, { 0, "tabsrmm_muc_nick", LPGEN("Toggle nick list"), TABSRMM_HK_SECTION_GC, 0, HOTKEYCODE(HOTKEYF_SHIFT | HOTKEYF_CONTROL, 'N'), TABSRMM_HK_LISTTOGGLE }, { 0, "tabsrmm_muc_server_show", LPGEN("Show server window"), TABSRMM_HK_SECTION_GC, 0, HOTKEYCODE(HOTKEYF_SHIFT | HOTKEYF_CONTROL, '1'), TABSRMM_HK_MUC_SHOWSERVER }, - { 0, "tabsrmm_close_other", LPGEN("Close Other Tabs"), TABSRMM_HK_SECTION_GENERIC, 0, HOTKEYCODE(HOTKEYF_ALT|HOTKEYF_CONTROL, 'W'), TABSRMM_HK_CLOSE_OTHER }, + { 0, "tabsrmm_close_other", LPGEN("Close other tabs"), TABSRMM_HK_SECTION_GENERIC, 0, HOTKEYCODE(HOTKEYF_ALT|HOTKEYF_CONTROL, 'W'), TABSRMM_HK_CLOSE_OTHER }, }; LRESULT ProcessHotkeysByMsgFilter(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, UINT_PTR ctrlId) diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp index b6f9ba004a..b0092883e0 100644 --- a/plugins/TabSRMM/src/infopanel.cpp +++ b/plugins/TabSRMM/src/infopanel.cpp @@ -717,20 +717,20 @@ HMENU CInfoPanel::constructContextualMenu() const HMENU m = ::CreatePopupMenu(); if (m_hoverFlags & HOVER_NICK) { - Utils::addMenuItem(m, mii, ::LoadSkinnedIcon(SKINICON_OTHER_USERDETAILS), TranslateT("Open User Details..."), IDC_NAME, 0); - Utils::addMenuItem(m, mii, ::LoadSkinnedIcon(SKINICON_OTHER_HISTORY), TranslateT("Open History..."), m_isChat ? IDC_CHAT_HISTORY : IDC_HISTORY, 0); + Utils::addMenuItem(m, mii, ::LoadSkinnedIcon(SKINICON_OTHER_USERDETAILS), TranslateT("Open user details..."), IDC_NAME, 0); + Utils::addMenuItem(m, mii, ::LoadSkinnedIcon(SKINICON_OTHER_HISTORY), TranslateT("Open history..."), m_isChat ? IDC_CHAT_HISTORY : IDC_HISTORY, 0); if (!m_isChat) - Utils::addMenuItem(m, mii, PluginConfig.g_iconContainer, TranslateT("Messaging Settings..."), ID_MESSAGELOGSETTINGS_FORTHISCONTACT, 1); + Utils::addMenuItem(m, mii, PluginConfig.g_iconContainer, TranslateT("Messaging settings..."), ID_MESSAGELOGSETTINGS_FORTHISCONTACT, 1); else { - ::AppendMenu(m, MF_STRING, IDC_CHANMGR, TranslateT("Room Settings...")); + ::AppendMenu(m, MF_STRING, IDC_CHANMGR, TranslateT("Room settings...")); if (GCW_SERVER & m_dat->si->iType) ::EnableMenuItem(m, IDC_CHANMGR, MF_BYCOMMAND | MF_GRAYED); } ::AppendMenu(m, MF_SEPARATOR, 1000, 0); - Utils::addMenuItem(m, mii, PluginConfig.g_buttonBarIcons[6], TranslateT("Close Session"), IDC_SAVE, 4); + Utils::addMenuItem(m, mii, PluginConfig.g_buttonBarIcons[6], TranslateT("Close session"), IDC_SAVE, 4); } ::AppendMenu(m, MF_SEPARATOR, 1000, 0); - ::AppendMenu(m, MF_STRING, CMD_IP_COPY, TranslateT("Copy To Clipboard")); + ::AppendMenu(m, MF_STRING, CMD_IP_COPY, TranslateT("Copy to clipboard")); return m; } @@ -928,7 +928,7 @@ void CInfoPanel::showTip(UINT ctrlId, const LPARAM lParam) ::SendMessage(m_dat->hwndTip, TTM_UPDATETIPTEXT, 0, (LPARAM)&m_dat->ti); ::SendMessage(m_dat->hwndTip, TTM_SETMAXTIPWIDTH, 0, 350); - ::SendMessage(m_dat->hwndTip, TTM_SETTITLE, 1, (LPARAM)TranslateT("TabSRMM Information")); + ::SendMessage(m_dat->hwndTip, TTM_SETTITLE, 1, (LPARAM)TranslateT("TabSRMM information")); ::SendMessage(m_dat->hwndTip, TTM_TRACKACTIVATE, TRUE, (LPARAM)&m_dat->ti); ::GetCursorPos(&m_dat->ptTipActivation); } @@ -1086,7 +1086,7 @@ INT_PTR CALLBACK CInfoPanel::ConfigDlgProc(HWND hwnd, UINT msg, WPARAM wParam, L if (!m_isChat) { v = db_get_b(m_dat->hContact, SRMSGMOD_T, "hideavatar", -1); - ::SendDlgItemMessage(hwnd, IDC_PANELPICTUREVIS, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use Global Setting")); + ::SendDlgItemMessage(hwnd, IDC_PANELPICTUREVIS, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use global setting")); ::SendDlgItemMessage(hwnd, IDC_PANELPICTUREVIS, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Show always (if present)")); ::SendDlgItemMessage(hwnd, IDC_PANELPICTUREVIS, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Never show it at all")); ::SendDlgItemMessage(hwnd, IDC_PANELPICTUREVIS, CB_SETCURSEL, (v == (BYTE)-1 ? 0 : (v == 1 ? 1 : 2)), 0); diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp index 48c0c7dfe3..f67a9021c4 100644 --- a/plugins/TabSRMM/src/mim.cpp +++ b/plugins/TabSRMM/src/mim.cpp @@ -304,7 +304,7 @@ int CMimAPI::TypingMessage(WPARAM hContact, LPARAM mode) 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; diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index ab2a0fd043..993342ae94 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -113,7 +113,7 @@ static void ShowPopupMenu(TWindowData *dat, int idFrom, HWND hwndFrom, POINT pt) if (idFrom == IDC_LOG) { InsertMenuA(hSubMenu, 6/*5*/, MF_BYPOSITION | MF_SEPARATOR, 0, 0); - InsertMenu(hSubMenu, 7/*6*/, MF_BYPOSITION | MF_POPUP, (UINT_PTR) PluginConfig.g_hMenuEncoding, TranslateT("Character Encoding")); + InsertMenu(hSubMenu, 7/*6*/, MF_BYPOSITION | MF_POPUP, (UINT_PTR) PluginConfig.g_hMenuEncoding, TranslateT("Character encoding")); for (int i=0; i < GetMenuItemCount(PluginConfig.g_hMenuEncoding); i++) CheckMenuItem(PluginConfig.g_hMenuEncoding, i, MF_BYPOSITION | MF_UNCHECKED); @@ -1202,7 +1202,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP DM_ThemeChanged(dat); - pszIDCSAVE_close = TranslateT("Close Session"); + pszIDCSAVE_close = TranslateT("Close session"); pszIDCSAVE_save = TranslateT("Save and close session"); dat->hContact = newData->hContact; @@ -1748,7 +1748,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP RedrawWindow(hwndDlg, 0, 0, RDW_INVALIDATE|RDW_ERASE|RDW_UPDATENOW|RDW_ALLCHILDREN); } else - CWarning::show(CWarning::WARN_NO_SENDLATER, MB_OK|MB_ICONINFORMATION, TranslateT("Configuration issue|The unattended send feature is disabled. The \\b1 send later\\b0 and \\b1 send to multiple contacts\\b0 features depend on it.\n\nYou must enable it under \\b1Options->Message Sessions->Advanced tweaks\\b0. Changing this option requires a restart.")); + CWarning::show(CWarning::WARN_NO_SENDLATER, MB_OK|MB_ICONINFORMATION, TranslateT("Configuration issue|The unattended send feature is disabled. The \\b1 send later\\b0 and \\b1 send to multiple contacts\\b0 features depend on it.\n\nYou must enable it under \\b1Options->Message sessions->Advanced tweaks\\b0. Changing this option requires a restart.")); return(_dlgReturn(hwndDlg, 1)); case TABSRMM_HK_TOGGLERTL: { diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 8350c235d5..748e1eda13 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -275,13 +275,13 @@ int TSAPI MsgWindowUpdateMenu(TWindowData *dat, HMENU submenu, int menuID) CheckMenuItem(submenu, ID_PICMENU_ALWAYSKEEPTHEBUTTONBARATFULLWIDTH, MF_BYCOMMAND | (PluginConfig.m_bAlwaysFullToolbarWidth ? MF_CHECKED : MF_UNCHECKED)); if (!bInfoPanel) { EnableMenuItem(submenu, ID_PICMENU_SETTINGS, MF_BYCOMMAND | (ServiceExists(MS_AV_GETAVATARBITMAP) ? MF_ENABLED : MF_GRAYED)); - szText = TranslateT("Contact Picture Settings..."); + szText = TranslateT("Contact picture settings..."); EnableMenuItem(submenu, 0, MF_BYPOSITION | MF_ENABLED); } else { EnableMenuItem(submenu, 0, MF_BYPOSITION | MF_GRAYED); EnableMenuItem(submenu, ID_PICMENU_SETTINGS, MF_BYCOMMAND | ((ServiceExists(MS_AV_SETMYAVATAR) && CallService(MS_AV_CANSETMYAVATAR, (WPARAM)(dat->cache->getActiveProto()), 0)) ? MF_ENABLED : MF_GRAYED)); - szText = TranslateT("Set Your Avatar..."); + szText = TranslateT("Set your avatar..."); } mii.dwTypeData = szText; mii.cch = (int)mir_tstrlen(szText) + 1; @@ -1436,7 +1436,7 @@ void TSAPI HandlePasteAndSend(const TWindowData *dat) UINT ctrlID = dat->bType == SESSIONTYPE_IM ? IDC_MESSAGE : IDC_CHAT_MESSAGE; if (!PluginConfig.m_PasteAndSend) { - SendMessage(dat->hwnd, DM_ACTIVATETOOLTIP, ctrlID, (LPARAM)TranslateT("The 'paste and send' feature is disabled. You can enable it on the 'General' options page in the 'Sending Messages' section")); + SendMessage(dat->hwnd, DM_ACTIVATETOOLTIP, ctrlID, (LPARAM)TranslateT("The 'paste and send' feature is disabled. You can enable it on the 'General' options page in the 'Sending messages' section")); return; // feature disabled } @@ -1809,8 +1809,8 @@ void TSAPI GetMyNick(TWindowData *dat) switch (ci.type) { case CNFT_ASCIIZ: if (mir_tstrlen((TCHAR*)ci.pszVal) == 0 || - !_tcscmp((TCHAR*)ci.pszVal, TranslateT("'(Unknown Contact)'"))) { - _tcsncpy_s(dat->szMyNickname, (dat->myUin[0] ? dat->myUin : TranslateT("'(Unknown Contact)'")), _TRUNCATE); + !_tcscmp((TCHAR*)ci.pszVal, TranslateT("'(Unknown contact)'"))) { + _tcsncpy_s(dat->szMyNickname, (dat->myUin[0] ? dat->myUin : TranslateT("'(Unknown contact)'")), _TRUNCATE); } else { _tcsncpy_s(dat->szMyNickname, (TCHAR*)ci.pszVal, _TRUNCATE); } diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index 8709f3b7bb..c48dab59c3 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -1213,7 +1213,7 @@ static int OptInitialise(WPARAM wParam, LPARAM 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; odp.pszTab = LPGEN("General"); @@ -1246,7 +1246,7 @@ static int OptInitialise(WPARAM wParam, LPARAM lParam) odp.pfnDlgProc = PlusOptionsProc; Options_AddPage(wParam, &odp); - odp.pszGroup = LPGEN("Message Sessions"); + odp.pszGroup = LPGEN("Message sessions"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_MSGTYPE); odp.pszTitle = LPGEN("Typing Notify"); odp.pfnDlgProc = DlgProcTypeOptions; @@ -1274,7 +1274,7 @@ static int OptInitialise(WPARAM wParam, LPARAM lParam) /* group chats */ - odp.pszGroup = LPGEN("Message Sessions"); + odp.pszGroup = LPGEN("Message sessions"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS1); odp.pszTitle = LPGEN("Group chats"); odp.pszTab = LPGEN("Settings"); diff --git a/plugins/TabSRMM/src/sendlater.cpp b/plugins/TabSRMM/src/sendlater.cpp index b9f9ad41a1..b61a6bdd24 100644 --- a/plugins/TabSRMM/src/sendlater.cpp +++ b/plugins/TabSRMM/src/sendlater.cpp @@ -127,7 +127,7 @@ CSendLaterJob::~CSendLaterJob() POPUPDATAT ppd = {0}; ppd.lchContact = hContact; - _tcsncpy_s(ppd.lptzContactName, (tszName ? tszName : TranslateT("'(Unknown Contact)'")), _TRUNCATE); + _tcsncpy_s(ppd.lptzContactName, (tszName ? tszName : TranslateT("'(Unknown contact)'")), _TRUNCATE); TCHAR *msgPreview = Utils::GetPreviewWithEllipsis(reinterpret_cast(&pBuf[mir_strlen((char *)pBuf) + 1]), 100); if (fSuccess) { mir_sntprintf(ppd.lptzText, SIZEOF(ppd.lptzText), TranslateT("A send later job completed successfully.\nThe original message: %s"), diff --git a/plugins/TabSRMM/src/trayicon.cpp b/plugins/TabSRMM/src/trayicon.cpp index 0dcfb8a700..2800e61076 100644 --- a/plugins/TabSRMM/src/trayicon.cpp +++ b/plugins/TabSRMM/src/trayicon.cpp @@ -103,7 +103,7 @@ void TSAPI CreateTrayMenus(int mode) ModifyMenu(PluginConfig.g_hMenuTrayContext, 0, MF_BYPOSITION | MF_POPUP, (UINT_PTR)PluginConfig.g_hMenuFavorites, TranslateT("Favorites")); ModifyMenu(PluginConfig.g_hMenuTrayContext, 2, MF_BYPOSITION | MF_POPUP, - (UINT_PTR)PluginConfig.g_hMenuRecent, TranslateT("Recent Sessions")); + (UINT_PTR)PluginConfig.g_hMenuRecent, TranslateT("Recent sessions")); LoadFavoritesAndRecent(); } else { diff --git a/plugins/TabSRMM/src/userprefs.cpp b/plugins/TabSRMM/src/userprefs.cpp index 8051da0f08..9c89ba84a5 100644 --- a/plugins/TabSRMM/src/userprefs.cpp +++ b/plugins/TabSRMM/src/userprefs.cpp @@ -73,18 +73,18 @@ static INT_PTR CALLBACK DlgProcUserPrefs(HWND hwndDlg, UINT msg, WPARAM wParam, SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)lParam); - SendDlgItemMessage(hwndDlg, IDC_INFOPANEL, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use Global Setting")); - SendDlgItemMessage(hwndDlg, IDC_INFOPANEL, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Always On")); - SendDlgItemMessage(hwndDlg, IDC_INFOPANEL, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Always Off")); + SendDlgItemMessage(hwndDlg, IDC_INFOPANEL, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use global setting")); + SendDlgItemMessage(hwndDlg, IDC_INFOPANEL, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Always on")); + SendDlgItemMessage(hwndDlg, IDC_INFOPANEL, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Always off")); SendDlgItemMessage(hwndDlg, IDC_INFOPANEL, CB_SETCURSEL, bInfoPanel == 0 ? 0 : (bInfoPanel == 1 ? 1 : 2), 0); - SendDlgItemMessage(hwndDlg, IDC_SHOWAVATAR, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use Global Setting")); + SendDlgItemMessage(hwndDlg, IDC_SHOWAVATAR, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use global setting")); SendDlgItemMessage(hwndDlg, IDC_SHOWAVATAR, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Show always (if present)")); SendDlgItemMessage(hwndDlg, IDC_SHOWAVATAR, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Never show it at all")); SendDlgItemMessage(hwndDlg, IDC_SHOWAVATAR, CB_SETCURSEL, bAvatarVisible == 0xff ? 0 : (bAvatarVisible == 1 ? 1 : 2), 0); - SendDlgItemMessage(hwndDlg, IDC_IEVIEWMODE, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use Global Setting")); - SendDlgItemMessage(hwndDlg, IDC_IEVIEWMODE, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Force Default Message Log")); + SendDlgItemMessage(hwndDlg, IDC_IEVIEWMODE, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use global setting")); + SendDlgItemMessage(hwndDlg, IDC_IEVIEWMODE, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Force default message log")); SendDlgItemMessage(hwndDlg, IDC_IEVIEWMODE, CB_SETITEMDATA, 0, 0); SendDlgItemMessage(hwndDlg, IDC_IEVIEWMODE, CB_SETITEMDATA, 1, 1); @@ -110,9 +110,9 @@ static INT_PTR CALLBACK DlgProcUserPrefs(HWND hwndDlg, UINT msg, WPARAM wParam, SendDlgItemMessage(hwndDlg, IDC_IEVIEWMODE, CB_SETCURSEL, (have_hpp && have_ieview) ? 3 : (have_ieview ? 2 : 0), 0); } - SendDlgItemMessage(hwndDlg, IDC_TEXTFORMATTING, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use Global Setting")); + SendDlgItemMessage(hwndDlg, IDC_TEXTFORMATTING, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Use global setting")); SendDlgItemMessage(hwndDlg, IDC_TEXTFORMATTING, CB_INSERTSTRING, -1, (LPARAM)TranslateT("BBCode")); - SendDlgItemMessage(hwndDlg, IDC_TEXTFORMATTING, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Force Off")); + SendDlgItemMessage(hwndDlg, IDC_TEXTFORMATTING, CB_INSERTSTRING, -1, (LPARAM)TranslateT("Force off")); SendDlgItemMessage(hwndDlg, IDC_TEXTFORMATTING, CB_SETCURSEL, iLocalFormat == 0 ? 0 : (iLocalFormat == -1 ? 2 : (1)), 0); diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp index 382a4274ef..ef481e0eb4 100644 --- a/plugins/TabSRMM/src/utils.cpp +++ b/plugins/TabSRMM/src/utils.cpp @@ -1137,7 +1137,7 @@ static wchar_t* warnings[] = { LPGENT("Aero peek warning|You have enabled Aero Peek features and loaded a custom container window skin\n\nThis can result in minor visual anomalies in the live preview feature."), /* WARN_AEROPEEKSKIN */ LPGENT("File transfer problem|Sending the image by file transfer failed.\n\nPossible reasons: File transfers not supported, either you or the target contact is offline, or you are invisible and the target contact is not on your visibilty list."), /* WARN_IMGSVC_MISSING */ LPGENT("Settings problem|The option \\b1 History->Imitate IEView API\\b0 is enabled and the History++ plugin is active. This can cause problems when using IEView as message log viewer.\n\nShould I correct the option (a restart is required)?"), /* WARN_HPP_APICHECK */ - L" ", /* WARN_NO_SENDLATER */ /*uses "Configuration issue|The unattended send feature is disabled. The \\b1 send later\\b0 and \\b1 send to multiple contacts\\b0 features depend on it.\n\nYou must enable it under \\b1Options->Message Sessions->Advanced tweaks\\b0. Changing this option requires a restart." */ + L" ", /* WARN_NO_SENDLATER */ /*uses "Configuration issue|The unattended send feature is disabled. The \\b1 send later\\b0 and \\b1 send to multiple contacts\\b0 features depend on it.\n\nYou must enable it under \\b1Options->Message sessions->Advanced tweaks\\b0. Changing this option requires a restart." */ LPGENT("Closing Window|You are about to close a window with multiple tabs open.\n\nProceed?"), /* WARN_CLOSEWINDOW */ LPGENT("Closing options dialog|To reflect the changes done by importing a theme in the options dialog, the dialog must be closed after loading a theme \\b1 and unsaved changes might be lost\\b0 .\n\nDo you want to continue?"), /* WARN_OPTION_CLOSE */ LPGENT("Loading a theme|Loading a color and font theme can overwrite the settings defined by your skin.\n\nDo you want to continue?"), /* WARN_THEME_OVERWRITE */ -- cgit v1.2.3