Bugzilla – Attachment 11139 Details for
Bug 8407
xt/tt_valid.t is too strict
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8407: make tt_valid less strict (for non translatable strings)
Bug-8407-make-ttvalid-less-strict-for-non-translat.patch (text/plain), 1.30 KB, created by
Chris Cormack
on 2012-07-25 22:48:22 UTC
(
hide
)
Description:
Bug 8407: make tt_valid less strict (for non translatable strings)
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-07-25 22:48:22 UTC
Size:
1.30 KB
patch
obsolete
>From deac64a9e5d53f42168554e9881a82573f650ae4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 10 Jul 2012 15:19:38 +0200 >Subject: [PATCH] Bug 8407: make tt_valid less strict (for non translatable > strings) > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > xt/tt_valid.t | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/xt/tt_valid.t b/xt/tt_valid.t >index f71085e..9db7f5c 100755 >--- a/xt/tt_valid.t >+++ b/xt/tt_valid.t >@@ -24,7 +24,6 @@ use File::Find; > use Cwd; > use C4::TTParser; > >- > my @files_with_directive_in_tag = do { > my @files; > find( sub { >@@ -38,7 +37,12 @@ my @files_with_directive_in_tag = do { > while ( my $token = $parser->next_token ) { > my $attr = $token->{_attr}; > next unless $attr; >- push @lines, $token->{_lc} if $attr->{'[%'}; >+ push @lines, $token->{_lc} >+ if $attr->{'[%'} >+ and not ( $attr->{'%]selected'} >+ or $attr->{'%]disabled'} >+ or $attr->{'%]checked'} >+ ); > } > ($dir) = $dir =~ /koha-tmpl\/(.*)$/; > push @files, { name => "$dir/$name", lines => \@lines } if @lines; >-- >1.7.9.5
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 8407
:
10744
|
10808
|
10870
| 11139