mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Properly handle locales with sub-languages
This commit is contained in:
parent
b43412b135
commit
1afe74242a
@ -5,7 +5,7 @@
|
||||
<key>LprojCompatibleVersion</key>
|
||||
<string>123</string>
|
||||
<key>LprojLocale</key>
|
||||
<string>pt</string>
|
||||
<string>pt_BR</string>
|
||||
<key>LprojRevisionLevel</key>
|
||||
<string>1</string>
|
||||
<key>LprojVersion</key>
|
@ -1,7 +1,7 @@
|
||||
#/bin/bash
|
||||
|
||||
for QM in ../../../lang/*.qm; do
|
||||
LANG=`echo $QM | cut -d'_' -f2 | cut -d. -f1`
|
||||
LANG=`echo $QM | sed s/.\*gpxsee_// | cut -d. -f1`
|
||||
DIR=../lproj/$LANG.lproj
|
||||
mkdir -p $DIR
|
||||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||||
|
Loading…
Reference in New Issue
Block a user