summaryrefslogtreecommitdiff
path: root/toolkit/src2xml
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-07-30 13:06:49 +0000
committerRüdiger Timm <rt@openoffice.org>2008-07-30 13:06:49 +0000
commitd092c1595baabffbf679470f9af8a80632867115 (patch)
tree61c61f30dcde1192f035f922f878a53dad129dd8 /toolkit/src2xml
parent8892006524bc5c2bfd25d5641a721c67822673d9 (diff)
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.
Diffstat (limited to 'toolkit/src2xml')
-rw-r--r--toolkit/src2xml/source/src2xml.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolkit/src2xml/source/src2xml.py b/toolkit/src2xml/source/src2xml.py
index 8d082ee3e444..a2a7714b963d 100644
--- a/toolkit/src2xml/source/src2xml.py
+++ b/toolkit/src2xml/source/src2xml.py
@@ -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