mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Replace 'error:' by 'warning:' in a log message. (Fix build with Visual Studio)
This commit is contained in:
parent
7e58bc828a
commit
5817cb363e
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue