00001 /*************************************************************************** 00002 translate.h - description 00003 ------------------- 00004 begin : Tue Jan 29 2002 00005 copyright : (C) 2002 by Christian Tusche 00006 email : christian.tusche@stud.uni-goettingen.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef TRANSLATE_H 00019 #define TRANSLATE_H 00020 00024 #ifndef GETTEXT_DOMAIN 00025 #define GETTEXT_DOMAIN "libVideoFile" 00026 #endif 00027 00028 #include "config.h" 00029 00030 #ifdef ENABLE_NLS 00031 00032 #include <libintl.h> 00033 00036 #define _(msg) dgettext( GETTEXT_DOMAIN, msg ) 00037 00038 #else 00039 00042 #define _(msg) msg 00043 00044 00045 #endif 00046 00047 #endif