summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-05-08 07:24:45 +0000
committerUlrich Drepper <drepper@redhat.com>2005-05-08 07:24:45 +0000
commit322e489b53eafe53296d214ecc7ca6332362db7b (patch)
treebce34000ce10c9e86cc076947f219fe3358aeb69
parent83c0f41ff0a3964e86fd0083a7aba4d587b5451b (diff)
* MakeTAGS: Make sure translations in error calls are marked with
c-format by xgettext.
-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