wxPythonで作った簡易XMLエディタ
Revisão | a6a7bd93d57cbaa9e9d68ac391bb0bede01647e7 (tree) |
---|---|
Hora | 2014-04-14 01:23:12 |
Autor | tamanegi <tamanegi@user...> |
Commiter | tamanegi |
minor fix
@@ -31,15 +31,15 @@ import copy | ||
31 | 31 | import xml.etree.ElementTree as ET |
32 | 32 | from wmutils import * |
33 | 33 | |
34 | -LOCALEDIR = os.path.join(os.path.dirname(__file__), 'translations') | |
35 | -_ = gettext.translation( domain='wmxmled', | |
36 | - localedir=LOCALEDIR, | |
37 | - fallback=True ).ugettext | |
38 | - | |
39 | 34 | DIR_FILE = os.path.dirname( os.path.abspath( __file__ ) ) |
40 | 35 | CONFIG_FILE = os.path.join( DIR_FILE, "wmxmled.conf" ) |
41 | 36 | XRC_FILE = os.path.join( DIR_FILE, "wmxmled.xrc" ) |
42 | 37 | |
38 | +LOCALEDIR = os.path.join( DIR_FILE, 'translations' ) | |
39 | +_ = gettext.translation( domain='wmxmled', | |
40 | + localedir=LOCALEDIR, | |
41 | + fallback=True ).ugettext | |
42 | + | |
43 | 43 | """container for main class of WMXmlEditor, a small XML editor by wxPython.""" |
44 | 44 | |
45 | 45 | class WMXmlEditor( wx.App ): |