[r21501]RelationshipCalculator: Promote no translation message to warning
And make it more specific. Thanks to Tim Lyons. svn: r21505
This commit is contained in:
parent
7541dd5b2e
commit
e1fb1c5b14
@ -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