diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/.gitignore | 3 | ||||
-rw-r--r-- | doc/translator.py | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/doc/.gitignore b/doc/.gitignore index a464770..d1d1371 100644 --- a/doc/.gitignore +++ b/doc/.gitignore @@ -1 +1,2 @@ -mailto.txt
\ No newline at end of file +*.bak +mailto.txt 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()
|