From 97c981af3f1eb4eb70074ea52b9bda26d067b2ae Mon Sep 17 00:00:00 2001 From: John Ralls Date: Tue, 3 Sep 2013 22:43:25 +0000 Subject: [PATCH] Avoid bogus rel-calc translation error message in C locale svn: r23014 --- gramps/gen/relationship.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gen/relationship.py b/gramps/gen/relationship.py index ffd938e5a..70007ddfe 100644 --- a/gramps/gen/relationship.py +++ b/gramps/gen/relationship.py @@ -1816,7 +1816,7 @@ def get_relationship_calculator(reinit=False, clocale=glocale): # If lang not set default to English relationship calulator # See if lang begins with en_, English_ or english_ # If so return standard relationship calculator. - if lang.startswith("en"): + if lang.startswith("en") or lang == "C": return __RELCALC_CLASS() # set correct non English relationship calculator based on lang relation_translation_found = False