2005-11-22 12:26:26 +00:00
|
|
|
/*
|
2008-12-18 21:21:53 +00:00
|
|
|
* support.h - this file is part of Geany, a fast and lightweight IDE
|
|
|
|
*
|
2012-06-18 01:13:05 +02:00
|
|
|
* Copyright 2006-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
|
|
|
* Copyright 2006-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
2008-12-18 21:21:53 +00:00
|
|
|
*
|
|
|
|
* 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; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
2012-08-24 19:25:57 +02:00
|
|
|
* 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.
|
2005-11-22 12:26:26 +00:00
|
|
|
*/
|
|
|
|
|
2009-10-26 12:58:52 +00:00
|
|
|
/**
|
|
|
|
* @file support.h
|
|
|
|
* Defines internationalization macros.
|
|
|
|
* @see GLib's @c gi18n-lib.h.
|
|
|
|
**/
|
|
|
|
|
2014-05-18 17:07:50 -07:00
|
|
|
#ifndef GEANY_SUPPORT_H
|
|
|
|
#define GEANY_SUPPORT_H 1
|
|
|
|
|
2014-05-18 15:49:22 -07:00
|
|
|
#include <glib.h>
|
2009-10-26 12:58:52 +00:00
|
|
|
|
2014-05-18 15:49:22 -07:00
|
|
|
G_BEGIN_DECLS
|
2005-11-22 12:26:26 +00:00
|
|
|
|
2009-01-03 16:22:09 +00:00
|
|
|
#ifdef GETTEXT_PACKAGE
|
|
|
|
# include <glib/gi18n-lib.h>
|
|
|
|
#else
|
2014-05-19 22:57:14 -07:00
|
|
|
# define GETTEXT_PACKAGE NULL
|
2009-01-03 16:22:09 +00:00
|
|
|
# define textdomain(String) (String)
|
2014-05-19 22:57:14 -07:00
|
|
|
# define bind_textdomain_codeset(Domain,Codeset) (Codeset)
|
|
|
|
# define bindtextdomain(Domain,Dir) (Dir)
|
|
|
|
# define ngettext(String,PluralString,Number) (((Number) == 1) ? (String) : (PluralString))
|
2009-01-03 16:22:09 +00:00
|
|
|
# define _(String) String
|
|
|
|
# define N_(String) String
|
2014-05-19 22:57:14 -07:00
|
|
|
# define C_(Context,String) (String)
|
2009-01-03 16:22:09 +00:00
|
|
|
#endif
|
2012-03-28 22:50:18 -07:00
|
|
|
|
|
|
|
G_END_DECLS
|
2014-05-18 17:07:50 -07:00
|
|
|
|
|
|
|
#endif /* GEANY_SUPPORT_H */
|