From 045c9a3a0abbfa52577c8715c779f4ed3b2ddf76 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 26 Mar 2014 20:22:19 +0000 Subject: too much noise around one translation... git-svn-id: http://svn.miranda-ng.org/main/trunk@8766 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/src/init.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/Clist_nicer/src/init.cpp') diff --git a/plugins/Clist_nicer/src/init.cpp b/plugins/Clist_nicer/src/init.cpp index 009d5bf4d3..c2841295d5 100644 --- a/plugins/Clist_nicer/src/init.cpp +++ b/plugins/Clist_nicer/src/init.cpp @@ -191,12 +191,6 @@ static int fnIconFromStatusMode(const char* szProto, int status, MCONTACT hConta return IconFromStatusMode(szProto, status, hContact, NULL); } -static int OnLangChange(WPARAM, LPARAM) -{ - cfg::dat.szNoEvents = TranslateT("No events..."); - return 0; -} - extern "C" int __declspec(dllexport) CListInitialise() { mir_getLP( &pluginInfo ); @@ -247,8 +241,6 @@ extern "C" int __declspec(dllexport) CListInitialise() cfg::dat.langPackCP = CallService(MS_LANGPACK_GETCODEPAGE, 0, 0); cfg::dat.realTimeSaving = cfg::getByte("CLUI", "save_pos_always", 0); - OnLangChange(0, 0); - DWORD sortOrder = cfg::getDword("CList", "SortOrder", SORTBY_NAME); cfg::dat.sortOrder[0] = LOBYTE(LOWORD(sortOrder)); cfg::dat.sortOrder[1] = HIBYTE(LOWORD(sortOrder)); @@ -317,7 +309,6 @@ extern "C" int __declspec(dllexport) CListInitialise() LoadButtonModule(); HookEvent(ME_SYSTEM_MODULESLOADED, systemModulesLoaded); - HookEvent(ME_LANGPACK_CHANGED, OnLangChange); return rc; } -- cgit v1.2.3