mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Use xml-i18n-tools to capture glade strings. Glade string files
are no longer needed. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5381 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -11,7 +11,7 @@ use strict;
|
||||
use File::Basename;
|
||||
|
||||
my @cvsignores = `find src -name '.cvsignore'`;
|
||||
my @cfiles = `find src -name '*.c'`;
|
||||
my @possible_files = `find src -name '*.c' -o -name '*.glade'`;
|
||||
|
||||
chomp(my $cwd = `pwd`);
|
||||
|
||||
@@ -41,9 +41,9 @@ print "# List of files which containing translatable strings.\n";
|
||||
print "# This file was generated by ../make-gnucash-potfiles.in.\n";
|
||||
print "\n";
|
||||
|
||||
foreach my $cfile (@cfiles) {
|
||||
chomp($cfile);
|
||||
my ($name, $path) = fileparse($cfile);
|
||||
foreach my $file (@possible_files) {
|
||||
chomp($file);
|
||||
my ($name, $path) = fileparse($file);
|
||||
$path =~ s/^\.\///;
|
||||
|
||||
next if $ignores{$path . $name};
|
||||
|
||||
Reference in New Issue
Block a user