File: i18n.h

package info (click to toggle)
eject 2.0.13deb-8sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 384 kB
  • ctags: 69
  • sloc: ansic: 855; sh: 334; makefile: 107
file content (23 lines) | stat: -rw-r--r-- 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
    i18nized by:  KUN-CHUNG, HSIEH <linuxer@coventive.com>
		  Taiwan

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

    {ڤƳ]p:  ±X
*/

#ifndef __i18n__
   #define __i18n__
   #define PKG "eject"
   #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);

   void i18n_init (void);
#endif