projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove .gitignore do nothing is ignored.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
synfigapp
/
general.h
diff --git
a/synfig-studio/trunk/src/synfigapp/general.h
b/synfig-studio/trunk/src/synfigapp/general.h
index
817624b
..
816b0e0
100644
(file)
--- a/
synfig-studio/trunk/src/synfigapp/general.h
+++ b/
synfig-studio/trunk/src/synfigapp/general.h
@@
-5,7
+5,8
@@
** $Id$
**
** \legal
** $Id$
**
** \legal
-** Copyright 2007 Paul Wise
+** Copyright (c) 2007 Paul Wise
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-27,16
+28,24
@@
/* === H E A D E R S ======================================================= */
/* === H E A D E R S ======================================================= */
+#ifdef ENABLE_NLS
#include <libintl.h>
#include <libintl.h>
+#endif
/* === M A C R O S ========================================================= */
#undef _
#undef gettext_noop
#undef N_
/* === M A C R O S ========================================================= */
#undef _
#undef gettext_noop
#undef N_
+#ifdef ENABLE_NLS
#define _(x) dgettext("synfigstudio",x)
#define gettext_noop(x) x
#define N_(x) gettext_noop(x)
#define _(x) dgettext("synfigstudio",x)
#define gettext_noop(x) x
#define N_(x) gettext_noop(x)
+#else
+#define _(x) (x)
+#define N_(x) (x)
+#define gettext(x) (x)
+#endif
/* === T Y P E D E F S ===================================================== */
/* === T Y P E D E F S ===================================================== */