mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
22 lines
604 B
Bash
22 lines
604 B
Bash
|
#/bin/bash
|
||
|
|
||
|
for QM in ../../../lang/*.qm; do
|
||
|
LANG=`echo $QM | cut -d'_' -f2 | cut -d. -f1`
|
||
|
DIR=../lproj/$LANG.lproj
|
||
|
mkdir -p $DIR
|
||
|
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||
|
<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
|
||
|
<plist version=\"1.0\">
|
||
|
<dict>
|
||
|
<key>LprojCompatibleVersion</key>
|
||
|
<string>123</string>
|
||
|
<key>LprojLocale</key>
|
||
|
<string>$LANG</string>
|
||
|
<key>LprojRevisionLevel</key>
|
||
|
<string>1</string>
|
||
|
<key>LprojVersion</key>
|
||
|
<string>123</string>
|
||
|
</dict>
|
||
|
</plist>" > $DIR/locversion.plist
|
||
|
done
|