Commit 5817cb36 authored by François Grisez's avatar François Grisez

Replace 'error:' by 'warning:' in a log message. (Fix build with Visual Studio)

parent 7e58bc82
......@@ -432,7 +432,7 @@ class Translator:
strPara += part.translate(self)
except TranslationError as e:
print('error: {0}'.format(e.msg()))
print('warning: {0}'.format(e.msg()))
return strPara
......@@ -486,7 +486,7 @@ class ReferenceTranslationError(TranslationError):
Exception.__init__(self, refName)
def msg(self):
return '{0} reference could not been translated'.format(self.args[0])
return '{0} reference could not be translated'.format(self.args[0])
class DoxygenTranslator(Translator):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment