RelationshipCalculator: Promote no translation message to warning

And make it more specific.
Thanks to Tim Lyons.

svn: r21501
This commit is contained in:
John Ralls 2013-02-28 19:36:09 +00:00
parent b87c663612
commit b73e758a84

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