Bugzilla – Attachment 10744 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)
0001-Bug-8407-make-tt_valid-less-strict-for-non-translata.patch (text/plain), 1.05 KB, created by
Jonathan Druart
on 2012-07-10 13:21:15 UTC
(
hide
)
Description:
Bug 8407: make tt_valid less strict (for non translatable strings)
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-07-10 13:21:15 UTC
Size:
1.05 KB
patch
obsolete
>From a02209a34022dc4da924ae49653b9ab5d878c522 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 1/1] Bug 8407: make tt_valid less strict (for non > translatable strings) > >--- > xt/tt_valid.t | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/xt/tt_valid.t b/xt/tt_valid.t >index ae2e2e5..4b7af78 100755 >--- a/xt/tt_valid.t >+++ b/xt/tt_valid.t >@@ -38,7 +38,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.7.3 >
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