diff options
author | dartraiden <wowemuh@gmail.com> | 2021-12-04 21:18:17 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2021-12-04 21:18:17 +0300 |
commit | 5bbf5e5d4a2daf4f4496b9dba42b5d753706d01c (patch) | |
tree | ad1b1f3d40900d264b8e02044127655b27a62913 | |
parent | c6599302f4f68abad3e508dd63445280fc481a76 (diff) |
Make the name of the internal log translatable
-rw-r--r-- | plugins/Scriver/src/srmm.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/srmm.cpp | 2 | ||||
-rw-r--r-- | src/core/stdmsg/src/srmm.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Scriver/src/srmm.cpp b/plugins/Scriver/src/srmm.cpp index b687894c75..7d60777049 100644 --- a/plugins/Scriver/src/srmm.cpp +++ b/plugins/Scriver/src/srmm.cpp @@ -124,7 +124,7 @@ int CMPlugin::Load() if (IsWinVer7Plus())
CoCreateInstance(CLSID_TaskbarList, nullptr, CLSCTX_ALL, IID_ITaskbarList3, (void**)&pTaskbarInterface);
- hLogger = RegisterSrmmLog("built-in", L"Scriver internal log", &logBuilder);
+ hLogger = RegisterSrmmLog("built-in", LPGENW("Scriver internal log"), &logBuilder);
switch (getByte("UseIEView", -1)) {
case 1:
diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp index f680eca97e..cff59734c5 100644 --- a/plugins/TabSRMM/src/srmm.cpp +++ b/plugins/TabSRMM/src/srmm.cpp @@ -65,7 +65,7 @@ int CMPlugin::Load() { SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lfDefault), &lfDefault, FALSE); - hLogger = RegisterSrmmLog("built-in", L"tabSRMM internal log", &logBuilder); + hLogger = RegisterSrmmLog("built-in", LPGENW("tabSRMM internal log"), &logBuilder); Chat_Load(); diff --git a/src/core/stdmsg/src/srmm.cpp b/src/core/stdmsg/src/srmm.cpp index 4f9cb4086c..f63013bef8 100644 --- a/src/core/stdmsg/src/srmm.cpp +++ b/src/core/stdmsg/src/srmm.cpp @@ -52,7 +52,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_SRMM, int CMPlugin::Load()
{
- hLogger = RegisterSrmmLog("built-in", L"StdMsg internal log", &logBuilder);
+ hLogger = RegisterSrmmLog("built-in", LPGENW("StdMsg internal log"), &logBuilder);
Load_ChatModule();
return LoadSendRecvMessageModule();
|