Remove page-count and page-number from report translation
This commit is contained in:
1 parent
86f5d532dd
commit
64383b3ce1
1 file changed
+2
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user