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.
This commit is contained in:
John Ralls 2014-08-08 13:37:38 -07:00
parent 0ddd9db0a2
commit 10cd33f9f5
2 changed files with 8 additions and 2 deletions

View File

@ -27,9 +27,11 @@ while (<IN>) {
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'

View File

@ -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