From 288d3417d7d7a0a641e137aa27ff1a12964cdc5e Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 18 Mar 2013 13:14:18 +0000 Subject: - translation fixes (patch from Basil) git-svn-id: http://svn.miranda-ng.org/main/trunk@4092 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/main.cpp | 2 +- plugins/YAMN/src/main.cpp | 2 +- protocols/Gadu-Gadu/src/gg_proto.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index be8ba531fb..81f3a3aafb 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -292,7 +292,7 @@ static int ModulesLoaded(WPARAM wParam,LPARAM lParam) HookEvent(ME_TTB_MODULELOADED, TTBLoaded); //Folder plugin support LPTSTR pszPath = mir_a2t(MIRANDA_PATH "\\Skins\\PopUp"); - folderId = FoldersRegisterCustomPathT(MODULNAME_LONG, LPGEN("Skins"), pszPath); + folderId = FoldersRegisterCustomPathT(LPGEN("PopUps"), LPGEN("Skins"), pszPath); mir_free(pszPath); //load skin skins.load(_T("dir")); diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index f5796e5225..302bd2e81c 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -221,7 +221,7 @@ int SystemModulesLoaded(WPARAM, LPARAM) CheckMenuItems(); - if (hAccountFolder = FoldersRegisterCustomPathT(YAMN_DBMODULE, YAMN_DBMODULE" Account Folder", UserDirectory)) + if (hAccountFolder = FoldersRegisterCustomPathT(LPGEN("YAMN"), LPGEN("Account Folder"), UserDirectory)) FoldersGetCustomPathT(hAccountFolder, UserDirectory, MAX_PATH, UserDirectory); RegisterPOP3Plugin(0, 0); diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp index af082ae1f3..6cb123ca73 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.cpp +++ b/protocols/Gadu-Gadu/src/gg_proto.cpp @@ -70,7 +70,7 @@ GGPROTO::GGPROTO(const char* pszProtoName, const TCHAR* tszUserName) hAvatarsFolder = FoldersRegisterCustomPathT(LPGEN("Avatars"), m_szModuleName, szPath, m_tszUserName); mir_sntprintf(szPath, MAX_PATH, _T("%s\\%s\\ImageCache"), (TCHAR*)VARST( _T("%miranda_userdata%")), m_tszUserName); - hImagesFolder = FoldersRegisterCustomPathT("Images", m_szModuleName, szPath, m_tszUserName); + hImagesFolder = FoldersRegisterCustomPathT(LPGEN("Images"), m_szModuleName, szPath, m_tszUserName); DWORD dwVersion; if ((dwVersion = db_get_dw(NULL, m_szModuleName, GG_PLUGINVERSION, 0)) < pluginInfo.version) -- cgit v1.2.3