2003-11-05 22:07:47 +01:00
|
|
|
/* GLIB - Library of useful routines for C programming
|
|
|
|
* Copyright (C) 1995-1997, 2002 Peter Mattis, Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2017-01-05 12:47:07 +01:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2003-11-05 22:07:47 +01:00
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2014-01-23 12:58:29 +01:00
|
|
|
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
2003-11-05 22:07:47 +01:00
|
|
|
*/
|
2008-03-14 20:30:38 +01:00
|
|
|
|
2003-11-05 22:07:47 +01:00
|
|
|
#ifndef __G_I18N_H__
|
|
|
|
#define __G_I18N_H__
|
|
|
|
|
2008-03-14 20:30:38 +01:00
|
|
|
#include <glib.h>
|
|
|
|
|
2003-11-05 22:07:47 +01:00
|
|
|
#include <libintl.h>
|
2008-09-11 18:48:44 +02:00
|
|
|
#include <string.h>
|
2004-07-08 06:54:45 +02:00
|
|
|
|
2008-05-20 15:03:15 +02:00
|
|
|
#define _(String) gettext (String)
|
2007-12-10 06:24:36 +01:00
|
|
|
#define Q_(String) g_dpgettext (NULL, String, 0)
|
2003-11-05 22:07:47 +01:00
|
|
|
#define N_(String) (String)
|
2007-12-10 06:24:36 +01:00
|
|
|
#define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1)
|
2008-07-18 20:14:04 +02:00
|
|
|
#define NC_(Context, String) (String)
|
2007-11-23 08:50:54 +01:00
|
|
|
|
2003-11-05 22:07:47 +01:00
|
|
|
#endif /* __G_I18N_H__ */
|