RelationshipCalculator: Promote no translation message to warning
And make it more specific. Thanks to Tim Lyons. svn: r21501
This commit is contained in:
parent
b87c663612
commit
b73e758a84
@ -1814,8 +1814,7 @@ def get_relationship_calculator(reinit=False):
|
|||||||
break
|
break
|
||||||
if not relation_translation_found and \
|
if not relation_translation_found and \
|
||||||
len(PluginRegister.get_instance().relcalc_plugins()):
|
len(PluginRegister.get_instance().relcalc_plugins()):
|
||||||
LOG.debug(_("No translation available for language '%s'. " +
|
LOG.warning(_("Family relationship translator not available for language '%s'. Using 'english' instead.") % lang)
|
||||||
"Using 'english' instead.") % lang)
|
|
||||||
return __RELCALC_CLASS()
|
return __RELCALC_CLASS()
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user