aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-06-29 22:22:48 +0200
committerLudovic Courtès <ludo@gnu.org>2012-06-29 22:38:22 +0200
commitf68b089361ba768f1a9398225040af3e9faafbf3 (patch)
tree7a6afbfc672ea33fb7e278e1c758ab1b080ef182 /po
parent64fddd74f0f1bb154149fcd8e6369a1be323c1d3 (diff)
downloadgnu-guix-f68b089361ba768f1a9398225040af3e9faafbf3.tar
gnu-guix-f68b089361ba768f1a9398225040af3e9faafbf3.tar.gz
Gettextize, with GNU Gettext 0.18.1.
* Makefile.am (EXTRA_DIST): Add `build-aux/config.rpath'. (SUBDIRS, ACLOCAL_AMFLAGS): New variables. * configure.ac: Use `AM_GNU_GETTEXT'. Emit `po/Makefile.in'. * po/Makevars, po/POTFILES.in: New files.
Diffstat (limited to 'po')
-rw-r--r--po/Makevars18
-rw-r--r--po/POTFILES.in2
2 files changed, 20 insertions, 0 deletions
diff --git a/po/Makevars b/po/Makevars
new file mode 100644
index 0000000000..a57af08ea6
--- /dev/null
+++ b/po/Makevars
@@ -0,0 +1,18 @@
+# Makefile variables for PO directory in any package using GNU gettext.
+
+DOMAIN = $(PACKAGE)
+
+subdir = po
+top_builddir = ..
+
+# These options get passed to xgettext.
+XGETTEXT_OPTIONS = \
+ --language=Scheme \
+ --keyword=_ --keyword=N_ \
+ --keyword=description --keyword=long-description
+
+COPYRIGHT_HOLDER = Ludovic Courtès
+
+MSGID_BUGS_ADDRESS = ludo@gnu.org
+
+EXTRA_LOCALE_CATEGORIES =
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000000..39ff38db32
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1,2 @@
+# List of source files which contain translatable strings.
+distro/base.scm