http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12061

--- Comment #14 from Bernardo Gonzalez Kriegel <[email protected]> ---
(In reply to Fridolin SOMERS from comment #13)
> Nice job.
> 
> I'm testing.
> I think there is an error in test plan of "tmpl_process3.pl - Multiple
> source dir ":
> 
...
> 
> It should translate only "en" folder no ? otherwise there is not the same
> number of files : 
> 

Hi Fridolin, thanks for testing :)

No, tmpl_process3.pl do not look for 'en' dir. On create it looks (recursively
-r) for valid files to pick strings from, on install it reproduces (translated
or not, but all) files and dirs from input to target dir.
That test is only to check for regressions (all files present), because I touch
the handling of source dir.

Just tested (with patches):
~/kohaclone/misc/translator$ ./tmpl_process3.pl create -i
../../koha-tmpl/opac-tmpl/bootstrap -s test.po -r -q
Warning: Can't determine original templates' charset, defaulting to UTF-8
Warning: Charset Out defaulting to UTF-8
Removing empty file test.po
I UTF-8 O UTF-8 at ./tmpl_process3.pl line 339.

~/kohaclone/misc/translator$ mkdir test

~/kohaclone/misc/translator$ ./tmpl_process3.pl install -i
../../koha-tmpl/opac-tmpl/bootstrap -s test.po -r -q -o ./test

~/kohaclone/misc/translator$ ls -lR ../../koha-tmpl/opac-tmpl/bootstrap/ | wc
-l ; ls -lR ./test | wc -l
1951
1951

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to