[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 17 09:13:20 CET 2014


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24459|0                           |1
        is obsolete|                            |

--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 24484
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=24484&action=edit
Bug 11571: FIX regression introduced by bug 7934

Bug 7934 breaks the -f option introduced by 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

Test plan:
- ./translate update fr-FR -f pay.tt
- put a warn at LangInstaller.pm line 375.
- 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.
- apply this patch and verify the output and the execution time is now
  correct.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list