From 0f7a4af1683abfe892cb6d05536818a964d8cfe6 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 11 Aug 2007 12:39:06 +0200 Subject: Switched I18N to gettext --- PLUGINS/src/hello/hello.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'PLUGINS/src/hello/hello.c') diff --git a/PLUGINS/src/hello/hello.c b/PLUGINS/src/hello/hello.c index 05ae9df9..96403389 100644 --- a/PLUGINS/src/hello/hello.c +++ b/PLUGINS/src/hello/hello.c @@ -3,18 +3,18 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: hello.c 1.12 2006/04/22 09:31:52 kls Exp $ + * $Id: hello.c 1.13 2007/08/11 09:31:17 kls Exp $ */ #include #include +#include #include #include -#include "i18n.h" -static const char *VERSION = "0.1.1"; -static const char *DESCRIPTION = "A friendly greeting"; -static const char *MAINMENUENTRY = "Hello"; +static const char *VERSION = "0.2.0"; +static const char *DESCRIPTION = trNOOP("A friendly greeting"); +static const char *MAINMENUENTRY = trNOOP("Hello"); class cPluginHello : public cPlugin { private: @@ -115,7 +115,6 @@ bool cPluginHello::ProcessArgs(int argc, char *argv[]) bool cPluginHello::Start(void) { // Start any background activities the plugin shall perform. - RegisterI18n(Phrases); return true; } -- cgit v1.2.3