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=27d41147a8f450c87dd5fb94de0571a5f2f370b7;p=rrdtool.git added missing bits from internationalization git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1291 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..792d600 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1 @@ +# diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..eeacfcb --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,2 @@ +src/rrd_getopt.c +src/rrd_tool.c diff --git a/src/rrd_i18n.h b/src/rrd_i18n.h new file mode 100644 index 0000000..8e6fcea --- /dev/null +++ b/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