Bugzilla – Attachment 36635 Details for
Bug 13794
Text input field values not translated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Added "submit" in the list of input types.
Added-submit-in-the-list-of-input-types.patch (text/plain), 1.11 KB, created by
Maxime Beaulieu
on 2015-03-05 19:02:35 UTC
(
hide
)
Description:
Added "submit" in the list of input types.
Filename:
MIME Type:
Creator:
Maxime Beaulieu
Created:
2015-03-05 19:02:35 UTC
Size:
1.11 KB
patch
obsolete
>From a0962db6fe12ea49703dde68f37985fdba98da33 Mon Sep 17 00:00:00 2001 >From: mxbeaulieu <maxime.beaulieu@inlibro.com> >Date: Thu, 5 Mar 2015 14:00:49 -0500 >Subject: [PATCH] Added "submit" in the list of input types. > >http://bugs.koha-community.org/show_bug.cgi?id=13794 >--- > misc/translator/tmpl_process3.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl >index c9dfa4e..ef72b5e 100755 >--- a/misc/translator/tmpl_process3.pl >+++ b/misc/translator/tmpl_process3.pl >@@ -64,7 +64,7 @@ sub text_replace_tag ($$) { > if ($attr->{$a}) { > next if $a eq 'label' && $tag ne 'optgroup'; > next if $a eq 'content' && $tag ne 'meta'; >- my $isValidType = ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:checkbox|hidden|radio|text)$/; >+ my $isValidType = ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:checkbox|hidden|radio|text|submit)$/; > next if $a eq 'value' && !($tag eq 'input' && $isValidType); > my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME > if ($val =~ /\S/s) { >-- >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 13794
:
36514
|
36635
|
36637
|
36767
|
36816