summaryrefslogtreecommitdiff
path: root/scripts/po/Makevars
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/po/Makevars')
-rw-r--r--scripts/po/Makevars26
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/po/Makevars b/scripts/po/Makevars
new file mode 100644
index 00000000..178b4dc7
--- /dev/null
+++ b/scripts/po/Makevars
@@ -0,0 +1,26 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+# Usually the message domain is the same as the package name.
+DOMAIN = pacman-scripts
+
+# These two variables depend on the location of this directory.
+subdir = scripts/po
+top_builddir = ../../
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = --no-location \
+ --keyword=_ --flag=_:1:c-format \
+ --keyword=_n:1,2 --flag=_n:1:c-format --flag=_n:2:c-format
+
+# 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.
+COPYRIGHT_HOLDER = Pacman Development Team <pacman-dev@archlinux.org>
+
+# This is the email address or URL to which the translators shall report
+# bugs in the untranslated strings.
+MSGID_BUGS_ADDRESS = http://bugs.archlinux.org/index.php?project=3
+
+# 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 =