aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-09-23 18:42:24 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-09-23 18:42:24 +0000
commit2b74f5b7671e2cb7d4d71d8e5167c5965a1784e9 (patch)
tree88417f5fec14aa97d75dba5f712078ad5d5e66bf /fm.h
parentcd in subdir (diff)
downloadw3m-2b74f5b7671e2cb7d4d71d8e5167c5965a1784e9.tar.gz
w3m-2b74f5b7671e2cb7d4d71d8e5167c5965a1784e9.zip
gettextize initial modifications
Diffstat (limited to '')
-rw-r--r--fm.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/fm.h b/fm.h
index 1a78821..c48481d 100644
--- a/fm.h
+++ b/fm.h
@@ -1,4 +1,4 @@
-/* $Id: fm.h,v 1.120 2003/09/22 21:02:18 ukai Exp $ */
+/* $Id: fm.h,v 1.121 2003/09/23 18:42:25 ukai Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -46,6 +46,28 @@
#include "wc.h"
#include "wtf.h"
#endif
+
+#ifdef HAVE_LOCALE_H
+#include <locale.h>
+#endif
+#if !HAVE_SETLOCALE
+#define setlocale(category, locale) /* empty */
+#endif
+
+#if ENABLE_NLS
+#include <libintl.h>
+#define _(String) gettext (String)
+#define N_(String) (String)
+#else
+# undef bindtextdomain
+# define bindtextdomain(Domain, Directory) /* empty */
+# undef textdomain
+# define textdomain(Domain) /* empty */
+# define _(Text) Text
+# define N_(Text) Text
+# define gettext(Text) Text
+#endif
+
#include "form.h"
#include "frame.h"
#include "parsetag.h"