1
0
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:
2023-01-23 23:11:05 +01:00
parent ab76521990
commit f6c128fbf6
36 changed files with 305 additions and 14 deletions

21
pkg/mac/scripts/lproj.sh Executable file
View 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