fixes based on a pass over everything with autoconf/automake
[platform/upstream/flac.git] / src / plugin_xmms / mylocale.h
1 /* libxmms-flac - XMMS FLAC input plugin
2  *
3  * locale.h - 2000/05/05 13:10 Jerome Couderc
4  *  EasyTAG - Tag editor for MP3 and OGG files
5  *  Copyright (C) 1999-2001  H蛆ard Kv虱en <havardk@xmms.org>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20  */
21 /*
22  * Gettext support for EasyTAG
23  */
24
25
26
27 #ifndef __MY_LOCALE_H__
28 #define __MY_LOCALE_H__
29
30
31 #include <locale.h>
32
33 /*
34  * Standard gettext macros.
35  */
36 #ifdef ENABLE_NLS
37 #  include <libintl.h>
38 #  define _(String) gettext (String)
39 #  ifdef gettext_noop
40 #    define N_(String) gettext_noop (String)
41 #  else
42 #    define N_(String) (String)
43 #  endif
44 #else
45 #  define textdomain(String) (String)
46 #  define gettext(String) (String)
47 #  define dgettext(Domain,Message) (Message)
48 #  define dcgettext(Domain,Message,Type) (Message)
49 #  define bindtextdomain(Domain,Directory) (Domain)
50 #  define _(String) (String)
51 #  define N_(String) (String)
52 #endif
53
54
55 #endif /* __MY_LOCALE_H__ */