Blame gst-libs/gst/gst-i18n-plugin.h

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