mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-15 19:34:24 +02:00
Create localization lproj directories on OS X
+ pkg dir structure cleanup
This commit is contained in:
21
pkg/mac/scripts/lproj.sh
Executable file
21
pkg/mac/scripts/lproj.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#/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
|
Reference in New Issue
Block a user