summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-10-28 15:37:56 +0100
committerJim Meyering <meyering@redhat.com>2007-10-28 15:37:56 +0100
commit39639a8a6adc38c56e15d028b8b6d792a4183b07 (patch)
treedebb96326a6593aa6e19dc0773a2e06e974ba4ca
parent1f05c616d241da881c7cefd1b91cd5e575e2ed15 (diff)
downloadcoreutils-39639a8a6adc38c56e15d028b8b6d792a4183b07.tar.xz
Help xgettext recognize more printf-style format strings.
* bootstrap.conf (XGETTEXT_OPTIONS): Add directives for error, error_at_line, xasprintf, xfprintf and xprintf.
-rw-r--r--ChangeLog6
-rw-r--r--bootstrap.conf14
2 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d651afd88..633e3604e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-28 Jim Meyering <meyering@redhat.com>
+
+ Help xgettext recognize more printf-style format strings.
+ * bootstrap.conf (XGETTEXT_OPTIONS): Add directives for
+ error, error_at_line, xasprintf, xfprintf and xprintf.
+
2007-10-27 Jim Meyering <meyering@redhat.com>
Adjust format string so msgfmt doesn't object.
diff --git a/bootstrap.conf b/bootstrap.conf
index d07c23e35..d7851feb4 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -60,7 +60,8 @@ gnulib_modules="
long-options lstat malloc mbswidth memcasecmp mempcpy
memrchr mgetgroups
mkancesdirs mkdir mkdir-p mkstemp mktime modechange
- mountlist mpsort obstack pathmax perl physmem posixtm posixver putenv
+ mountlist mpsort obstack pathmax perl physmem
+ posixtm posixver putenv
quote quotearg raise readlink areadlink-with-size
randint
randperm
@@ -93,9 +94,16 @@ EXTRA_LOCALE_CATEGORIES=LC_TIME
# Additional xgettext options to use. Use "\\\newline" to break lines.
XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
--from-code=UTF-8\\\
- --flag=asprintf:2:c-format --flag=vasprintf:2:c-format\\\
- --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\
+ --flag=asprintf:2:c-format\\\
+ --flag=asnprintf:3:c-format\\\
+ --flag=error:3:c-format\\\
+ --flag=error_at_line:5:c-format\\\
+ --flag=vasprintf:2:c-format\\\
+ --flag=vasnprintf:3:c-format\\\
--flag=wrapf:1:c-format\\\
+ --flag=xasprintf:1:c-format\\\
+ --flag=xfprintf:2:c-format\\\
+ --flag=xprintf:1:c-format\\\
'
# If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]"