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:
@@ -503,7 +503,7 @@ def build_locale_dir(destdir, verbose=1):
|
|||||||
moFiles = glob.glob(opj(WXDIR, 'locale', '*.mo'))
|
moFiles = glob.glob(opj(WXDIR, 'locale', '*.mo'))
|
||||||
for src in moFiles:
|
for src in moFiles:
|
||||||
lang = os.path.splitext(os.path.basename(src))[0]
|
lang = os.path.splitext(os.path.basename(src))[0]
|
||||||
dest = opj(destdir, lang, 'LC_MESSAGES')
|
dest = opj(destdir, lang)
|
||||||
mkpath(dest, verbose=verbose)
|
mkpath(dest, verbose=verbose)
|
||||||
copy_file(src, opj(dest, 'wxstd.mo'), update=1, verbose=verbose)
|
copy_file(src, opj(dest, 'wxstd.mo'), update=1, verbose=verbose)
|
||||||
CLEANUP.append(opj(dest, 'wxstd.mo'))
|
CLEANUP.append(opj(dest, 'wxstd.mo'))
|
||||||
|
Reference in New Issue
Block a user