summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2024-11-06 21:40:53 +0300
committerdartraiden <wowemuh@gmail.com>2024-11-06 21:41:18 +0300
commit6519378609ad60abeff0d43531ed88d499a43528 (patch)
tree02a0a5da986ed188e68f51e7b6cf490c45b02f29
parent22e876d0dbc4d90a89cb576c7b9422d2b3164eb5 (diff)
Remove hardcoded hotkeys from button's names
-rw-r--r--plugins/Scriver/src/msgs.cpp18
-rw-r--r--src/core/stdmsg/src/msgs.cpp18
-rw-r--r--src/mir_app/src/srmm_base.cpp4
3 files changed, 20 insertions, 20 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp
index 262493dc6a..505e3170db 100644
--- a/plugins/Scriver/src/msgs.cpp
+++ b/plugins/Scriver/src/msgs.cpp
@@ -391,7 +391,7 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwDefPos = 50;
bbd.hIcon = g_plugin.getIconHandle(IDI_HISTORY);
bbd.pwszText = LPGENW("&History");
- bbd.pwszTooltip = LPGENW("View user's history (Ctrl+H)");
+ bbd.pwszTooltip = LPGENW("View user's history");
g_plugin.addButton(&bbd);
// format buttons
@@ -400,21 +400,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwDefPos = 10;
bbd.hIcon = g_plugin.getIconHandle(IDI_BBOLD);
bbd.pwszText = LPGENW("&Bold");
- bbd.pwszTooltip = LPGENW("Make the text bold (Ctrl+B)");
+ bbd.pwszTooltip = LPGENW("Make the text bold");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_ITALICS;
bbd.dwDefPos = 15;
bbd.hIcon = g_plugin.getIconHandle(IDI_BITALICS);
bbd.pwszText = LPGENW("&Italic");
- bbd.pwszTooltip = LPGENW("Make the text italicized (Ctrl+I)");
+ bbd.pwszTooltip = LPGENW("Make the text italicized");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_UNDERLINE;
bbd.dwDefPos = 20;
bbd.hIcon = g_plugin.getIconHandle(IDI_BUNDERLINE);
bbd.pwszText = LPGENW("&Underline");
- bbd.pwszTooltip = LPGENW("Make the text underlined (Ctrl+U)");
+ bbd.pwszTooltip = LPGENW("Make the text underlined");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_STRIKEOUT;
@@ -428,14 +428,14 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwDefPos = 30;
bbd.hIcon = g_plugin.getIconHandle(IDI_COLOR);
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");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_BKGCOLOR;
bbd.dwDefPos = 35;
bbd.hIcon = g_plugin.getIconHandle(IDI_BKGCOLOR);
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");
g_plugin.addButton(&bbd);
// chat buttons
@@ -444,21 +444,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwDefPos = 30;
bbd.hIcon = g_plugin.getIconHandle(IDI_TOPICBUT);
bbd.pwszText = LPGENW("&Room settings");
- bbd.pwszTooltip = LPGENW("Control this room (Ctrl+O)");
+ bbd.pwszTooltip = LPGENW("Control this room");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_SHOWNICKLIST;
bbd.dwDefPos = 20;
bbd.hIcon = g_plugin.getIconHandle(IDI_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");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_FILTER;
bbd.dwDefPos = 10;
bbd.hIcon = g_plugin.getIconHandle(IDI_FILTER);
bbd.pwszText = LPGENW("&Filter");
- bbd.pwszTooltip = LPGENW("Enable/disable the event filter (Ctrl+F)");
+ bbd.pwszTooltip = LPGENW("Enable/disable the event filter");
g_plugin.addButton(&bbd);
return 0;
}
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp
index 4aeaaf4f15..9f3f58a893 100644
--- a/src/core/stdmsg/src/msgs.cpp
+++ b/src/core/stdmsg/src/msgs.cpp
@@ -351,7 +351,7 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwDefPos = 40;
bbd.hIcon = Skin_GetIconHandle(SKINICON_OTHER_HISTORY);
bbd.pwszText = LPGENW("&History");
- bbd.pwszTooltip = LPGENW("View user's history (Ctrl+H)");
+ bbd.pwszTooltip = LPGENW("View user's history");
g_plugin.addButton(&bbd);
// format buttons
@@ -360,21 +360,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwDefPos = 10;
bbd.hIcon = g_plugin.getIconHandle(IDI_BBOLD);
bbd.pwszText = LPGENW("&Bold");
- bbd.pwszTooltip = LPGENW("Make the text bold (Ctrl+B)");
+ bbd.pwszTooltip = LPGENW("Make the text bold");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_ITALICS;
bbd.dwDefPos = 15;
bbd.hIcon = g_plugin.getIconHandle(IDI_BITALICS);
bbd.pwszText = LPGENW("&Italic");
- bbd.pwszTooltip = LPGENW("Make the text italicized (Ctrl+I)");
+ bbd.pwszTooltip = LPGENW("Make the text italicized");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_UNDERLINE;
bbd.dwDefPos = 20;
bbd.hIcon = g_plugin.getIconHandle(IDI_BUNDERLINE);
bbd.pwszText = LPGENW("&Underline");
- bbd.pwszTooltip = LPGENW("Make the text underlined (Ctrl+U)");
+ bbd.pwszTooltip = LPGENW("Make the text underlined");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_STRIKEOUT;
@@ -388,14 +388,14 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwDefPos = 30;
bbd.hIcon = g_plugin.getIconHandle(IDI_COLOR);
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");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_BKGCOLOR;
bbd.dwDefPos = 35;
bbd.hIcon = g_plugin.getIconHandle(IDI_BKGCOLOR);
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");
g_plugin.addButton(&bbd);
// chat buttons
@@ -404,21 +404,21 @@ int RegisterToolbarIcons(WPARAM, LPARAM)
bbd.dwDefPos = 30;
bbd.hIcon = g_plugin.getIconHandle(IDI_TOPICBUT);
bbd.pwszText = LPGENW("&Room settings");
- bbd.pwszTooltip = LPGENW("Control this room (Ctrl+O)");
+ bbd.pwszTooltip = LPGENW("Control this room");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_SHOWNICKLIST;
bbd.dwDefPos = 20;
bbd.hIcon = g_plugin.getIconHandle(IDI_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");
g_plugin.addButton(&bbd);
bbd.dwButtonID = IDC_SRMM_FILTER;
bbd.dwDefPos = 10;
bbd.hIcon = g_plugin.getIconHandle(IDI_FILTER);
bbd.pwszText = LPGENW("&Filter");
- bbd.pwszTooltip = LPGENW("Enable/disable the event filter (Ctrl+F)");
+ bbd.pwszTooltip = LPGENW("Enable/disable the event filter");
g_plugin.addButton(&bbd);
return 0;
}
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp
index 700026399d..1ae20570e6 100644
--- a/src/mir_app/src/srmm_base.cpp
+++ b/src/mir_app/src/srmm_base.cpp
@@ -871,8 +871,8 @@ void CSrmmBaseDialog::UpdateFilterButton()
Chat_SetFilters(m_si);
m_btnFilter.SendMsg(BUTTONADDTOOLTIP, (WPARAM)(m_bFilterEnabled
- ? TranslateT("Disable the event filter (Ctrl+F)")
- : TranslateT("Enable the event filter (Ctrl+F)")), BATF_UNICODE);
+ ? TranslateT("Disable the event filter")
+ : TranslateT("Enable the event filter")), BATF_UNICODE);
}
/////////////////////////////////////////////////////////////////////////////////////////