[Po4a-commits] "po4a/lib/Locale/Po4a Xml.pm,1.107,1.108"
Nicolas FRANÃOIS
nekral-guest at alioth.debian.org
Sun Dec 27 00:27:02 UTC 2009
- Previous message: [Po4a-commits] "po4a/debian changelog,1.390,1.391"
- Next message: [Po4a-commits] "po4a changelog, 1.528, 1.529 po4a, 1.87, 1.88 po4a-gettextize, 1.39, 1.40 po4a-normalize, 1.31, 1.32 po4a-translate, 1.41, 1.42 po4a-updatepo, 1.45, 1.46"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv28929/lib/Locale/Po4a
Modified Files:
Xml.pm
Log Message:
* NEWS, lib/Locale/Po4a/Xml.pm: Fix handling of multi-lines
placeholder tags.
Index: Xml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xml.pm,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- Xml.pm 21 Jul 2009 13:34:20 -0000 1.107
+++ Xml.pm 27 Dec 2009 00:26:59 -0000 1.108
@@ -1427,7 +1427,7 @@
my @sub_translations = ();
my %folded_attributes;
my %new_holder = ('paragraph' => \@new_paragraph,
- 'open' => $text[0],
+ 'open' => $self->join_lines(@text),
'translation' => "",
'close' => undef,
'sub_translations' => \@sub_translations,
@@ -1487,8 +1487,8 @@
# the holder from the stack.
my $holder = pop @save_holders;
# We need to keep the translation of this holder
- my $translation = $holder->{'open'}.$holder->{'translation'}.$text[0];
- # FIXME: @text could be multilines.
+ my $translation = $holder->{'open'}.$holder->{'translation'};
+ $translation .= $self->join_lines(@text);
@text = ();
- Previous message: [Po4a-commits] "po4a/debian changelog,1.390,1.391"
- Next message: [Po4a-commits] "po4a changelog, 1.528, 1.529 po4a, 1.87, 1.88 po4a-gettextize, 1.39, 1.40 po4a-normalize, 1.31, 1.32 po4a-translate, 1.41, 1.42 po4a-updatepo, 1.45, 1.46"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Po4a-commits
mailing list