summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-16 22:57:01 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-16 22:57:01 +0300
commit012c4cabbde8edc69a6309cb291246a26db1cf20 (patch)
tree2098036aea41ca8fdc44b0151e8ce37856a38944
parent0e51cec3d2d8b91d4d79379f691b53c2a0c76ec6 (diff)
section name to be also translated
-rw-r--r--plugins/StatusManager/src/ss_toolbars.cpp2
-rw-r--r--plugins/StatusManager/src/startupstatus.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StatusManager/src/ss_toolbars.cpp b/plugins/StatusManager/src/ss_toolbars.cpp
index e264d0126c..eabcef62b4 100644
--- a/plugins/StatusManager/src/ss_toolbars.cpp
+++ b/plugins/StatusManager/src/ss_toolbars.cpp
@@ -41,7 +41,7 @@ void RemoveTopToolbarButtons()
int CreateTopToolbarButtons(WPARAM, LPARAM)
{
if (iconList[0].hIcolib == nullptr)
- g_plugin.registerIcon("Toolbar/StartupStatus", iconList);
+ g_plugin.registerIcon(LPGEN("Toolbar") "/" LPGEN("StartupStatus"), iconList);
int profileCount = CallService(MS_SS_GETPROFILECOUNT, 0, 0);
diff --git a/plugins/StatusManager/src/startupstatus.h b/plugins/StatusManager/src/startupstatus.h
index 00cb69d4a5..9275ca5187 100644
--- a/plugins/StatusManager/src/startupstatus.h
+++ b/plugins/StatusManager/src/startupstatus.h
@@ -19,7 +19,7 @@
#ifndef __STARTUPSTATUSHEADER
#define __STARTUPSTATUSHEADER
-#define SSMODULENAME LPGEN("StartupStatus")
+#define SSMODULENAME "StartupStatus"
struct PROFILEOPTIONS : public MZeroedObject
{