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