Remove page-count and page-number from report translation

This commit is contained in:
Cédric Krier committed 2009-04-11 17:43:07 +02:00
1 parent 86f5d532dd
commit 64383b3ce1
1 file changed
+2 -1
+2 -1
View File
@@ -584,7 +584,8 @@ class ReportTranslationSet(Wizard):
if node.nodeType in (node.CDATA_SECTION_NODE, node.TEXT_NODE):
if node.parentNode \
and node.parentNode.tagName == 'text:placeholder':
and node.parentNode.tagName in ('text:placeholder',
'text:page-number', 'text:page-count'):
return strings
if node.nodeValue: