[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debian JP master SVN www commits (rev.584)
=======================================================
Repository: /org/svn.debian.or.jp/repos
Revision: 584
Commiter: nori
Date: 2008-02-22 19:41:00 +0900 (金, 22 2月 2008)
=======================================================
Log:
Enable handling "<define-tag xxx>...</define-tag>.
This change enables generation of pot files from DSA wml pages such as
http://www.debian.org/security/2008/dsa-1443.
=======================================================
Changed:
U po4a/lib/Locale/Po4a/Wml.pm
Modified: po4a/lib/Locale/Po4a/Wml.pm
===================================================================
--- po4a/lib/Locale/Po4a/Wml.pm 2008-02-22 07:48:56 UTC (rev 583)
+++ po4a/lib/Locale/Po4a/Wml.pm 2008-02-22 10:41:00 UTC (rev 584)
@@ -111,6 +111,9 @@
warn "FIXME: We should translate the page title: $1\n";
}
}
+
+ # Validate define-tag tag's argument
+ $file =~ s|(<define-tag\s+)([^\s>]+)|$1PO4ADUMMYATTR="$2"|g;
# Flush the result to disk
open OUTFILE,">$tmp_filename";