Avoid bogus rel-calc translation error message in C locale

svn: r23014
This commit is contained in:
John Ralls 2013-09-03 22:43:25 +00:00
parent 1206e00076
commit 97c981af3f

View File

@ -1816,7 +1816,7 @@ def get_relationship_calculator(reinit=False, clocale=glocale):
# If lang not set default to English relationship calulator # If lang not set default to English relationship calulator
# See if lang begins with en_, English_ or english_ # See if lang begins with en_, English_ or english_
# If so return standard relationship calculator. # If so return standard relationship calculator.
if lang.startswith("en"): if lang.startswith("en") or lang == "C":
return __RELCALC_CLASS() return __RELCALC_CLASS()
# set correct non English relationship calculator based on lang # set correct non English relationship calculator based on lang
relation_translation_found = False relation_translation_found = False