mirror of
https://bitbucket.org/smil3y/kde-l10n.git
synced 2025-02-23 10:32:52 +00:00
15 lines
408 B
Python
Executable file
15 lines
408 B
Python
Executable file
import os,sys
|
|
import Lokalize
|
|
|
|
for p in sys.path:
|
|
if os.path.exists(p+'/../scripts/lokalize') and not p.endswith('/scripts/lokalize'):
|
|
sys.path=sys.path+[p+'/../scripts/lokalize']
|
|
|
|
try:
|
|
import multitarget
|
|
except:
|
|
print "svn up l10n-kde4/scripts OR fix search path?"
|
|
|
|
|
|
observer=multitarget.MultiTarget(Lokalize,'/nn/','/nb/')
|
|
Lokalize.connect('editorActivated()',observer.editorActivated)
|