Move the language catalogs install directory on MSW from 'locale' to
'i18n' to avoid conflict (and an import warning) with the standard locale.py module. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# to the default catalog path.
|
||||
if wx.Platform == "__WXMSW__":
|
||||
import os
|
||||
_localedir = os.path.join(os.path.split(__file__)[0], "locale")
|
||||
_localedir = os.path.join(os.path.split(__file__)[0], "i18n")
|
||||
Locale.AddCatalogLookupPathPrefix(_localedir)
|
||||
del os
|
||||
|
||||
|
Reference in New Issue
Block a user