1 #ifndef I18N_H_INCLUDED
2 #define I18N_H_INCLUDED 1
5 * I18N_ORIGINAL_LANG ...the language of the original document files (*.html).
7 #define I18N_ORIGINAL_LANG "en"
9 /* these constants are defined in Makefile.
11 * I18N_PACKAGE ...package name "i18n_swat" defined in configure.in.
12 * I18N_LOCALEDIR ...directory to put message catalogs.
13 * I18N_LOCALE_FILE ...filename of the language-locale map file.
17 #define I18N_GETTEXT 1
18 #endif /* ENABLE_NLS */
20 /* if NLS is disabled (ENABLE_NLS == 0), configure script will
21 * automatically creates intl/libintl.h -> intl/libgettext.h (symlink)
22 * and gettext(str) is defined as (str) in that file.
25 #define _(String) gettext(String)
26 #define N_(String) (String)
29 #define LN_(fname) ln_get_pref_file_n_o(fname)
31 #define LN_(fname) (fname)
32 #endif /* I18N_SWAT */
34 /* global function pointers defined in kanji.c. */
35 extern char *(*dos_to_dos)(char *to, const char *from);
37 /* ******************************************************************
38 * macros for debugging.
39 ***************************************************************** */
40 #define LN_R_NODEBUG 1
42 #define rassert(b) (void)0
43 #define rstrace(s) (void)0
46 void ln_debug_error(const char *info, int nLine);
47 void rassert_help(BOOL b, int l);
48 #define rassert(b) rassert_help((BOOL)(b), (__LINE__))
49 #define rstrace(s) ln_debug_error((s), (__LINE__))
50 #endif /* LN_R_NODEBUG */
52 #endif /* I18N_H_INCLUDED */