summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a7d8cfd)
raw | patch | inline | side by side (parent: a7d8cfd)
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) |
program/po/LINGUAS | [new file with mode: 0644] | patch | blob |
program/po/POTFILES.in | [new file with mode: 0644] | patch | blob |
program/src/rrd_i18n.h | [new file with mode: 0644] | patch | blob |
diff --git a/program/po/LINGUAS b/program/po/LINGUAS
--- /dev/null
+++ b/program/po/LINGUAS
@@ -0,0 +1 @@
+#
diff --git a/program/po/POTFILES.in b/program/po/POTFILES.in
--- /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
--- /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 <libintl.h>
+#define _(String) gettext (String)
+#else
+#define _(String) (String)
+#endif
+#define N_(String) (String)
+#endif
+
+
+#endif
+
+#ifdef __cplusplus
+}
+#endif