MSW back to 'locale' and also change back to the full directory structure including the LC_MESSAGES dir. The reasons these changes were orginally made no longer apply git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
11 lines
433 B
Python
11 lines
433 B
Python
#----------------------------------------------------------------------------
|
|
# On MSW add the directory where the wxWidgets catalogs were installed
|
|
# to the default catalog path.
|
|
if wx.Platform == "__WXMSW__":
|
|
import os
|
|
_localedir = os.path.join(os.path.split(__file__)[0], "locale")
|
|
Locale.AddCatalogLookupPathPrefix(_localedir)
|
|
del os
|
|
|
|
#----------------------------------------------------------------------------
|