From c12ae077f7e786b9f15e3503d07ea41851fef5f1 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 24 May 2020 13:45:32 -0700 Subject: [PATCH] Exclude mock files from translation. --- po/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 47092ce071..5c4cbaefa0 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -85,7 +85,7 @@ function(make_gnucash_potfiles) foreach (path ${FILES_IN}) if (${path} MATCHES "^(bindings/|borrowed/|common/|doc/|libgnucash/|gnucash/)" AND - NOT ${path} MATCHES "gw-|test|experimental|python-bindings|swig-.*\\.c" + NOT ${path} MATCHES "gw-|mocks|test|experimental|python-bindings|swig-.*\\.c" # Skip POSIX style hidden files even if they have the proper extension # These are typically temporary files from editors like emacs AND