mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-17 20:34:23 +02:00
Properly handle locales with sub-languages
This commit is contained in:
@ -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\"?>
|
||||
|
Reference in New Issue
Block a user