mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-16 18:25:11 -06:00
Fix r16733 and r16782 by removing the contents of po/POTFILES.ignore from po/POTFILES.
For more detail, see http://lists.gnucash.org/pipermail/gnucash-devel/2008-January/022043.html. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16837 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8bad06ceeb
commit
5bc3569911
@ -4,8 +4,8 @@
|
||||
# This perl script is used to make po/POTFILES.in, the list
|
||||
# of files to be searched for translatable strings.
|
||||
#
|
||||
# It will exclude any files listed in po/POTFILES.skip or that match the
|
||||
# regexp patterns listed in @ignorepatterns.
|
||||
# It will exclude any files listed in po/POTFILES.skip, po/POTFILES.ignore
|
||||
# or that match the regexp patterns listed in @ignorepatterns.
|
||||
#
|
||||
# Author: Dave Peticolas <dave@krondo.com>
|
||||
|
||||
@ -16,6 +16,7 @@ use File::Basename;
|
||||
my @ignorepatterns = ('gw-', 'test', 'experimental');
|
||||
|
||||
my @skipped_files = `grep -v \# @-SRCDIR-@/po/POTFILES.skip`;
|
||||
my @ignored_files = `grep -v \# @-SRCDIR-@/po/POTFILES.ignore`;
|
||||
|
||||
my @possible_files = `find @-SRCDIR-@/src -name '*.c' -o -name '*.glade' \\
|
||||
-o -name '*.desktop.in' -o -name '*.keys.in' \\
|
||||
@ -32,7 +33,7 @@ foreach my $file (@possible_files) {
|
||||
my ($name, $path) = fileparse($file);
|
||||
$path =~ s/^\.\///;
|
||||
|
||||
foreach my $pat (@ignorepatterns, @skipped_files) {
|
||||
foreach my $pat (@ignorepatterns, @skipped_files, @ignored_files) {
|
||||
chomp($pat);
|
||||
next unless $pat;
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
# Work around the intltool-0.35.5 / automake-1.10 failures
|
||||
# due to "missing" files. Make sure these files NEVER have
|
||||
# translatable strings.
|
||||
# due to "missing" files. These files may be distributed.
|
||||
lib/glib28/gfileutils-2.8.c
|
||||
src/gnome/gnucash.desktop.in.in
|
||||
# The features in import-export/qif are still unused.
|
||||
|
Loading…
Reference in New Issue
Block a user