Signed-off-by: Shi Lei <shi_lei@xxxxxxxxxxxxxx> --- build-aux/syntax-check.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 552d6391..614f21bc 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -735,7 +735,7 @@ sc_prohibit_useless_translation: halt='found useless translation' \ $(_sc_search_regexp) @prohibit='\<N?_ *\(' \ - in_vc_files='(tests|examples)/' \ + in_vc_files='(tests|examples)/.*\.[ch]$$' \ halt='no translations in tests or examples' \ $(_sc_search_regexp) -- 2.25.1