summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clcpaint.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-26 20:22:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-26 20:22:19 +0000
commit045c9a3a0abbfa52577c8715c779f4ed3b2ddf76 (patch)
treefaa8bef7293b9e58be934edb55554b456c46ab20 /plugins/Clist_nicer/src/clcpaint.cpp
parentad90d3032fc8bf87f893c14ab8e2ef6b6f4b6c8e (diff)
too much noise around one translation...
git-svn-id: http://svn.miranda-ng.org/main/trunk@8766 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clcpaint.cpp')
-rw-r--r--plugins/Clist_nicer/src/clcpaint.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Clist_nicer/src/clcpaint.cpp b/plugins/Clist_nicer/src/clcpaint.cpp
index 039dc6300f..40434ce98e 100644
--- a/plugins/Clist_nicer/src/clcpaint.cpp
+++ b/plugins/Clist_nicer/src/clcpaint.cpp
@@ -230,7 +230,8 @@ void PaintNotifyArea(HDC hDC, RECT *rc)
}
else {
HICON hIcon = reinterpret_cast<HICON>(LoadImage(g_hInst, MAKEINTRESOURCE(IDI_BLANK), IMAGE_ICON, 16, 16, 0));
- DrawText(hDC, cfg::dat.szNoEvents, lstrlen(cfg::dat.szNoEvents), rc, DT_VCENTER | DT_SINGLELINE);
+ TCHAR *ptszNoEvents = TranslateT("No events...");
+ DrawText(hDC, ptszNoEvents, lstrlen(ptszNoEvents), rc, DT_VCENTER | DT_SINGLELINE);
DrawIconEx(hDC, 4, (rc->bottom + rc->top - 16) / 2, hIcon, 16, 16, 0, 0, DI_NORMAL | DI_COMPAT);
DestroyIcon(hIcon);
}