From 10cd33f9f584f74fe2c2ac1a827d3c8c4ac06d09 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 8 Aug 2014 13:37:38 -0700 Subject: [PATCH] Add *.cpp to the search pattern for files to translate. Exclude the files in src/gnc and src/optional/gtkmm; they shouldn't have any user-visible strings. --- make-gnucash-potfiles.in | 6 ++++-- po/POTFILES.skip | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/make-gnucash-potfiles.in b/make-gnucash-potfiles.in index 919cfc4b28..ae4b1aa1b4 100644 --- a/make-gnucash-potfiles.in +++ b/make-gnucash-potfiles.in @@ -27,9 +27,11 @@ while () { close IN; -my @possible_files = `cd @-SRCDIR-@ && find src -name '*.c' -o -name '*.glade' \\ +my @possible_files = `cd @-SRCDIR-@ && find src -name '*.c' \\ + -o -name '*.cpp' -o -name '*.glade' \\ -o -name '*.desktop.in' -o -name '*.keys.in' \\ - -o -name '*.gschema.xml.in.in' |sort`; + -o -name '*.gschema.xml.in.in' \\ + | sort`; ## For perl files add the following: # -o -name '*.pl' diff --git a/po/POTFILES.skip b/po/POTFILES.skip index a3d3331af2..0bfdc583f3 100644 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -19,6 +19,10 @@ src/libqof/qof/qofquery-deserial.c src/libqof/qof/qofquery-serialize.c src/libqof/qof/qofsql.c +# These we don't want to translate because they're experimental: +src/gnc/.* +src/optional/gtkmm/.* + # The scheme files are handled by intl-scm/guile-strings.c because # intltool wouldn't scan scheme files. They're here now because # intltool 0.50 *does* scan them, and it creates an error during make