Changeset 25957


Ignore:
Timestamp:
Feb 7, 2014, 12:54:54 PM (7 years ago)
Author:
obi
Message:

fix po building

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/po/de/LC_MESSAGES/make.sh

    r25949 r25957  
    55#####
    66
    7 iconv -f ISO-8859-1 -t UTF-8 $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po_auto.po > $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po_auto.po.utf
     7#iconv -f ISO-8859-1 -t UTF-8 $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po_auto.po > $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po_auto.po.utf
    88
    9 echo msgfmt -v $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po_auto.po.utf -o $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.mo
    10 msgfmt -v $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po_auto.po.utf -o $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.mo
     9SEARCH=`cat $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po_auto.po | grep -n "MIME-Version: 1.0" | cut -d":" -f1`
     10CUT=`expr $SEARCH + 1`
     11
     12cat $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po_auto.po | sed "1,"$CUT"d" > $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po
     13
     14echo msgfmt -v $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po -o $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.mo
     15msgfmt -v $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.po -o $HOME/flashimg/source.titan/po/de/LC_MESSAGES/titan.mo
Note: See TracChangeset for help on using the changeset viewer.