INTEGRATION: CWS layoutdialogs (1.2.6); FILE MERGED

2008/04/04 09:13:34 jcn 1.2.6.1: Add template marker to XML dialog sources.
This commit is contained in:
Rüdiger Timm
2008-07-30 13:06:49 +00:00
parent 8892006524
commit d092c1595b

View File

@@ -183,7 +183,11 @@ def post_process (s):
s = s.replace (' def-button="true"', ' default="true"')
return s
XML_HEADER = '<?xml version="1.0" encoding="UTF-8"?>\n'
XML_HEADER = '''<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a template. i18n translation is not performed in-place;
i18n translated XML files are generated from this template by
transex3/layout/tralay. !-->
'''
def do_one_file (file_name, options):
str = XML_HEADER