Added __file__ to plugin registration environment (to retrieve addon translations)
svn: r13477
This commit is contained in:
parent
0f61597985
commit
ba897a8e0f
@ -797,6 +797,7 @@ class PluginRegister(object):
|
||||
'TOOL_MODE_GUI': TOOL_MODE_GUI,
|
||||
'TOOL_MODE_CLI': TOOL_MODE_CLI,
|
||||
'GRAMPSVERSION': GRAMPSVERSION,
|
||||
'__file__': os.path.join(dir, filename),
|
||||
},
|
||||
{})
|
||||
except ValueError, msg:
|
||||
|
Loading…
x
Reference in New Issue
Block a user