From 8a2de579c5ae06b35eef0290dc048d12d8c5e798 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 21 Aug 2022 13:23:04 +0200 Subject: [PATCH] [po] Check also .cpp files. Refs #187 --- po/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/Makefile b/po/Makefile index d2484e2e0..6c03cf30c 100644 --- a/po/Makefile +++ b/po/Makefile @@ -19,7 +19,7 @@ PERL = perl # xgettext) POTFILES_ABS_LIST = potfiles.list -POTFILES_REL = $(shell find $(top_srcdir)/src/ -name '*.[ch]' -o -name options.inc -o -name 'actions-*.inc' | sort) +POTFILES_REL = $(shell find $(top_srcdir)/src/ -name '*.[ch]' -o -name '*.cpp' -o -name options.inc -o -name 'actions-*.inc' | sort) quiet_cmd_gmsgfmt = ' [$(PO_COLOR)GMSGFMT$(END_COLOR)] $(RELPATH)$(@)' cmd_gmsgfmt = rm -f -- "$@" && $(GMSGFMT) --statistics -o "$@" -- "$<" @@ -57,7 +57,7 @@ all-local: $(CATALOGS) $(POTFILES_ABS_LIST): $(POTFILES_REL) @( cd $(top_srcdir); \ - find src/ -type f -name '*.[ch]' -o -name options.inc -o -name 'actions-*.inc' | sort ) \ + find src/ -type f -name '*.[ch]' -o -name '*.cpp' -o -name options.inc -o -name 'actions-*.inc' | sort ) \ > $(POTFILES_ABS_LIST) # xgettext --flag requires GNU gettext 0.13 or later;