[Po4a-devel][CVS] po4a/lib/Locale/Po4a Xml.pm,1.14,1.15

Jordi Vilalta po4a-devel@lists.alioth.debian.org
Sun, 08 Aug 2004 19:10:28 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv24538

Modified Files:
	Xml.pm 
Log Message:
Xml now also recodes the excluded strings (just waiting for the TT update to
be fully functional)


Index: Xml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xml.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Xml.pm	8 Aug 2004 18:44:56 -0000	1.14
+++ Xml.pm	8 Aug 2004 19:10:25 -0000	1.15
@@ -771,9 +771,9 @@
 						if ($self->tag_in_list($self->get_path.$name,@{$self->{attributes}})) {
 							$text .= $self->found_string($value, $ref, { type=>"attribute", attribute=>$name });
 						} else {
-							$text .= $value;
 							print sprintf("po4a::xml: ".dgettext ("po4a","Contents of attribute %s excluded: %s"),$self->get_path.$name,$value)."\n"
 							       if $self->debug();
+							$text .= $self->recode_skipped_text($value);
 						}
 						$text .= $quot;
 					}
@@ -875,7 +875,7 @@
 			# Inform that this tag isn't translated in debug mode
 			print sprintf("po4a::xml: ".dgettext ("po4a","Contents of tag %s excluded: %s"), $self->get_path,$self->join_lines(@paragraph))."\n"
 			       if $self->debug();
-			$self->pushline($self->join_lines(@paragraph));
+			$self->pushline($self->recode_skipped_text($self->join_lines(@paragraph)));
 		}
 	}