--- a/canfestival/canfestival.py Sat Sep 08 02:12:10 2012 +0200
+++ b/canfestival/canfestival.py Sun Sep 09 23:05:01 2012 +0200
@@ -1,8 +1,11 @@
import os, sys
+
base_folder = os.path.split(sys.path[0])[0]
CanFestivalPath = os.path.join(base_folder, "CanFestival-3")
sys.path.append(os.path.join(CanFestivalPath, "objdictgen"))
+import wx
+
from nodelist import NodeList
from nodemanager import NodeManager
import config_utils, gen_cfile, eds_utils
@@ -11,7 +14,6 @@
import canfestival_config as local_canfestival_config
from ConfigTreeNode import ConfigTreeNode
from commondialogs import CreateNodeDialog
-import wx
from SlaveEditor import SlaveEditor, MasterViewer
from NetworkEditor import NetworkEditor
@@ -20,6 +22,9 @@
from gnosis.xml.pickle.util import setParanoia
setParanoia(0)
+from util.TranslationCatalogs import AddCatalog
+AddCatalog(os.path.join(CanFestivalPath, "objdictgen", "locale"))
+
if wx.Platform == '__WXMSW__':
DEFAULT_SETTINGS = {
"CAN_Driver": "can_tcp_win32",