* src/select_person.glade: select person interface
* src/Plugins.py: Catch the LANG environment variable not being set when determining which relationship calculator to use svn: r1701
This commit is contained in:
parent
c50b9a7a96
commit
d3ea82f5d7
@ -508,8 +508,10 @@ def register_relcalc(func, languages):
|
|||||||
import sys
|
import sys
|
||||||
global _relcalc_task
|
global _relcalc_task
|
||||||
|
|
||||||
|
try:
|
||||||
if os.environ["LANG"] in languages:
|
if os.environ["LANG"] in languages:
|
||||||
_relcalc_task = func
|
_relcalc_task = func
|
||||||
|
pass
|
||||||
|
|
||||||
def relationship_function():
|
def relationship_function():
|
||||||
global _relcalc_task
|
global _relcalc_task
|
||||||
|
Loading…
Reference in New Issue
Block a user