about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--MakeTAGS4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index beafec6419..07e3e9928e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-08  Ulrich Drepper  <drepper@redhat.com>
+
+	* MakeTAGS: Make sure translations in error calls are marked with
+	c-format by xgettext.
+
 2005-05-07  Ulrich Drepper  <drepper@redhat.com>
 
 	* intl/libintl.h: Always use __attribute_format_arg__ for gettext
diff --git a/MakeTAGS b/MakeTAGS
index fff6851c91..d0a400878c 100644
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -146,8 +146,8 @@ endif
 define extract
 @rm -f $@.new
 $(XGETTEXT) --keyword=_ --keyword=N_ --add-comments=TRANS  --sort-by-file \
-	    --omit-header -E -n -d - $(XGETTEXTFLAGS-$(@F)) > $@.new \
-	    $(filter-out $(objpfx)distinfo,$^)
+	    --omit-header -E -n -d --flag=error:3:c-format - \
+	    $(XGETTEXTFLAGS-$(@F)) > $@.new $(filter-out $(objpfx)distinfo,$^)
 mv -f $@.new $@
 endef