This commit was manufactured by cvs2svn to create tag 'wxPy_2_6_4_0'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/wxPy_2_6_4_0@44989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2007-03-20 20:36:57 +00:00
parent 219ee9ba9d
commit 2c6b0ab87d
2304 changed files with 240793 additions and 262981 deletions

View File

@@ -0,0 +1,14 @@
import os, glob, shutil
wx_dir = os.environ["WXWIN"]
locale_dir = os.path.join(wx_dir, "locale")
print "WX Locale dir is: " + locale_dir
for mo in glob.glob(os.path.join(locale_dir, "*.mo")):
mofile = os.path.basename(mo)
moname = os.path.splitext(mofile)[0]
modir = os.path.join(locale_dir, moname, "LC_MESSAGES")
print "Making: " + modir
if not os.path.exists(modir):
os.makedirs(modir)
shutil.copyfile(os.path.join(locale_dir, mofile), os.path.join(modir, "wxstd.mo"))