]> git.saurik.com Git - wxWidgets.git/blob - wxPython/demo/data/locale-src/install
fixed wxVsnprintf() to write as much as it can if the output buffer is too short
[wxWidgets.git] / wxPython / demo / data / locale-src / install
1 #!/bin/bash
2 #----------------------------------------------------------------------
3 # Run msgfmt on all the .po files, and install them to ../locale
4 #----------------------------------------------------------------------
5
6 DEST=../locale
7 NAME=wxpydemo
8
9 for po in ??.po ??_??.po; do
10 echo compiling message catalog for $po
11 BASE=`basename $po .po`
12 mkdir -p $DEST/$BASE/LC_MESSAGES
13 msgfmt -o $DEST/$BASE/LC_MESSAGES/$NAME.mo $po
14 done
15