summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPetr Prikryl <prikryl@atlas.cz>2014-06-16 20:05:56 (GMT)
committerPetr Prikryl <prikryl@atlas.cz>2014-06-16 20:05:56 (GMT)
commit1ccc93fd699b34b7a89acecf9e59a526a5972bb8 (patch)
tree8a72aad71b51f889c433dee353845bed7363251b /doc
parent21178ab40160abf011fa084a10892b5b7821e44c (diff)
downloadDoxygen-1ccc93fd699b34b7a89acecf9e59a526a5972bb8.zip
Doxygen-1ccc93fd699b34b7a89acecf9e59a526a5972bb8.tar.gz
Doxygen-1ccc93fd699b34b7a89acecf9e59a526a5972bb8.tar.bz2
doc/translator.py -- minor updates
Diffstat (limited to 'doc')
-rw-r--r--doc/translator.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/translator.py b/doc/translator.py
index 19277be..69e7de8 100644
--- a/doc/translator.py
+++ b/doc/translator.py
@@ -1796,7 +1796,9 @@ class TrManager:
# document template.
tplDic = {}
- s = 'Do not edit this file. It was generated by the %s script. * Instead edit %s and %s' % (self.script_name, self.languageTplFileName, self.maintainersFileName)
+ s = ('Do not edit this file. It was generated by the %s script.\n' +\
+ ' * Edit the %s and %s files instead.') % (
+ self.script_name, self.languageTplFileName, self.maintainersFileName)
tplDic['editnote'] = s
tplDic['doxVersion'] = self.doxVersion
@@ -1987,17 +1989,14 @@ if __name__ == '__main__':
# The Python 2.6+ or 3.3+ is required.
major, minor, patch = (int(e) for e in platform.python_version_tuple())
- print(major, minor, patch)
if (major == 2 and minor < 6) or (major == 3 and minor < 0):
print('Python 2.6+ or Python 3.0+ are required for the script')
sys.exit(1)
- # The translator manager builds the transl objects, parses the related
+ # The translator manager builds the Transl objects, parses the related
# sources, and keeps them in memory.
trMan = TrManager()
- # Generate the language.doc.
+ # Process the Transl objects and generate the output files.
trMan.generateLanguageDoc()
-
- # Generate the translator report.
trMan.generateTranslatorReport()