X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Fgeneral.h;h=816b0e0075ac008785ac08c3f7da5c36cbd97469;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=ac1708bfddbd1c2c4d5a4e8fb4ea4e235114ea88;hpb=8ef042c40521681cea99944097c4f90a5ac6cf74;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/general.h b/synfig-studio/trunk/src/synfigapp/general.h index ac1708b..816b0e0 100644 --- a/synfig-studio/trunk/src/synfigapp/general.h +++ b/synfig-studio/trunk/src/synfigapp/general.h @@ -1,11 +1,12 @@ /* === S Y N F I G ========================================================= */ -/*! \file synfigstudio/src/synfigapp/general.h +/*! \file synfigapp/general.h ** \brief Te ** ** $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 @@ -27,16 +28,24 @@ /* === H E A D E R S ======================================================= */ +#ifdef ENABLE_NLS #include +#endif /* === 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) +#else +#define _(x) (x) +#define N_(x) (x) +#define gettext(x) (x) +#endif /* === T Y P E D E F S ===================================================== */