From 23e627f51cbc2536d6f1dfe5c9ed00e3a370505f Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 14 Dec 2013 17:30:04 +0000 Subject: translation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@7211 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/database/dbutils.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/database/dbutils.cpp b/src/modules/database/dbutils.cpp index 75912a992a..5f2480c08c 100644 --- a/src/modules/database/dbutils.cpp +++ b/src/modules/database/dbutils.cpp @@ -137,12 +137,11 @@ static INT_PTR DbEventGetText(WPARAM wParam, LPARAM lParam) if (!nick.IsEmpty()) nick = _T("(") + nick + _T(")"); - text.Format(LPGENT("Authorization request from %s%s: %s"), + text.Format(TranslateT("Authorization request from %s%s: %s"), (*tszNick == 0) ? cli.pfnGetContactDisplayName(hContact, 0) : tszNick, nick, tszReason); return (egt->datatype == DBVT_WCHAR) ? (INT_PTR)mir_tstrdup(text) : (INT_PTR)mir_t2a(text); } - - if (dbei->eventType == EVENTTYPE_FILE) { + else if (dbei->eventType == EVENTTYPE_FILE) { char *buf = LPSTR(dbei->pBlob) + sizeof(DWORD); ptrT tszFileName(getEventString(dbei, buf)); ptrT tszDescription(getEventString(dbei, buf)); -- cgit v1.2.3