mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-20 18:57:06 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
16 lines
446 B
Bash
Executable File
16 lines
446 B
Bash
Executable File
#!/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
|
|
|