[Koha-patches] [PATCH 1/2] Followup : d31ac1 reintroducing submit buttons
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Tue Mar 16 09:11:54 CET 2010
this reintroduces translation of submit values
---
misc/translator/xgettext.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc/translator/xgettext.pl b/misc/translator/xgettext.pl
index a13be97..031f9ba 100755
--- a/misc/translator/xgettext.pl
+++ b/misc/translator/xgettext.pl
@@ -103,7 +103,7 @@ sub text_extract (*) {
next if $a eq 'label' && $tag ne 'optgroup';
next if $a eq 'content' && $tag ne 'meta';
next if $a eq 'value' && ($tag ne 'input'
- || (ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:hidden|radio|submit)$/)); # FIXME
+ || (ref $attr->{'type'} && $attr->{'type'}->[1] =~ /^(?:hidden|radio|checkbox)$/)); # FIXME
my($key, $val, $val_orig, $order) = @{$attr->{$a}}; #FIXME
$val = TmplTokenizer::trim $val;
remember( $s, $val ) if $val =~ /\S/s;
--
1.6.3.3
More information about the Koha-patches
mailing list