From aebb5bf87082a92c82feb9a8447fcbced9275ae2 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Mon, 16 Jul 2018 02:20:19 +0300 Subject: Unify special keys names --- plugins/Scriver/src/msgs.cpp | 18 +++++++++--------- plugins/StatusManager/res/resource.rc | 2 +- plugins/TabSRMM/res/resource.rc | 2 +- plugins/TabSRMM/src/controls.cpp | 2 +- plugins/TabSRMM/src/msgdialog.cpp | 4 ++-- plugins/TabSRMM/src/translator.cpp | 2 +- 6 files changed, 15 insertions(+), 15 deletions(-) (limited to 'plugins') diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 9a417afbd7..9099cffb36 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -479,7 +479,7 @@ int RegisterToolbarIcons(WPARAM, LPARAM) bbd.dwDefPos = 50; bbd.hIcon = IcoLib_GetIconHandle("scriver_HISTORY"); bbd.pwszText = LPGENW("&History"); - bbd.pwszTooltip = LPGENW("View user's history (CTRL+H)"); + bbd.pwszTooltip = LPGENW("View user's history (Ctrl+H)"); Srmm_AddButton(&bbd, &g_plugin); // chat buttons @@ -488,35 +488,35 @@ int RegisterToolbarIcons(WPARAM, LPARAM) bbd.dwDefPos = 10; bbd.hIcon = IcoLib_GetIconHandle("chat_bold"); bbd.pwszText = LPGENW("&Bold"); - bbd.pwszTooltip = LPGENW("Make the text bold (CTRL+B)"); + bbd.pwszTooltip = LPGENW("Make the text bold (Ctrl+B)"); Srmm_AddButton(&bbd, &g_plugin); bbd.dwButtonID = IDC_SRMM_ITALICS; bbd.dwDefPos = 15; bbd.hIcon = IcoLib_GetIconHandle("chat_italics"); bbd.pwszText = LPGENW("&Italic"); - bbd.pwszTooltip = LPGENW("Make the text italicized (CTRL+I)"); + bbd.pwszTooltip = LPGENW("Make the text italicized (Ctrl+I)"); Srmm_AddButton(&bbd, &g_plugin); bbd.dwButtonID = IDC_SRMM_UNDERLINE; bbd.dwDefPos = 20; bbd.hIcon = IcoLib_GetIconHandle("chat_underline"); bbd.pwszText = LPGENW("&Underline"); - bbd.pwszTooltip = LPGENW("Make the text underlined (CTRL+U)"); + bbd.pwszTooltip = LPGENW("Make the text underlined (Ctrl+U)"); Srmm_AddButton(&bbd, &g_plugin); bbd.dwButtonID = IDC_SRMM_COLOR; bbd.dwDefPos = 25; bbd.hIcon = IcoLib_GetIconHandle("chat_fgcol"); bbd.pwszText = LPGENW("&Color"); - bbd.pwszTooltip = LPGENW("Select a foreground color for the text (CTRL+K)"); + bbd.pwszTooltip = LPGENW("Select a foreground color for the text (Ctrl+K)"); Srmm_AddButton(&bbd, &g_plugin); bbd.dwButtonID = IDC_SRMM_BKGCOLOR; bbd.dwDefPos = 30; bbd.hIcon = IcoLib_GetIconHandle("chat_bkgcol"); bbd.pwszText = LPGENW("&Background color"); - bbd.pwszTooltip = LPGENW("Select a background color for the text (CTRL+L)"); + bbd.pwszTooltip = LPGENW("Select a background color for the text (Ctrl+L)"); Srmm_AddButton(&bbd, &g_plugin); bbd.bbbFlags = BBBF_ISCHATBUTTON | BBBF_ISRSIDEBUTTON | BBBF_CREATEBYID; @@ -524,21 +524,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM) bbd.dwDefPos = 30; bbd.hIcon = IcoLib_GetIconHandle("chat_settings"); bbd.pwszText = LPGENW("&Room settings"); - bbd.pwszTooltip = LPGENW("Control this room (CTRL+O)"); + bbd.pwszTooltip = LPGENW("Control this room (Ctrl+O)"); Srmm_AddButton(&bbd, &g_plugin); bbd.dwButtonID = IDC_SRMM_SHOWNICKLIST; bbd.dwDefPos = 20; bbd.hIcon = IcoLib_GetIconHandle("chat_nicklist"); bbd.pwszText = LPGENW("&Show/hide nick list"); - bbd.pwszTooltip = LPGENW("Show/hide the nick list (CTRL+N)"); + bbd.pwszTooltip = LPGENW("Show/hide the nick list (Ctrl+N)"); Srmm_AddButton(&bbd, &g_plugin); bbd.dwButtonID = IDC_SRMM_FILTER; bbd.dwDefPos = 10; bbd.hIcon = IcoLib_GetIconHandle("chat_filter"); bbd.pwszText = LPGENW("&Filter"); - bbd.pwszTooltip = LPGENW("Enable/disable the event filter (CTRL+F)"); + bbd.pwszTooltip = LPGENW("Enable/disable the event filter (Ctrl+F)"); Srmm_AddButton(&bbd, &g_plugin); return 0; } diff --git a/plugins/StatusManager/res/resource.rc b/plugins/StatusManager/res/resource.rc index e1236b0535..96a9e367e9 100644 --- a/plugins/StatusManager/res/resource.rc +++ b/plugins/StatusManager/res/resource.rc @@ -292,7 +292,7 @@ BEGIN EDITTEXT IDC_CONFIRMDELAY,240,138,22,14,ES_AUTOHSCROLL CONTROL "Monitor keyboard activity",IDC_MONITORKEYBOARD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,77,255,10 CONTROL "Monitor mouse activity",IDC_MONITORMOUSE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,88,255,10 - CONTROL "Ignore CTRL, ALT, SHIFT, TAB, ESC and Windows keys",IDC_IGNSYSKEYS, + CONTROL "Ignore Ctrl, Alt, Shift, Tab, Esc and Windows keys",IDC_IGNSYSKEYS, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,55,255,10 CONTROL "Ignore any key combination with above keys",IDC_IGNALTCOMBO, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,66,255,10 diff --git a/plugins/TabSRMM/res/resource.rc b/plugins/TabSRMM/res/resource.rc index 22ff1700a6..589859ba73 100644 --- a/plugins/TabSRMM/res/resource.rc +++ b/plugins/TabSRMM/res/resource.rc @@ -348,7 +348,7 @@ BEGIN EDITTEXT IDC_CUT_TITLEMAX,166,208,30,12,ES_AUTOHSCROLL CONTROL "",IDC_CUT_TITLEMAXSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,191,208,11,13 LTEXT "characters",IDC_STATIC,202,210,88,9 - LTEXT "ESC key behavior",IDC_STATIC,8,161,135,9 + LTEXT "Esc key behavior",IDC_STATIC,8,161,135,9 COMBOBOX IDC_ESCMODE,8,172,291,46,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP END diff --git a/plugins/TabSRMM/src/controls.cpp b/plugins/TabSRMM/src/controls.cpp index 59262277da..5dae4b1224 100644 --- a/plugins/TabSRMM/src/controls.cpp +++ b/plugins/TabSRMM/src/controls.cpp @@ -959,7 +959,7 @@ LONG_PTR CALLBACK CTabBaseDlg::StatusBarSubclassProc(HWND hWnd, UINT msg, WPARAM if (!mir_strcmp(sid->szModule, MSG_ICON_MODULE)) { if (sid->dwId == MSG_ICON_SOUND) - mir_snwprintf(wBuf, TranslateT("Sounds are %s. Click to toggle status, hold SHIFT and click to set for all open containers"), + mir_snwprintf(wBuf, TranslateT("Sounds are %s. Click to toggle status, hold Shift and click to set for all open containers"), pContainer->dwFlags & CNT_NOSOUND ? TranslateT("disabled") : TranslateT("enabled")); else if (sid->dwId == MSG_ICON_UTN && (!dat->isChat() || dat->m_si->iType == GCW_PRIVMESS)) { diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 351d1eb83b..4a585a16cb 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1015,11 +1015,11 @@ void CSrmmWindow::UpdateTitle() wchar_t fulluin[256]; if (m_bIsMeta) mir_snwprintf(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 ? m_cache->getUIN() : TranslateT("No UID")); else mir_snwprintf(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 ? m_cache->getUIN() : TranslateT("No UID")); SendDlgItemMessage(m_hwnd, IDC_NAME, BUTTONADDTOOLTIP, (WPARAM)fulluin, BATF_UNICODE); diff --git a/plugins/TabSRMM/src/translator.cpp b/plugins/TabSRMM/src/translator.cpp index aecc888a91..f69b0e3c5a 100644 --- a/plugins/TabSRMM/src/translator.cpp +++ b/plugins/TabSRMM/src/translator.cpp @@ -167,7 +167,7 @@ TOptionListItem m_lvItemsTab[] = { 0, LPGENW("Activate a minimized window when a new tab is created inside it"), 0, LOI_TYPE_SETTING, (UINT_PTR)"cpopup", 1 }, { 0, LPGENW("Automatically switch existing tabs in minimized windows on incoming messages (ignored when using Aero Peek task bar features)"), 1, LOI_TYPE_SETTING, (UINT_PTR)"autoswitchtabs", 1 }, { 0, LPGENW("Close button only hides message windows"), 0, LOI_TYPE_SETTING, (UINT_PTR)"hideonclose", 2 }, - { 0, LPGENW("Allow TAB key in typing area (this will disable focus selection by TAB key)"), 0, LOI_TYPE_SETTING, (UINT_PTR)"tabmode", 2 }, + { 0, LPGENW("Allow Tab key in typing area (this will disable focus selection by Tab key)"), 0, LOI_TYPE_SETTING, (UINT_PTR)"tabmode", 2 }, { 0, LPGENW("Add offline contacts to multisend list"), 0, LOI_TYPE_SETTING, (UINT_PTR) "AllowOfflineMultisend", 2 }, { 0, nullptr, 0, 0, 0, 0 } }; -- cgit v1.2.3