diff console/plugins/gntgf.c @ 14223:7c560c01b8f9

[gaim-migrate @ 16904] Add a plugin gnthistory. The plugin is a core plugin, but does not look good in gtkgaim. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 20 Aug 2006 16:45:57 +0000
parents d822e68acb3e
children d9aa45c10588
line wrap: on
line diff
--- a/console/plugins/gntgf.c	Sun Aug 20 16:38:10 2006 +0000
+++ b/console/plugins/gntgf.c	Sun Aug 20 16:45:57 2006 +0000
@@ -18,7 +18,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#define GAIM_PLUGINS
+
+#include "internal.h"
 
 #define PLUGIN_STATIC_NAME	"GntGf"
 
@@ -47,8 +48,6 @@
 
 #include <gntplugin.h>
 
-#define _(X) X
-
 typedef struct
 {
 	GntWidget *window;
@@ -202,10 +201,10 @@
 	char *display;
 } prefs[] =
 {
-	{PREFS_EVENT_SIGNONF, _("Buddy signs on/off")},
-	{PREFS_EVENT_IM_MSG, _("You receive an IM")},
-	{PREFS_EVENT_CHAT_MSG, _("Someone speaks in a chat")},
-	{PREFS_EVENT_CHAT_NICK, _("Someone says your name in a chat")},
+	{PREFS_EVENT_SIGNONF, N_("Buddy signs on/off")},
+	{PREFS_EVENT_IM_MSG, N_("You receive an IM")},
+	{PREFS_EVENT_CHAT_MSG, N_("Someone speaks in a chat")},
+	{PREFS_EVENT_CHAT_NICK, N_("Someone says your name in a chat")},
 	{NULL, NULL}
 };