Prevent compile errors in plugins when GETTEXT_PACKAGE is not defined.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3440 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
077270c647
commit
4b9851962f
@ -1,3 +1,10 @@
|
||||
2009-01-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* src/support.h:
|
||||
Prevent compile errors in plugins when GETTEXT_PACKAGE is not
|
||||
defined.
|
||||
|
||||
|
||||
2009-01-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* src/interface.c, src/keybindings.c, src/geanyobject.c,
|
||||
|
@ -23,4 +23,14 @@
|
||||
|
||||
#include "geany.h"
|
||||
|
||||
#include <glib/gi18n-lib.h>
|
||||
#ifdef GETTEXT_PACKAGE
|
||||
# include <glib/gi18n-lib.h>
|
||||
#else
|
||||
# define textdomain(String) (String)
|
||||
# define bind_textdomain_codeset(String) (String)
|
||||
# define bindtextdomain(Domain,Charset) (Domain)
|
||||
# define ngettext(String) (String)
|
||||
# define _(String) String
|
||||
# define Q_(String) g_strip_context((String), (String))
|
||||
# define N_(String) String
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user