aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/translation-check.wml
diff options
context:
space:
mode:
authorDenis Barbier <barbier>2005-08-29 00:11:38 +0000
committerDenis Barbier <barbier>2005-08-29 00:11:38 +0000
commit2278edaa560c6a96a5774fc329af5e79ba06ee47 (patch)
tree381b964458c0ad758f4070f19f2f81f92bcb0401 /english/template/debian/translation-check.wml
parentf74087bd224ff4da99084899616694e2ce5a9d84 (diff)
Fix templates to allow generation of XHTML pages.
CVS version numbers english/template/debian/installer.wml: 1.1 -> 1.2 english/template/debian/mainpage.wml: 1.49 -> 1.50 english/template/debian/mirrors.wml: 1.39 -> 1.40 english/template/debian/security.wml: 1.125 -> 1.126 english/template/debian/toc.wml: 1.10 -> 1.11 english/template/debian/translation-check.wml: 1.75 -> 1.76 english/template/debian/votebar.wml: 1.110 -> 1.111
Diffstat (limited to 'english/template/debian/translation-check.wml')
-rw-r--r--english/template/debian/translation-check.wml4
1 files changed, 3 insertions, 1 deletions
diff --git a/english/template/debian/translation-check.wml b/english/template/debian/translation-check.wml
index f8a34ea805b..df0026d8680 100644
--- a/english/template/debian/translation-check.wml
+++ b/english/template/debian/translation-check.wml
@@ -50,6 +50,7 @@
</define-tag>
<perl>
+<protect pass="2">
sub check_translation {
@@ -127,6 +128,7 @@ if ($version ne "")
print "Comparing original $version to translation version $translation\n" if ($debug >= 1);
+</protect>
$output = '';
if ($version eq "") {
$output = qq(<originalgone/>)
@@ -145,7 +147,7 @@ if ($output ne "") {
$output =~ s/^\s+//m; # removes whitespace at the beginning
$output =~ s/\s+$//m; # removes whitespace at the end
$output =~ s/\n/ /sg; # replaces linebreaks with whitespace
- print "<p>$output";
+ print "<p*>$output";
}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy