Avoid bogus rel-calc translation error message in C locale
svn: r23014
This commit is contained in:
parent
1206e00076
commit
97c981af3f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user