Commit 807407de authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 126955 - Bugzilla should support translated/localized templates. Patch by…

Bug 126955 - Bugzilla should support translated/localized templates. Patch by burnus; r=gerv, a=justdave.
parent bb67b1eb
...@@ -34,12 +34,13 @@ use Support::Templates; ...@@ -34,12 +34,13 @@ use Support::Templates;
use File::Spec 0.82; use File::Spec 0.82;
use Test::More tests => ( scalar(@Support::Files::testitems) use Test::More tests => ( scalar(@Support::Files::testitems)
+ scalar(@Support::Templates::actual_files)); + $Support::Templates::num_actual_files);
my @testitems = @Support::Files::testitems; my @testitems = @Support::Files::testitems;
my @templates = map(File::Spec->catfile($Support::Templates::include_path, $_), for my $path (@Support::Templates::include_paths) {
@Support::Templates::actual_files); push(@testitems, map(File::Spec->catfile($path, $_),
push(@testitems, @templates); Support::Templates::find_actual_files($path)));
}
foreach my $file (@testitems) { foreach my $file (@testitems) {
open (FILE, "$file"); open (FILE, "$file");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment