rosfran@57: /* GStreamer rosfran@57: * Copyright (C) 2004 Thomas Vander Stichele rosfran@57: * rosfran@57: * gst-i18n-plugins.h: internationalization macros for the GStreamer plugins rosfran@57: * rosfran@57: * This library is free software; you can redistribute it and/or rosfran@57: * modify it under the terms of the GNU Library General Public rosfran@57: * License as published by the Free Software Foundation; either rosfran@57: * version 2 of the License, or (at your option) any later version. rosfran@57: * rosfran@57: * This library is distributed in the hope that it will be useful, rosfran@57: * but WITHOUT ANY WARRANTY; without even the implied warranty of rosfran@57: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU rosfran@57: * Library General Public License for more details. rosfran@57: * rosfran@57: * You should have received a copy of the GNU Library General Public rosfran@57: * License along with this library; if not, write to the rosfran@57: * Free Software Foundation, Inc., 59 Temple Place - Suite 330, rosfran@57: * Boston, MA 02111-1307, USA. rosfran@57: */ rosfran@57: rosfran@57: #ifndef __GST_I18N_PLUGIN_H__ rosfran@57: #define __GST_I18N_PLUGIN_H__ rosfran@57: rosfran@57: #include /* some people need it and some people don't */ rosfran@57: #include "gettext.h" /* included with gettext distribution and copied */ rosfran@57: rosfran@57: #ifndef GETTEXT_PACKAGE rosfran@57: #error You must define GETTEXT_PACKAGE before including this header. rosfran@57: #endif rosfran@57: rosfran@57: /* we want to use shorthand _() for translating and N_() for marking */ rosfran@57: #define _(String) dgettext (GETTEXT_PACKAGE, String) rosfran@57: #define N_(String) gettext_noop (String) rosfran@57: /* FIXME: if we need it, we can add Q_ as well, like in glib */ rosfran@57: rosfran@57: #endif /* __GST_I18N_PLUGIN_H__ */