Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/po/Makevars
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-23 21:21:51 -0500
committerDan McGee <dan@archlinux.org>2011-06-23 22:50:01 -0500
commita4a7006a138f05c1b774414a55ffb5499d7b289f (patch)
tree2ba3009d856a4bb6047ce72bc83d078c988a977e /scripts/po/Makevars
parent78f297dabe17eef518eaccb880f9013641124cda (diff)
po/: split into scripts/po/ and src/pacman/po/
This is the first step at separating the pacman message catalog and the scripts message catalog. Makefiles, configure.ac, and other such files are adjusted accordingly, as well as renaming files. The TEXTDOMAIN of scripts is also adjusted. Note that no actual pot or po files get changed here; these will get pruned in a future commit so each catalog contains only the necessary messages. Signed-off-by: Dan McGee <dan@archlinux.org>
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 =