[Po4a-commits] "po4a/t 25-xhtml.t,1.1,1.2"
Nicolas FRANCOIS
nekral-guest at alioth.debian.org
Sat Mar 15 01:20:04 UTC 2008
- Previous message: [Po4a-commits] "po4a/lib/Locale/Po4a Xml.pm,1.73,1.74"
- Next message: [Po4a-commits] "po4a/t/data-25 includessi.html, NONE, 1.1 includessi.po, NONE, 1.1 includessi_normalized.html, NONE, 1.1 xhtml.po, 1.5, 1.6 xhtml_normalized.html, 1.4, 1.5"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/po4a/po4a/t
In directory alioth:/tmp/cvs-serv3993/t
Modified Files:
25-xhtml.t
Log Message:
* lib/Locale/Po4a/Xml.pm: Do not translate the SSI comments by
default (<!--#...-->). Set the f_extract and f_translate to the
same as for regular comments.
* lib/Locale/Po4a/Xml.pm: Do not forget the # at the beginning of
SSI comments.
* t/25-xhtml.t, t/data-25/includessi.html, t/data-25/includessi.po,
t/data-25/includessi_normalized.html, MANIFEST: Added tests for the
includessi option.
* t/data-25/xhtml.po, t/data-25/xhtml_normalized.html: SSI
comments are no more translated.
Index: 25-xhtml.t
===================================================================
RCS file: /cvsroot/po4a/po4a/t/25-xhtml.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 25-xhtml.t 13 Jun 2006 20:59:15 -0000 1.1
+++ 25-xhtml.t 15 Mar 2008 01:20:00 -0000 1.2
@@ -22,9 +22,14 @@
'test'=> "diff -u $diff_po_flags ../data-25/xhtml.po po4a-normalize.po".
"&& diff -u $diff_po_flags ../data-25/xhtml_normalized.html po4a-normalize.output",
'doc' => 'normalisation test',
+ }, {
+ 'run' => 'perl ../../po4a-normalize -f xhtml -o includessi ../data-25/includessi.html',
+ 'test'=> "diff -u $diff_po_flags ../data-25/includessi.po po4a-normalize.po".
+ "&& diff -u $diff_po_flags ../data-25/includessi_normalized.html po4a-normalize.output",
+ 'doc' => 'includessi test',
};
-use Test::More tests => 4;
+use Test::More tests => 6;
chdir "t/tmp" || die "Can't chdir to my test directory";
- Previous message: [Po4a-commits] "po4a/lib/Locale/Po4a Xml.pm,1.73,1.74"
- Next message: [Po4a-commits] "po4a/t/data-25 includessi.html, NONE, 1.1 includessi.po, NONE, 1.1 includessi_normalized.html, NONE, 1.1 xhtml.po, 1.5, 1.6 xhtml_normalized.html, 1.4, 1.5"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Po4a-commits
mailing list