]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Infrastructure for gettext-runtime/po.
authorBruno Haible <bruno@clisp.org>
Fri, 14 Feb 2003 20:41:24 +0000 (20:41 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:03 +0000 (12:10 +0200)
gettext-runtime/po/ChangeLog [new file with mode: 0644]
gettext-runtime/po/Makevars [new file with mode: 0644]
gettext-runtime/po/POTFILES.in [new file with mode: 0644]

diff --git a/gettext-runtime/po/ChangeLog b/gettext-runtime/po/ChangeLog
new file mode 100644 (file)
index 0000000..f756e51
--- /dev/null
@@ -0,0 +1,10 @@
+2003-02-12  Bruno Haible  <bruno@clisp.org>
+
+       * POTFILES.in: New file.
+       * Makevars: New file.
+
+       * Makefile.in.in (install-data, installdirs-data, uninstall-data):
+       Special case package 'gettext-tools'.
+       (.nop.po-update): Likewise.
+       (dist2): Distribute also ChangeLog.[0-9] if present.
+
diff --git a/gettext-runtime/po/Makevars b/gettext-runtime/po/Makevars
new file mode 100644 (file)
index 0000000..8b09f53
--- /dev/null
@@ -0,0 +1,25 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = $(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 = Free Software Foundation, Inc.
+
+# 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 =
diff --git a/gettext-runtime/po/POTFILES.in b/gettext-runtime/po/POTFILES.in
new file mode 100644 (file)
index 0000000..17217f4
--- /dev/null
@@ -0,0 +1,14 @@
+# List of files which contain translatable strings.
+# Copyright (C) 1995, 1998, 2001-2003 Free Software Foundation, Inc.
+
+# For updating this file, look at the result of:
+#   $ grep -l '[^A-Za-z_]_(' {lib,src}/*.[chly]
+
+# Files from the compatibility library
+lib/error.c
+lib/getopt.c
+lib/xmalloc.c
+
+# Package source files
+src/gettext.c
+src/ngettext.c