Bugzilla – Attachment 24484 Details for
Bug 11571
Bug 7934 introduces a regression in the translate script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11571: FIX regression introduced by bug 7934
Bug-11571-FIX-regression-introduced-by-bug-7934.patch (text/plain), 2.13 KB, created by
Jonathan Druart
on 2014-01-17 08:13:20 UTC
(
hide
)
Description:
Bug 11571: FIX regression introduced by bug 7934
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-01-17 08:13:20 UTC
Size:
2.13 KB
patch
obsolete
>From bf1a2fabfc764900d41c5c6fde96bec99a04a004 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 16 Jan 2014 15:47:42 +0100 >Subject: [PATCH] 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. >--- > misc/translator/LangInstaller.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm >index 50ba308..158ca22 100644 >--- a/misc/translator/LangInstaller.pm >+++ b/misc/translator/LangInstaller.pm >@@ -349,7 +349,7 @@ sub install_tmpl { > "-s $self->{path_po}/$self->{lang}$trans->{suffix} -r $excludes" . > ( > @$files >- ? '-f ' . join ' -f ', @$files >+ ? ' -f ' . join ' -f ', @$files > : '' > ) > } >@@ -378,7 +378,7 @@ sub update_tmpl { > "-s $self->{path_po}/$self->{lang}$trans->{suffix} -r $excludes" . > ( > @$files >- ? '-f ' . join ' -f ', @$files >+ ? ' -f ' . join ' -f ', @$files > : '' > ) > } >@@ -417,7 +417,7 @@ sub create_tmpl { > "-s $self->{path_po}/$self->{lang}$trans->{suffix} -r $excludes" . > ( > @$files >- ? '-f ' . join ' -f ', @$files >+ ? ' -f ' . join ' -f ', @$files > : '' > ) > } >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11571
:
24459
|
24484
|
24706
|
24729