gst-plugins-nuvdemux/gst-libs/gst/gst-i18n-plugin.h
author rosfran
Fri Oct 27 00:22:59 2006 +0100 (2006-10-27)
branchtrunk
changeset 59 b2b0169716dc
permissions -rw-r--r--
[svn r60] Some another minor fix, regarding live content.
rosfran@57
     1
/* GStreamer
rosfran@57
     2
 * Copyright (C) 2004 Thomas Vander Stichele <thomas@apestaart.org>
rosfran@57
     3
 *
rosfran@57
     4
 * gst-i18n-plugins.h: internationalization macros for the GStreamer plugins
rosfran@57
     5
 *
rosfran@57
     6
 * This library is free software; you can redistribute it and/or
rosfran@57
     7
 * modify it under the terms of the GNU Library General Public
rosfran@57
     8
 * License as published by the Free Software Foundation; either
rosfran@57
     9
 * version 2 of the License, or (at your option) any later version.
rosfran@57
    10
 *
rosfran@57
    11
 * This library is distributed in the hope that it will be useful,
rosfran@57
    12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
rosfran@57
    13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
rosfran@57
    14
 * Library General Public License for more details.
rosfran@57
    15
 *
rosfran@57
    16
 * You should have received a copy of the GNU Library General Public
rosfran@57
    17
 * License along with this library; if not, write to the
rosfran@57
    18
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
rosfran@57
    19
 * Boston, MA 02111-1307, USA.
rosfran@57
    20
 */
rosfran@57
    21
rosfran@57
    22
#ifndef __GST_I18N_PLUGIN_H__
rosfran@57
    23
#define __GST_I18N_PLUGIN_H__
rosfran@57
    24
rosfran@57
    25
#include <locale.h>  /* some people need it and some people don't */
rosfran@57
    26
#include "gettext.h" /* included with gettext distribution and copied */
rosfran@57
    27
rosfran@57
    28
#ifndef GETTEXT_PACKAGE
rosfran@57
    29
#error You must define GETTEXT_PACKAGE before including this header.
rosfran@57
    30
#endif
rosfran@57
    31
rosfran@57
    32
/* we want to use shorthand _() for translating and N_() for marking */
rosfran@57
    33
#define _(String) dgettext (GETTEXT_PACKAGE, String)
rosfran@57
    34
#define N_(String) gettext_noop (String)
rosfran@57
    35
/* FIXME: if we need it, we can add Q_ as well, like in glib */
rosfran@57
    36
rosfran@57
    37
#endif /* __GST_I18N_PLUGIN_H__ */