From 5817cb363e8565df5c92eaf446b492427f434d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Mon, 13 Nov 2017 16:37:52 +0100 Subject: [PATCH] Replace 'error:' by 'warning:' in a log message. (Fix build with Visual Studio) --- tools/metadoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/metadoc.py b/tools/metadoc.py index 121175207..f4de51a56 100644 --- a/tools/metadoc.py +++ b/tools/metadoc.py @@ -432,7 +432,7 @@ class Translator: else: 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):