mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34: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>
|
<key>LprojCompatibleVersion</key>
|
||||||
<string>123</string>
|
<string>123</string>
|
||||||
<key>LprojLocale</key>
|
<key>LprojLocale</key>
|
||||||
<string>pt</string>
|
<string>pt_BR</string>
|
||||||
<key>LprojRevisionLevel</key>
|
<key>LprojRevisionLevel</key>
|
||||||
<string>1</string>
|
<string>1</string>
|
||||||
<key>LprojVersion</key>
|
<key>LprojVersion</key>
|
@ -1,7 +1,7 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
|
|
||||||
for QM in ../../../lang/*.qm; do
|
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
|
DIR=../lproj/$LANG.lproj
|
||||||
mkdir -p $DIR
|
mkdir -p $DIR
|
||||||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||||||
|
Loading…
Reference in New Issue
Block a user