00001 /* === S Y N F I G ========================================================= */ 00022 /* ========================================================================= */ 00023 00024 /* === S T A R T =========================================================== */ 00025 00026 #ifndef __SYNFIGAPP_GENERAL_H 00027 #define __SYNFIGAPP_GENERAL_H 00028 00029 /* === H E A D E R S ======================================================= */ 00030 00031 #ifdef ENABLE_NLS 00032 #include <libintl.h> 00033 #endif 00034 00035 /* === M A C R O S ========================================================= */ 00036 00037 #undef _ 00038 #undef gettext_noop 00039 #undef N_ 00040 #ifdef ENABLE_NLS 00041 #define _(x) dgettext("synfigstudio",x) 00042 #define gettext_noop(x) x 00043 #define N_(x) gettext_noop(x) 00044 #else 00045 #define _(x) (x) 00046 #define N_(x) (x) 00047 #define gettext(x) (x) 00048 #endif 00049 00050 /* === T Y P E D E F S ===================================================== */ 00051 00052 /* === C L A S S E S & S T R U C T S ======================================= */ 00053 00054 /* === E N D =============================================================== */ 00055 00056 #endif