• Main Page
  • Related Pages
  • Classes
  • Files
  • File List
  • File Members

i18n.h

Go to the documentation of this file.
00001 /*  Audacious
00002  *  Copyright (c) 2006-2007 William Pitcock
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; under version 3 of the License.
00007  *
00008  *  This program is distributed in the hope that it will be useful,
00009  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  *  GNU General Public License for more details.
00012  *
00013  *  You should have received a copy of the GNU General Public License
00014  *  along with this program.  If not, see <http://www.gnu.org/licenses>.
00015  *
00016  *  The Audacious team does not consider modular code linking to
00017  *  Audacious or using our public API to be a derived work.
00018  */
00019 
00020 #ifndef AUDACIOUS_I18N_H
00021 #define AUDACIOUS_I18N_H
00022 
00023 #include <glib.h>
00024 #include <libintl.h>
00025 
00026 #define _(String) dgettext (PACKAGE, String)
00027 #define Q_(String) g_strip_context ((String), dgettext (PACKAGE, String))
00028 #ifdef gettext_noop
00029 #define N_(String) gettext_noop (String)
00030 #else
00031 #define N_(String) (String)
00032 #endif
00033 
00034 #endif /* AUDACIOUS_I18N_H */

Generated on Wed Apr 6 2011 for Audacious by  doxygen 1.7.1