From: Robin Dunn Date: Tue, 27 Jun 2006 22:02:59 +0000 (+0000) Subject: wxMSW doesn't look in a LC_MESSAGES dir for the message catalogs X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/23057104990e6439aabc356e3cf141e8c451502b?ds=inline wxMSW doesn't look in a LC_MESSAGES dir for the message catalogs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/config.py b/wxPython/config.py index 4625018987..b08b68a0bd 100644 --- a/wxPython/config.py +++ b/wxPython/config.py @@ -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'))