OSDN Git Service

Android.mk: set LOCAL_MODULE_TAGS correctly
[android-x86/external-eject.git] / i18n.h
1 /*
2     i18nized by:  KUN-CHUNG, HSIEH <linuxer@coventive.com>
3                   Taiwan
4
5     Homepage: http://www.geocities.com/linux4tw/
6
7     程式國際化設計:  謝崑中
8 */
9
10 #include <features.h>
11 #ifndef __i18n__
12 # ifdef USE_NLS
13    #define PKG "eject"
14    #define __i18n__
15    #define LOCALEDIR "/usr/share/locale"
16    #include <locale.h>
17    #include <libintl.h>
18    #define _(str) gettext (str)
19    #define N_(str) (str)
20    #define I18NCODE setlocale(LC_ALL,""); textdomain(PKG); bindtextdomain(PKG,LOCALEDIR);
21 # else
22    #define _(str) (str)
23    #define N_(str) (str)
24    #define I18NCODE
25 # endif
26 #endif