From: oetiker Date: Thu, 21 Feb 2008 06:59:19 +0000 (+0000) Subject: added missing bits from internationalization X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=34ec04985be181a21e85c2c5872d83878aa3eec1;p=rrdtool-all.git added missing bits from internationalization git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1291 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/po/LINGUAS b/program/po/LINGUAS new file mode 100644 index 00000000..792d6005 --- /dev/null +++ b/program/po/LINGUAS @@ -0,0 +1 @@ +# diff --git a/program/po/POTFILES.in b/program/po/POTFILES.in new file mode 100644 index 00000000..eeacfcb0 --- /dev/null +++ b/program/po/POTFILES.in @@ -0,0 +1,2 @@ +src/rrd_getopt.c +src/rrd_tool.c diff --git a/program/src/rrd_i18n.h b/program/src/rrd_i18n.h new file mode 100644 index 00000000..8e6fcea7 --- /dev/null +++ b/program/src/rrd_i18n.h @@ -0,0 +1,31 @@ +/***************************************************************************** + * RRDtool 1.2.19 Copyright by Takao Fujiwara, 2008 + ***************************************************************************** + * rrd_i18n.h Common Header File + *****************************************************************************/ +#ifdef __cplusplus +extern "C" { +#endif + + +#ifndef _RRD_I18N_H +#define _RRD_I18N_H + +#ifndef _ +/* This is for other GNU distributions with internationalized messages. + When compiling libc, the _ macro is predefined. */ +#ifdef HAVE_LIBINTL_H +# include +#define _(String) gettext (String) +#else +#define _(String) (String) +#endif +#define N_(String) (String) +#endif + + +#endif + +#ifdef __cplusplus +} +#endif