From 1a43859587714c34ec7daad4f9f9f781b0149d6e Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 18 Jan 2013 21:27:48 +0000 Subject: [PATCH] GrampsLocale: get_relationship_calculator: Fix missed variable name change. svn: r21168 --- gramps/gen/relationship.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/gen/relationship.py b/gramps/gen/relationship.py index c0b746510..0e3c279e6 100644 --- a/gramps/gen/relationship.py +++ b/gramps/gen/relationship.py @@ -44,7 +44,7 @@ UNKNOWN = Person.UNKNOWN from .const import GRAMPS_LOCALE as glocale _ = glocale.get_translation().sgettext from .plug import PluginRegister, BasePluginManager - +from gramps.plugins.lib.libtranslate import get_languate_string #------------------------------------------------------------------------- # # @@ -1813,7 +1813,7 @@ def get_relationship_calculator(reinit=False): if not relation_translation_found and \ len(PluginRegister.get_instance().relcalc_plugins()): print((("No translation available for language '%s'. " + - "Using 'english' instead.") % enlang)) + "Using 'english' instead.") % lang)) return __RELCALC_CLASS() #-------------------------------------------------------------------------