Reported by Benno Schulenberg.
* po/Makefile ($(DOMAIN).pot): Remove the file pre-filtering; just pass
all source files to xgettext.
* po/Makevars (XGETTEXT_OPTIONS): Recognize gettext_noop as a keyword.
+2024-12-09 Bruno Haible <bruno@clisp.org>
+
+ Localizations: Fix omissions from the POT file.
+ Reported by Benno Schulenberg.
+ * po/Makefile ($(DOMAIN).pot): Remove the file pre-filtering; just pass
+ all source files to xgettext.
+ * po/Makevars (XGETTEXT_OPTIONS): Recognize gettext_noop as a keyword.
+
2024-12-09 Bruno Haible <bruno@clisp.org>
gnulib-tool: Fix test failures (regression 2024-12-06).
--package-version='$(VERSION)' \
--msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' \
$(XGETTEXT_OPTIONS) \
- `cd .. && LC_ALL=C grep -l '[^A-Za-z_]_(' \`find lib '(' -name '*.c' -o -name '*.h' -o -name '*.y' ')' | LC_ALL=C sort\``
+ `cd .. && find lib '(' -name '*.c' -o -name '*.h' -o -name '*.y' ')' | LC_ALL=C sort`
mv $(DOMAIN).po $(DOMAIN).pot
force:
XGETTEXT_OPTIONS = \
--keyword=_ --flag=_:1:pass-c-format \
--keyword=N_ --flag=N_:1:pass-c-format \
+ --keyword=gettext_noop --flag=gettext_noop:1:pass-c-format \
--flag=error:3:c-format --flag=error_at_line:5:c-format \
--flag=verror:3:c-format --flag=verror_at_line:5:c-format \
--flag=argp_error:2:c-format --flag=argp_failure:4:c-format \