Added some modules from Riaan Booysen:
* wx.lib.flagart: contains icons of the flags of many countries. * wx.lib.art.img2pyartprov: makes images embedded in a python file with img2py available via the wx.ArtProvider. * wx.lib.langlistctrl: A wx.ListCtrl for selecting a language, which uses the country flag icons. * An I18N sample for the demo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
15
wxPython/demo/data/locale-src/install
Executable file
15
wxPython/demo/data/locale-src/install
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
#----------------------------------------------------------------------
|
||||
# Run msgfmt on all the .po files, and install them to ../locale
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
DEST=../locale
|
||||
NAME=wxpydemo
|
||||
|
||||
for po in ??.po ??_??.po; do
|
||||
echo compiling message catalog for $po
|
||||
BASE=`basename $po .po`
|
||||
mkdir -p $DEST/$BASE/LC_MESSAGES
|
||||
msgfmt -o $DEST/$BASE/LC_MESSAGES/$NAME.mo $po
|
||||
done
|
||||
|
Reference in New Issue
Block a user