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
This commit is contained in:
Robin Dunn
2006-06-27 22:02:59 +00:00
parent 49b6ebb7e1
commit 2305710499

View 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'))