]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMSW doesn't look in a LC_MESSAGES dir for the message catalogs
authorRobin Dunn <robin@alldunn.com>
Tue, 27 Jun 2006 22:02:59 +0000 (22:02 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 27 Jun 2006 22:02:59 +0000 (22:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/config.py

index 46250189878756a3f0e62becafc888ab606a2a99..b08b68a0bd27ee0a7f625b5952fb0f7ccf57eada 100644 (file)
@@ -503,7 +503,7 @@ def build_locale_dir(destdir, verbose=1):
     moFiles = glob.glob(opj(WXDIR, 'locale', '*.mo'))
     for src in moFiles:
         lang = os.path.splitext(os.path.basename(src))[0]
-        dest = opj(destdir, lang, 'LC_MESSAGES')
+        dest = opj(destdir, lang)
         mkpath(dest, verbose=verbose)
         copy_file(src, opj(dest, 'wxstd.mo'), update=1, verbose=verbose)
         CLEANUP.append(opj(dest, 'wxstd.mo'))