From de1d4b7048bb2cf6b117b5792a9f17e494a9dc39 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Thu, 14 Mar 2013 12:54:37 +0000 Subject: - translation fixes (patch from Basil) git-svn-id: http://svn.miranda-ng.org/main/trunk@4022 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirOTR/MirOTR/src/icons.cpp | 2 +- plugins/MirOTR/MirOTR/src/options.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/MirOTR/MirOTR/src/icons.cpp b/plugins/MirOTR/MirOTR/src/icons.cpp index b9dbac20c8..ee232612a9 100644 --- a/plugins/MirOTR/MirOTR/src/icons.cpp +++ b/plugins/MirOTR/MirOTR/src/icons.cpp @@ -12,7 +12,7 @@ static IconItem iconList[] = { void InitIcons() { - Icon_Register(hInst, LPGEN("Off the Record"), iconList, SIZEOF(iconList)); + Icon_Register(hInst, "OTR", iconList, SIZEOF(iconList)); } HICON LoadIcon(const char* name, int big) { diff --git a/plugins/MirOTR/MirOTR/src/options.cpp b/plugins/MirOTR/MirOTR/src/options.cpp index 98c7425504..5def9d9470 100644 --- a/plugins/MirOTR/MirOTR/src/options.cpp +++ b/plugins/MirOTR/MirOTR/src/options.cpp @@ -40,7 +40,7 @@ int FoldersChanged(WPARAM wParam, LPARAM lParam) void LoadFilenames() { - if (hPATH_MIROTR = FoldersRegisterCustomPath(MODULENAME, LPGEN("Private Data"), DATA_DIRECTORY)) { + if (hPATH_MIROTR = FoldersRegisterCustomPath("OTR", LPGEN("Private Data"), DATA_DIRECTORY)) { HookEvent(ME_FOLDERS_PATH_CHANGED, FoldersChanged); // get the path - above are only defaults - there may be a different value in the db @@ -106,7 +106,7 @@ extern "C" int OpenOptions(WPARAM wParam, LPARAM lParam) odp.position = 100; odp.hInstance = hInst; odp.ptszGroup = LPGENT("Services"); - odp.ptszTitle = _T(MODULENAME); + odp.ptszTitle = _T("OTR"); odp.flags = ODPF_BOLDGROUPS|ODPF_TCHAR; odp.ptszTab = _T(LANG_OPT_GENERAL); -- cgit v1.2.3