File: i18n.h

package info (click to toggle)
eject 2.1.4-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 692 kB
  • ctags: 92
  • sloc: ansic: 1,101; sh: 791; makefile: 123
file content (27 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
    i18nized by:  KUN-CHUNG, HSIEH <linuxer@coventive.com>
		  Taiwan

    Homepage: http://www.geocities.com/linux4tw/

    {ڤƳ]p:  ±X
*/

#include <features.h>
#ifndef __i18n__
# ifdef USE_NLS
   #define PKG "eject"
   #define __i18n__
   #define LOCALEDIR "/usr/share/locale"
   #include <locale.h>
   #include <libintl.h>
   #define _(str) gettext (str)
   #define N_(str) (str)
   #define I18NCODE setlocale(LC_ALL,""); textdomain(PKG); bindtextdomain(PKG,LOCALEDIR);
# else
   #define _(str) (str)
   #define N_(str) (str)
   #define I18NCODE
# endif
#endif