From 6ca6109bae7413647a8478a32e62fb8b798633a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert=20P=C3=B6sel?= <robyer@seznam.cz>
Date: Mon, 8 Jul 2013 14:33:03 +0000
Subject: lpgen: garbage filter update. Popup and Tlen: translation fix.
 English langpack update.

git-svn-id: http://svn.miranda-ng.org/main/trunk@5280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/Popup/src/opt_gen.cpp | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

(limited to 'plugins')

diff --git a/plugins/Popup/src/opt_gen.cpp b/plugins/Popup/src/opt_gen.cpp
index 23cbb98aaf..dbabbb1217 100644
--- a/plugins/Popup/src/opt_gen.cpp
+++ b/plugins/Popup/src/opt_gen.cpp
@@ -52,18 +52,19 @@ int AddStatusMode (OPTTREE_OPTION *options, int pos, LPTSTR prefix, DWORD flag)
 	options[pos].iconIndex = 0;
 
 	lstrcpy(options[pos].pszOptionName, prefix);
+	lstrcat(options[pos].pszOptionName, _T("/"));
 	switch (flag)
 	{
-		case PF2_IDLE:		lstrcat(options[pos].pszOptionName, LPGENT("/Offline")); break;
-		case PF2_ONLINE:	lstrcat(options[pos].pszOptionName, LPGENT("/Online")); break;
-		case PF2_INVISIBLE:	lstrcat(options[pos].pszOptionName, LPGENT("/Invisible")); break;
-		case PF2_SHORTAWAY:	lstrcat(options[pos].pszOptionName, LPGENT("/Away")); break;
-		case PF2_LONGAWAY:	lstrcat(options[pos].pszOptionName, LPGENT("/NA")); break;
-		case PF2_LIGHTDND:	lstrcat(options[pos].pszOptionName, LPGENT("/Occupied")); break;
-		case PF2_HEAVYDND:	lstrcat(options[pos].pszOptionName, LPGENT("/DND")); break;
-		case PF2_FREECHAT:	lstrcat(options[pos].pszOptionName, LPGENT("/Free for chat")); break;
-		case PF2_OUTTOLUNCH:lstrcat(options[pos].pszOptionName, LPGENT("/Out to lunch")); break;
-		case PF2_ONTHEPHONE:lstrcat(options[pos].pszOptionName, LPGENT("/On the phone")); break;
+		case PF2_IDLE:		lstrcat(options[pos].pszOptionName, LPGENT("Offline")); break;
+		case PF2_ONLINE:	lstrcat(options[pos].pszOptionName, LPGENT("Online")); break;
+		case PF2_INVISIBLE:	lstrcat(options[pos].pszOptionName, LPGENT("Invisible")); break;
+		case PF2_SHORTAWAY:	lstrcat(options[pos].pszOptionName, LPGENT("Away")); break;
+		case PF2_LONGAWAY:	lstrcat(options[pos].pszOptionName, LPGENT("NA")); break;
+		case PF2_LIGHTDND:	lstrcat(options[pos].pszOptionName, LPGENT("Occupied")); break;
+		case PF2_HEAVYDND:	lstrcat(options[pos].pszOptionName, LPGENT("DND")); break;
+		case PF2_FREECHAT:	lstrcat(options[pos].pszOptionName, LPGENT("Free for chat")); break;
+		case PF2_OUTTOLUNCH:lstrcat(options[pos].pszOptionName, LPGENT("Out to lunch")); break;
+		case PF2_ONTHEPHONE:lstrcat(options[pos].pszOptionName, LPGENT("On the phone")); break;
 	}
 	return pos+1;
 }
-- 
cgit v1.2.3