summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4fd831)
raw | patch | inline | side by side (parent: f4fd831)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 21 Feb 2008 06:59:19 +0000 (06:59 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 21 Feb 2008 06:59:19 +0000 (06:59 +0000) |
po/LINGUAS | [new file with mode: 0644] | patch | blob |
po/POTFILES.in | [new file with mode: 0644] | patch | blob |
src/rrd_i18n.h | [new file with mode: 0644] | patch | blob |
diff --git a/po/POTFILES.in b/po/POTFILES.in
--- /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
--- /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 <libintl.h>
+#define _(String) gettext (String)
+#else
+#define _(String) (String)
+#endif
+#define N_(String) (String)
+#endif
+
+
+#endif
+
+#ifdef __cplusplus
+}
+#endif