view src/audacious/i18n.h @ 2884:976d8657b476 trunk

Backed out changeset bb41a2e8ecbe90ba5509ca7da17503371b7e99d3
author William Pitcock <nenolod@atheme.org>
date Sun, 24 Jun 2007 05:32:11 -0500
parents bb41a2e8ecbe
children
line wrap: on
line source

/*  Audacious
 *  Copyright (c) 2006-2007 William Pitcock
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; under version 2 of the License.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 *  02110-1301, USA.
 */

#ifndef __AUDACIOUS_I18N_H__
#define __AUDACIOUS_I18N_H__

#include <glib/gstrfuncs.h>
#include <libintl.h>

#define _(String) dgettext (PACKAGE, String)
#define Q_(String) g_strip_context ((String), dgettext (PACKAGE, String))
#ifdef gettext_noop
#define N_(String) gettext_noop (String)
#else
#define N_(String) (String)
#endif

#endif