diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-11 12:39:06 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-11 12:39:06 +0200 |
commit | 0f7a4af1683abfe892cb6d05536818a964d8cfe6 (patch) | |
tree | 13bb325aa8f5b390db1227c7875b0e406a43efec /PLUGINS/src/hello/hello.c | |
parent | 5b8fe34a0e8398a901eebe42c9385622d9bd7a22 (diff) | |
download | vdr-0f7a4af1683abfe892cb6d05536818a964d8cfe6.tar.gz vdr-0f7a4af1683abfe892cb6d05536818a964d8cfe6.tar.bz2 |
Switched I18N to gettext
Diffstat (limited to 'PLUGINS/src/hello/hello.c')
-rw-r--r-- | PLUGINS/src/hello/hello.c | 11 |
1 files changed, 5 insertions, 6 deletions
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 <getopt.h> #include <stdlib.h> +#include <vdr/i18n.h> #include <vdr/interface.h> #include <vdr/plugin.h> -#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; } |