[Koha-bugs] [Bug 11571] Bug 7934 introduces a regression in the translate script
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 24 17:05:29 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11571
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24484|0 |1
is obsolete| |
--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 24706
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24706&action=edit
[SIGNED OFF] Bug 11571 - FIX regression introduced by bug 7934
Bug 7934 breaks the -f option introduced in bug 9161.
While the generation of the command tmpl_process3.pl, a space is
missing if the -x option is given.
The tmpl_process3.pl is called like:
/home/koha/src/misc/translator/tmpl_process3.pl -q update -i
/home/koha/src/koha-tmpl/intranet-tmpl/prog/en/ -s
/home/koha/src/misc/translator/po/fr-FR-i-staff-t-prog-v-3006000.po -r
-x 'help'-f pay.tt
Revised test plan:
1) cd ./misc/translator
2) put a warn at LangInstaller.pm line 375.
3) time ./translate update fr-FR -f pay.tt
-- note the execution time and the output. The options in the
command contain "-x 'help'-f pay.tt"
The -f param is not passed to the script.
The execution time is strangely long.
5) git reset --hard origin/master
6) apply this patch
7) put a warn at LangInstaller.pm line 375.
8) time ./translate update fr-FR -f pay.tt
-- verify the output and the execution time is now corrected.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list