[r21501]RelationshipCalculator: Promote no translation message to warning

And make it more specific.
Thanks to Tim Lyons.

svn: r21505
This commit is contained in:
John Ralls 2013-02-28 20:09:18 +00:00
parent 7541dd5b2e
commit e1fb1c5b14

View File

@ -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()
#------------------------------------------------------------------------- #-------------------------------------------------------------------------