2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
+ * ABOUT-NLS: removed, is autogenerated from autopoint
+ * autogen.sh: add autopoint stuff
+ * configure.ac: fix up gettext stuff
+ * gst/Makefile.am: add i18n headers to noinst_HEADERS
+ * gst/elements/gsttypefindelement.c: add header include
+ * gst/gettext.h: add header, copy from system-installed header
+ * gst/gst-i18n-app.h: to be included by each app having translations
+ * gst/gst-i18n-lib.h: to be included by each lib having translations
+ * gst/gst.c: (init_pre): fix up gettext calls
+ * gst/gst_private.h: remove i18n stuff, moving to separate headers
+ * po/LINGUAS: the new way to specify translations present
+ * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
+ * po/Makevars: the variables filled in for GStreamer
+ * po/POTFILES.in: added new files with translations
+ * po/de.po: has new strings
+ * po/nl.po: readded, has new strings
+
+2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
+
* gst/gsttag.c: fix some strings marked for translation
2004-01-13 Iain <iain@prettypeople.org>
"ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 52 || DIE=1
version_check "automake" "$AUTOMAKE automake automake-1.7 automake17 automake-1.6" \
"ftp://ftp.gnu.org/pub/gnu/automake/" 1 6 || DIE=1
+version_check "autopoint" "autopoint" \
+ "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 12 1 || DIE=1
version_check "libtoolize" "libtoolize libtoolize14" \
"ftp://ftp.gnu.org/pub/gnu/libtool/" 1 4 0 || DIE=1
version_check "pkg-config" "" \
toplevel_check $srcfile
+# autopoint: first remove patch if necessary, then run autopoint, then reapply
+if test -f po/Makefile.in.in;
+then
+ patch -p0 -R < common/gettext.patch
+fi
+tool_run "$autopoint"
+patch -p0 < common/gettext.patch
+
+# aclocal
if test -f acinclude.m4; then rm acinclude.m4; fi
tool_run "$aclocal" "-I common/m4 $ACLOCAL_FLAGS"
-Subproject commit cd5507ae3df8dc48c07df9e37878846b6b79faa1
+Subproject commit c81ad072c76522175cbddead96d6f3c448068d67
AM_CONFIG_HEADER(config.h)
dnl Add parameters for aclocal
-dnl (This must come after AM_INIT_AUTOMAKE, since it modifies ACLOCAL)
-ACLOCAL="$ACLOCAL -I common/m4 $ACLOCAL_FLAGS"
+AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
AM_PROG_CC_STDC
AM_PROG_AS
AS="${CC}"
-dnl AC_PROC_INTLTOOL([0.26])
-dnl AM_GNU_GETTEXT([external])
-ALL_LINGUAS="de es no nl"
+dnl the gettext stuff needed
+AM_GNU_GETTEXT_VERSION(0.12)
+AM_GNU_GETTEXT([external])
+
GETTEXT_PACKAGE=gstreamer-$GST_VERSION_MAJOR.$GST_VERSION_MINOR
AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],"$GETTEXT_PACKAGE",[gettext package name])
-AM_GLIB_GNU_GETTEXT
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
+ [gettext package name])
+
+dnl define LOCALEDIR in config.h
+AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
+AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",
+ [gettext locale dir])
-AM_GLIB_DEFINE_LOCALEDIR(GST_LOCALEDIR)
dnl decide on error flags
AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",GST_ERROR="$GST_ERROR")
libgstreamer_@GST_MAJORMINOR@include_HEADERS = $(gst_headers) $(built_headers)
noinst_HEADERS = \
+ gst-i18n-lib.h \
+ gst-i18n-app.h \
gst_private.h \
gstatomic_impl.h \
gstdata_private.h \
#include "gsttypefindelement.h"
#include "gst/gst_private.h"
+#include "gst/gst-i18n-lib.h"
#include <gst/gsttypefind.h>
#include <gst/gstutils.h>
#include "gsttypefindelement.h"
#include "gst/gst_private.h"
+#include "gst/gst-i18n-lib.h"
#include <gst/gsttypefind.h>
#include <gst/gstutils.h>
--- /dev/null
+/* Convenience header for conditional use of GNU <libintl.h>.
+ Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public License as published
+ by the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ USA. */
+
+#ifndef _LIBGETTEXT_H
+#define _LIBGETTEXT_H 1
+
+/* NLS can be disabled through the configure --disable-nls option. */
+#if ENABLE_NLS
+
+/* Get declarations of GNU message catalog functions. */
+# include <libintl.h>
+
+#else
+
+/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which
+ chokes if dcgettext is defined as a macro. So include it now, to make
+ later inclusions of <locale.h> a NOP. We don't include <libintl.h>
+ as well because people using "gettext.h" will not include <libintl.h>,
+ and also including <libintl.h> would fail on SunOS 4, whereas <locale.h>
+ is OK. */
+#if defined(__sun)
+# include <locale.h>
+#endif
+
+/* Disabled NLS.
+ The casts to 'const char *' serve the purpose of producing warnings
+ for invalid uses of the value returned from these functions.
+ On pre-ANSI systems without 'const', the config.h file is supposed to
+ contain "#define const". */
+# define gettext(Msgid) ((const char *) (Msgid))
+# define dgettext(Domainname, Msgid) ((const char *) (Msgid))
+# define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid))
+# define ngettext(Msgid1, Msgid2, N) \
+ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
+# define dngettext(Domainname, Msgid1, Msgid2, N) \
+ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
+# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
+ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
+# define textdomain(Domainname) ((const char *) (Domainname))
+# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
+# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
+
+#endif
+
+/* A pseudo function call that serves as a marker for the automated
+ extraction of messages, but does not call gettext(). The run-time
+ translation is done at a different place in the code.
+ The argument, String, should be a literal string. Concatenated strings
+ and other string expressions won't work.
+ The macro's expansion is not parenthesized, so that it is suitable as
+ initializer for static 'char[]' or 'const char[]' variables. */
+#define gettext_noop(String) String
+
+#endif /* _LIBGETTEXT_H */
--- /dev/null
+/* GStreamer
+ * Copyright (C) 2004 Thomas Vander Stichele <thomas@apestaart.org>
+ *
+ * gst-i18n-app.h: internationalization macros for the GStreamer tools
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+
+#ifndef __GST_I18N_APP_H__
+#define __GST_I18N_APP_H__
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include "gettext.h" /* included with gettext distribution and copied */
+
+/* we want to use shorthand _() for translating and N_() for marking */
+#define _(String) gettext (String)
+#define N_(String) gettext_noop (String)
+/* FIXME: if we need it, we can add Q_ as well, like in glib */
+
+#endif /* __GST_I18N_APP_H__ */
--- /dev/null
+/* GStreamer
+ * Copyright (C) 2004 Thomas Vander Stichele <thomas@apestaart.org>
+ *
+ * gst-i18n-lib.h: internationalization macros for the GStreamer libraries
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+
+#ifndef __GST_I18N_LIB_H__
+#define __GST_I18N_LIB_H__
+
+#include "gettext.h" /* included with gettext distribution and copied */
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#ifndef GETTEXT_PACKAGE
+#error You must define GETTEXT_PACKAGE before including this header.
+#endif
+
+/* we want to use shorthand _() for translating and N_() for marking */
+#define _(String) dgettext (GETTEXT_PACKAGE, String)
+#define N_(String) gettext_noop (String)
+/* FIXME: if we need it, we can add Q_ as well, like in glib */
+
+#endif /* __GST_I18N_LIB_H__ */
#include <stdio.h>
#include "gst_private.h"
+#include "gst-i18n-lib.h"
#include "gst.h"
#include "gstqueue.h"
_gst_debug_init();
#ifdef ENABLE_NLS
- bindtextdomain (GETTEXT_PACKAGE, GST_LOCALEDIR);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ setlocale (LC_ALL, "");
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ textdomain (GETTEXT_PACKAGE);
#endif /* ENABLE_NLS */
#ifndef GST_DISABLE_REGISTRY
# include "config.h"
#endif
-/***** until we have gettext set up properly, don't even try this*/
-
-# ifdef ENABLE_NLS
-# include <libintl.h>
-# define _(String) dgettext(GETTEXT_PACKAGE,String)
-# ifdef gettext_noop
-# define N_(String) gettext_noop(String)
-# else /* gettext_noop */
-# define N_(String) (String)
-# endif /* gettext_noop */
-# else /* ENABLE_NLS */
-# define _(String) (String)
-# define N_(String) (String)
-# define textdomain(String) (String)
-# define gettext(String) (String)
-# define dgettext(Domain,String) (String)
-# define dcgettext(Domain,String,Type) (String)
-# define bindtextdomain(Domain,Directory) (Domain)
-# endif /* ENABLE_NLS */
-
#include <stdlib.h>
#include <string.h>
#include "gsttypefindelement.h"
#include "gst/gst_private.h"
+#include "gst/gst-i18n-lib.h"
#include <gst/gsttypefind.h>
#include <gst/gstutils.h>
#include "gsttypefindelement.h"
#include "gst/gst_private.h"
+#include "gst/gst-i18n-lib.h"
#include <gst/gsttypefind.h>
#include <gst/gstutils.h>
+++ /dev/null
-# Makefile for PO directory in any package using GNU gettext.
-# Copyright (C) 1995-1997, 2000-2003 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
-#
-# This file can be copied and used freely without restrictions. It can
-# be used in projects which are not available under the GNU General Public
-# License but which still want to provide support for the GNU gettext
-# functionality.
-# Please note that the actual code of GNU gettext is covered by the GNU
-# General Public License and is *not* in the public domain.
-
-# - Modified by Owen Taylor <otaylor@redhat.com> to use GETTEXT_PACKAGE
-# instead of PACKAGE and to look for po2tbl in ./ not in intl/
-
-GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
-PACKAGE = @PACKAGE@
-VERSION = @VERSION@
-
-DOMAIN = $(GETTEXT_PACKAGE)
-XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
-COPYRIGHT_HOLDER = GStreamer core team
-MSGID_BUGS_ADDRESS = "http://bugzilla.gnome.org"
-EXTRA_LOCALE_CATEGORIES =
-
-SHELL = /bin/sh
-@SET_MAKE@
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-top_builddir = @top_builddir@
-distdir = ../$(PACKAGE)-$(VERSION)/po
-subdir = po
-VPATH = @srcdir@
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-datadir = @datadir@
-localedir = $(datadir)/locale
-gettextsrcdir = $(datadir)/gettext/po
-
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-MKINSTALLDIRS = $(top_builddir)/@MKINSTALLDIRS@
-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
-
-GMSGFMT = @GMSGFMT@
-MSGFMT = @MSGFMT@
-XGETTEXT = @XGETTEXT@
-MSGMERGE = msgmerge
-MSGMERGE_UPDATE = $(MSGMERGE) --update
-MSGINIT = msginit
-MSGCONV = msgconv
-MSGFILTER = msgfilter
-
-POFILES = @POFILES@
-GMOFILES = @GMOFILES@
-#UPDATEPOFILES = @UPDATEPOFILES@
-UPDATEPOFILES =
-#DUMMYPOFILES = @DUMMYPOFILES@
-DUMMYPOFILES =
-DISTFILES.common = Makefile.in.in remove-potcdate.sin \
-$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
-DISTFILES = $(DISTFILES.common) POTFILES.in $(DOMAIN).pot stamp-po \
-$(POFILES) $(GMOFILES) \
-$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
-
-POTFILES = \
-
-CATALOGS = @CATALOGS@
-
-.SUFFIXES:
-.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update
-
-.po.mo:
- @echo "$(MSGFMT) -c -o $@ $<"; \
- $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
-
-.po.gmo:
- @lang=`echo $* | sed -e 's,.*/,,'`; \
- test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
- echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
- $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $(srcdir)/$${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
-
-.sin.sed:
- sed -e '/^#/d' $< > t-$@
- mv t-$@ $@
-
-
-all: all-@USE_NLS@
-
-all-yes: stamp-po
-all-no:
-
-# stamp-po is a timestamp denoting the last time at which the CATALOGS have
-# been loosely updated. Its purpose is that when a developer or translator
-# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
-# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
-# invocations of "make" will do nothing. This timestamp would not be necessary
-# if updating the $(CATALOGS) would always touch them; however, the rule for
-# $(POFILES) has been designed to not touch files that don't need to be
-# changed.
-stamp-po: $(srcdir)/$(DOMAIN).pot
- test -z "$(CATALOGS)" || $(MAKE) $(CATALOGS)
- @echo "touch stamp-po"
- @echo timestamp > stamp-poT
- @mv stamp-poT stamp-po
-
-# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
-# otherwise packages like GCC can not be built if only parts of the source
-# have been downloaded.
-
-# thomasvs, 11/12/03: this option has been added in gettext 0.12
-# if we really need this, then we should add a check for the version,
-# but for now it doesn't seem to be worth the hassle, so I'm commenting
-# this option to the gettext incantation below
-# --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)'
-
-# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
-# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
-$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
- $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
- --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
- --files-from=$(srcdir)/POTFILES.in \
- --copyright-holder='$(COPYRIGHT_HOLDER)' \
-
- test ! -f $(DOMAIN).po || { \
- if test -f $(srcdir)/$(DOMAIN).pot; then \
- sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
- sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
- if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
- rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
- else \
- rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
- mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
- fi; \
- else \
- mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
- fi; \
- }
-
-# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
-# every "make" invocation, only create it when it is missing.
-# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
-$(srcdir)/$(DOMAIN).pot:
- $(MAKE) $(DOMAIN).pot-update
-
-# This target rebuilds a PO file if $(DOMAIN).pot has changed.
-# Note that a PO file is not touched if it doesn't need to be changed.
-$(POFILES): $(srcdir)/$(DOMAIN).pot
- @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
- test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
- echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
- cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot
-
-
-install: install-exec install-data
-install-exec:
-install-data: install-data-@USE_NLS@
- if test "$(GETTEXT_PACKAGE)" = "gettext-tools"; then \
- $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
- for file in $(DISTFILES.common) ; do \
- $(INSTALL_DATA) $(srcdir)/$$file \
- $(DESTDIR)$(gettextsrcdir)/$$file; \
- done; \
- else \
- : ; \
- fi
-install-data-no: all
-install-data-yes: all
- $(mkinstalldirs) $(DESTDIR)$(datadir)
- @catalogs='$(CATALOGS)'; \
- for cat in $$catalogs; do \
- cat=`basename $$cat`; \
- lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
- dir=$(localedir)/$$lang/LC_MESSAGES; \
- $(mkinstalldirs) $(DESTDIR)$$dir; \
- if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
- $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
- echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
- for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
- if test -n "$$lc"; then \
- if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
- link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
- mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
- mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
- (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
- for file in *; do \
- if test -f $$file; then \
- ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
- fi; \
- done); \
- rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
- else \
- if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
- :; \
- else \
- rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
- mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
- fi; \
- fi; \
- rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
- ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
- ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
- cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
- echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
- fi; \
- done; \
- done
-
-install-strip: install
-
-installdirs: installdirs-exec installdirs-data
-installdirs-exec:
-installdirs-data: installdirs-data-@USE_NLS@
- if test "$(GETTEXT_PACKAGE)" = "gettext-tools"; then \
- $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
- else \
- : ; \
- fi
-installdirs-data-no:
-installdirs-data-yes:
- $(mkinstalldirs) $(DESTDIR)$(datadir)
- @catalogs='$(CATALOGS)'; \
- for cat in $$catalogs; do \
- cat=`basename $$cat`; \
- lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
- dir=$(localedir)/$$lang/LC_MESSAGES; \
- $(mkinstalldirs) $(DESTDIR)$$dir; \
- for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
- if test -n "$$lc"; then \
- if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
- link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
- mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
- mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
- (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
- for file in *; do \
- if test -f $$file; then \
- ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
- fi; \
- done); \
- rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
- else \
- if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
- :; \
- else \
- rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
- mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
- fi; \
- fi; \
- fi; \
- done; \
- done
-
-# Define this as empty until I found a useful application.
-installcheck:
-
-uninstall: uninstall-exec uninstall-data
-uninstall-exec:
-uninstall-data: uninstall-data-@USE_NLS@
- if test "$(GETTEXT_PACKAGE)" = "gettext-tools"; then \
- for file in $(DISTFILES.common) ; do \
- rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
- done; \
- else \
- : ; \
- fi
-uninstall-data-no:
-uninstall-data-yes:
- catalogs='$(CATALOGS)'; \
- for cat in $$catalogs; do \
- cat=`basename $$cat`; \
- lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
- for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
- rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
- done; \
- done
-
-check: all
-
-info dvi ps pdf html tags TAGS ctags CTAGS ID:
-
-mostlyclean:
- rm -f remove-potcdate.sed
- rm -f stamp-poT
- rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
- rm -fr *.o
-
-clean: mostlyclean
-
-distclean: clean
- rm -f Makefile Makefile.in POTFILES *.mo
- rm -f stamp-po $(GMOFILES)
-
-maintainer-clean: distclean
- @echo "This command is intended for maintainers to use;"
- @echo "it deletes files that may require special tools to rebuild."
-
-dist distdir:
- $(MAKE) update-po
- @$(MAKE) dist2
-# This is a separate target because 'update-po' must be executed before.
-dist2: $(DISTFILES)
- dists="$(DISTFILES)"; \
- if test "$(GETTEXT_PACKAGE)" = "gettext-tools"; then \
- dists="$$dists "; \
- fi; \
- if test -f $(srcdir)/ChangeLog; then \
- dists="$$dists ChangeLog"; \
- fi; \
- for i in 0 1 2 3 4 5 6 7 8 9; do \
- if test -f $(srcdir)/ChangeLog.$$i; then \
- dists="$$dists ChangeLog.$$i"; \
- fi; \
- done; \
- if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
- for file in $$dists; do \
- if test -f $$file; then \
- cp -p $$file $(distdir); \
- else \
- cp -p $(srcdir)/$$file $(distdir); \
- fi; \
- done
-
-update-po: Makefile
- $(MAKE) $(DOMAIN).pot-update
- test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
- $(MAKE) update-gmo
-
-# General rule for updating PO files.
-
-.nop.po-update:
- @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
- if test "$(GETTEXT_PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
- tmpdir=`pwd`; \
- echo "$$lang:"; \
- test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
- echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
- cd $(srcdir); \
- if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
- if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
- rm -f $$tmpdir/$$lang.new.po; \
- else \
- if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
- :; \
- else \
- echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
- exit 1; \
- fi; \
- fi; \
- else \
- echo "msgmerge for $$lang.po failed!" 1>&2; \
- rm -f $$tmpdir/$$lang.new.po; \
- fi
-
-$(DUMMYPOFILES):
-
-update-gmo: Makefile $(GMOFILES)
- @:
-
-Makefile: Makefile.in.in $(top_builddir)/config.status
- cd $(top_builddir) \
- && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
- $(SHELL) ./config.status
-
-force:
-
-# Tell versions [3.59,3.63) of GNU make not to export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
--- /dev/null
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(GETTEXT_PACKAGE)
+
+# These two variables depend on the location of this directory.
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
+
+# This is the copyright holder that gets inserted into the header of the
+# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
+# package. (Note that the msgstr strings, extracted from the package's
+# sources, belong to the copyright holder of the package.) Translators are
+# expected to transfer the copyright for their translations to this person
+# or entity, or to disclaim their copyright. The empty string stands for
+# the public domain; in this case the translators are expected to disclaim
+# their copyright.
+COPYRIGHT_HOLDER =
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings:
+# - Strings which are not entire sentences, see the maintainer guidelines
+# in the GNU gettext documentation, section 'Preparing Strings'.
+# - Strings which use unclear terms or require additional context to be
+# understood.
+# - Strings which make invalid assumptions about notation of date, time or
+# money.
+# - Pluralisation problems.
+# - Incorrect English spelling.
+# - Incorrect formatting.
+# It can be your email address, or a mailing list address where translators
+# can write to without being subscribed, or the URL of a web page through
+# which the translators can contact you.
+MSGID_BUGS_ADDRESS = http://bugzilla.gnome.org/
+
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
+# message catalogs shall be used. It is usually empty.
+EXTRA_LOCALE_CATEGORIES =
# Files from the GStreamer distribution which have already been
# marked to allow runtime translations of messages
gst/gst.c
+gst/gsttag.c
+gst/elements/gsttypefindelement.c
+
msgid ""
msgstr ""
"Project-Id-Version: gstreamer-0.7 0.7.0.1\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2003-12-20 17:28+0100\n"
+"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/\n"
+"POT-Creation-Date: 2004-01-13 12:03+0100\n"
"PO-Revision-Date: 2003-10-08 15:36-0700\n"
"Last-Translator: David Schleef <ds@schleef.org>\n"
"Language-Team: Gnome Translators <i18n@gnome.org>\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: gst/gst.c:116
+#: gst/gst.c:117
msgid "Print the GStreamer version"
msgstr "druck die GStreamer Version"
-#: gst/gst.c:117
+#: gst/gst.c:118
msgid "Make all warnings fatal"
msgstr "macht alle Achtunge toedlich"
-#: gst/gst.c:119
+#: gst/gst.c:120
msgid ""
"default debug level from 1 (only error) to 5 (anything) or 0 for no output"
msgstr ""
-#: gst/gst.c:120
+#: gst/gst.c:121
msgid ""
"colon-seperated list of category_name=level pairs to set specific levels for "
"the individual categories.\n"
"Example:GST_AUTOPLUG=5:GST_ELEMENT_*=3"
msgstr ""
-#: gst/gst.c:121
+#: gst/gst.c:122
msgid "disable color debugging output"
msgstr "abschalt Farbe in Fehlersucheausgabe"
-#: gst/gst.c:122
+#: gst/gst.c:123
msgid "disable debugging"
msgstr "abschalt die Fehlersuche"
-#: gst/gst.c:123
+#: gst/gst.c:124
msgid "print available debug categories and exit"
msgstr ""
-#: gst/gst.c:125
+#: gst/gst.c:126
msgid "Disable accelerated CPU instructions"
msgstr ""
-#: gst/gst.c:126
+#: gst/gst.c:127
msgid "enable verbose plugin loading diagnostics"
msgstr ""
-#: gst/gst.c:127
+#: gst/gst.c:128
msgid "'"
msgstr ""
-#: gst/gst.c:127
+#: gst/gst.c:128
msgid "'--separated path list for loading plugins"
msgstr ""
-#: gst/gst.c:128
+#: gst/gst.c:129
msgid ""
"comma-separated list of plugins to preload in addition to the list stored in "
"env variable GST_PLUGIN_PATH"
msgstr ""
-#: gst/gst.c:129
+#: gst/gst.c:130
msgid "disable trapping of segmentation faults during plugin loading"
msgstr ""
-#: gst/gst.c:130
+#: gst/gst.c:131
msgid "scheduler to use ('"
msgstr ""
-#: gst/gst.c:130
+#: gst/gst.c:131
msgid "' is the default)"
msgstr ""
-#: gst/gst.c:131
+#: gst/gst.c:132
msgid "registry to use"
msgstr ""
+#: gst/gsttag.c:61
+msgid "title"
+msgstr ""
+
+#: gst/gsttag.c:62
+msgid "commonly used title"
+msgstr ""
+
+#: gst/gsttag.c:66
+msgid "artist"
+msgstr ""
+
+#: gst/gsttag.c:67
+msgid "person(s) responsible for the recording"
+msgstr ""
+
+#: gst/gsttag.c:71
+msgid "album"
+msgstr ""
+
+#: gst/gsttag.c:72
+msgid "album containing this data"
+msgstr ""
+
+#: gst/gsttag.c:76
+msgid "date"
+msgstr ""
+
+#: gst/gsttag.c:77
+msgid "date the data was created (in Julian calendar days)"
+msgstr ""
+
+#: gst/gsttag.c:81
+msgid "genre"
+msgstr ""
+
+#: gst/gsttag.c:82
+msgid "genre this data belongs to"
+msgstr ""
+
+#: gst/gsttag.c:86
+msgid "comment"
+msgstr ""
+
+#: gst/gsttag.c:87
+msgid "free text commenting the data"
+msgstr ""
+
+#: gst/gsttag.c:91
+msgid "track number"
+msgstr ""
+
+#: gst/gsttag.c:92
+msgid "track number inside a collection"
+msgstr ""
+
+#: gst/gsttag.c:96
+msgid "track count"
+msgstr ""
+
+#: gst/gsttag.c:97
+msgid "count of tracks inside collection this track belongs to"
+msgstr ""
+
+#: gst/gsttag.c:101
+msgid "location"
+msgstr ""
+
+#: gst/gsttag.c:102
+msgid "original location of file as a URI"
+msgstr ""
+
+#: gst/gsttag.c:106
+msgid "description"
+msgstr ""
+
+#: gst/gsttag.c:107
+msgid "short text describing the content of the data"
+msgstr ""
+
+#: gst/gsttag.c:111
+msgid "version"
+msgstr ""
+
+#: gst/gsttag.c:112
+msgid "version of this data"
+msgstr ""
+
+#: gst/gsttag.c:116
+msgid "ISRC"
+msgstr ""
+
+#: gst/gsttag.c:117
+msgid "International Standard Recording Code - see http://www.ifpi.org/isrc/"
+msgstr ""
+
+#: gst/gsttag.c:121 gst/gsttag.c:122
+msgid "organization"
+msgstr ""
+
+#: gst/gsttag.c:126
+msgid "copyright"
+msgstr ""
+
+#: gst/gsttag.c:127
+msgid "copyright notice of the data"
+msgstr ""
+
+#: gst/gsttag.c:131
+msgid "contact"
+msgstr ""
+
+#: gst/gsttag.c:132
+msgid "contact information"
+msgstr ""
+
+#: gst/gsttag.c:136
+msgid "license"
+msgstr ""
+
+#: gst/gsttag.c:137
+msgid "license of data"
+msgstr ""
+
+#: gst/gsttag.c:141
+msgid "performer"
+msgstr ""
+
+#: gst/gsttag.c:142
+msgid "person(s) performing"
+msgstr ""
+
+#: gst/gsttag.c:146
+msgid "duration"
+msgstr ""
+
+#: gst/gsttag.c:147
+msgid "length in GStreamer time units (nanoseconds)"
+msgstr ""
+
+#: gst/gsttag.c:151
+msgid "codec"
+msgstr ""
+
+#: gst/gsttag.c:152
+msgid "codec the data is stored in"
+msgstr ""
+
+#: gst/gsttag.c:156
+msgid "minimum bitrate"
+msgstr ""
+
+#: gst/gsttag.c:157
+msgid "minimum bitrate in bits/s"
+msgstr ""
+
+#: gst/gsttag.c:161
+msgid "bitrate"
+msgstr ""
+
+#: gst/gsttag.c:162
+msgid "exact or average bitrate in bits/s"
+msgstr ""
+
+#: gst/gsttag.c:166
+msgid "maximum bitrate"
+msgstr ""
+
+#: gst/gsttag.c:167
+msgid "maximum bitrate in bits/s"
+msgstr ""
+
+#: gst/gsttag.c:205
+msgid ", "
+msgstr ""
+
+#: gst/elements/gsttypefindelement.c:152
+msgid "caps"
+msgstr ""
+
+#: gst/elements/gsttypefindelement.c:152
+msgid "detected capabilities in stream"
+msgstr ""
+
+#: gst/elements/gsttypefindelement.c:155
+msgid "minimum"
+msgstr ""
+
+#: gst/elements/gsttypefindelement.c:158
+msgid "maximum"
+msgstr ""
+
#~ msgid "This is a test\n"
#~ msgstr "moo\n"
--- /dev/null
+# GStreamer translated strings
+# Copyright (C) 2003,2004 GStreamer core team
+# This file is distributed under the same license as the GStreamer package.
+# Thomas Vander Stichele <thomas@apestaart.org>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: GStreamer\n"
+"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/\n"
+"POT-Creation-Date: 2004-01-13 12:03+0100\n"
+"PO-Revision-Date: 2004-01-13 12:03+0100\n"
+"Last-Translator: Thomas Vander Stichele <thomas@apestaart.org>\n"
+"Language-Team: Dutch <nl@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: gst/gst.c:117
+msgid "Print the GStreamer version"
+msgstr "Druk de GStreamer versie af"
+
+#: gst/gst.c:118
+msgid "Make all warnings fatal"
+msgstr "Maak alle waarschuwingen fataal"
+
+#: gst/gst.c:120
+msgid ""
+"default debug level from 1 (only error) to 5 (anything) or 0 for no output"
+msgstr ""
+
+#: gst/gst.c:121
+msgid ""
+"colon-seperated list of category_name=level pairs to set specific levels for "
+"the individual categories.\n"
+"Example:GST_AUTOPLUG=5:GST_ELEMENT_*=3"
+msgstr ""
+
+#: gst/gst.c:122
+msgid "disable color debugging output"
+msgstr ""
+
+#: gst/gst.c:123
+msgid "disable debugging"
+msgstr ""
+
+#: gst/gst.c:124
+msgid "print available debug categories and exit"
+msgstr ""
+
+#: gst/gst.c:126
+msgid "Disable accelerated CPU instructions"
+msgstr ""
+
+#: gst/gst.c:127
+msgid "enable verbose plugin loading diagnostics"
+msgstr ""
+
+#: gst/gst.c:128
+msgid "'"
+msgstr ""
+
+#: gst/gst.c:128
+msgid "'--separated path list for loading plugins"
+msgstr ""
+
+#: gst/gst.c:129
+msgid ""
+"comma-separated list of plugins to preload in addition to the list stored in "
+"env variable GST_PLUGIN_PATH"
+msgstr ""
+
+#: gst/gst.c:130
+msgid "disable trapping of segmentation faults during plugin loading"
+msgstr ""
+
+#: gst/gst.c:131
+msgid "scheduler to use ('"
+msgstr ""
+
+#: gst/gst.c:131
+msgid "' is the default)"
+msgstr ""
+
+#: gst/gst.c:132
+msgid "registry to use"
+msgstr ""
+
+#: gst/gsttag.c:61
+msgid "title"
+msgstr "titel"
+
+#: gst/gsttag.c:62
+msgid "commonly used title"
+msgstr "vaak gebruikte titel"
+
+#: gst/gsttag.c:66
+msgid "artist"
+msgstr "artiest"
+
+#: gst/gsttag.c:67
+msgid "person(s) responsible for the recording"
+msgstr "perso(o)n(en) die de opname gemaakt hebben"
+
+#: gst/gsttag.c:71
+msgid "album"
+msgstr "album"
+
+#: gst/gsttag.c:72
+msgid "album containing this data"
+msgstr "album waarop dit stuk staat"
+
+#: gst/gsttag.c:76
+msgid "date"
+msgstr "datum"
+
+#: gst/gsttag.c:77
+msgid "date the data was created (in Julian calendar days)"
+msgstr "datum waarop het stuk gemaakt is (in Juliaanse kalenderdagen)"
+
+#: gst/gsttag.c:81
+msgid "genre"
+msgstr "genre"
+
+#: gst/gsttag.c:82
+msgid "genre this data belongs to"
+msgstr "genre van het stuk"
+
+#: gst/gsttag.c:86
+msgid "comment"
+msgstr "commentaar"
+
+#: gst/gsttag.c:87
+msgid "free text commenting the data"
+msgstr "vrij te kiezen commentaartekst die het stuk beschrijft"
+
+#: gst/gsttag.c:91
+msgid "track number"
+msgstr "nummer"
+
+#: gst/gsttag.c:92
+msgid "track number inside a collection"
+msgstr "nummer van het stuk op een verzameling"
+
+#: gst/gsttag.c:96
+msgid "track count"
+msgstr "aantal nummers"
+
+#: gst/gsttag.c:97
+msgid "count of tracks inside collection this track belongs to"
+msgstr "aantal nummers van de verzameling waarop dit stuk staat"
+
+#: gst/gsttag.c:101
+msgid "location"
+msgstr ""
+
+#: gst/gsttag.c:102
+msgid "original location of file as a URI"
+msgstr ""
+
+#: gst/gsttag.c:106
+msgid "description"
+msgstr ""
+
+#: gst/gsttag.c:107
+msgid "short text describing the content of the data"
+msgstr ""
+
+#: gst/gsttag.c:111
+msgid "version"
+msgstr ""
+
+#: gst/gsttag.c:112
+msgid "version of this data"
+msgstr ""
+
+#: gst/gsttag.c:116
+msgid "ISRC"
+msgstr ""
+
+#: gst/gsttag.c:117
+msgid "International Standard Recording Code - see http://www.ifpi.org/isrc/"
+msgstr ""
+
+#: gst/gsttag.c:121 gst/gsttag.c:122
+msgid "organization"
+msgstr ""
+
+#: gst/gsttag.c:126
+msgid "copyright"
+msgstr ""
+
+#: gst/gsttag.c:127
+msgid "copyright notice of the data"
+msgstr ""
+
+#: gst/gsttag.c:131
+msgid "contact"
+msgstr ""
+
+#: gst/gsttag.c:132
+msgid "contact information"
+msgstr ""
+
+#: gst/gsttag.c:136
+msgid "license"
+msgstr ""
+
+#: gst/gsttag.c:137
+msgid "license of data"
+msgstr ""
+
+#: gst/gsttag.c:141
+msgid "performer"
+msgstr ""
+
+#: gst/gsttag.c:142
+msgid "person(s) performing"
+msgstr ""
+
+#: gst/gsttag.c:146
+msgid "duration"
+msgstr ""
+
+#: gst/gsttag.c:147
+msgid "length in GStreamer time units (nanoseconds)"
+msgstr ""
+
+#: gst/gsttag.c:151
+msgid "codec"
+msgstr ""
+
+#: gst/gsttag.c:152
+msgid "codec the data is stored in"
+msgstr ""
+
+#: gst/gsttag.c:156
+msgid "minimum bitrate"
+msgstr ""
+
+#: gst/gsttag.c:157
+msgid "minimum bitrate in bits/s"
+msgstr ""
+
+#: gst/gsttag.c:161
+msgid "bitrate"
+msgstr ""
+
+#: gst/gsttag.c:162
+msgid "exact or average bitrate in bits/s"
+msgstr ""
+
+#: gst/gsttag.c:166
+msgid "maximum bitrate"
+msgstr ""
+
+#: gst/gsttag.c:167
+msgid "maximum bitrate in bits/s"
+msgstr ""
+
+#: gst/gsttag.c:205
+msgid ", "
+msgstr ""
+
+#: gst/elements/gsttypefindelement.c:152
+msgid "caps"
+msgstr ""
+
+#: gst/elements/gsttypefindelement.c:152
+msgid "detected capabilities in stream"
+msgstr ""
+
+#: gst/elements/gsttypefindelement.c:155
+msgid "minimum"
+msgstr ""
+
+#: gst/elements/gsttypefindelement.c:158
+msgid "maximum"
+msgstr ""