source: titan/po/nl/LC_MESSAGES/make.sh @ 42056

Last change on this file since 42056 was 25824, checked in by obi, 7 years ago

enable titan.po_auto.po

  • Property svn:executable set to *
File size: 1.7 KB
RevLine 
[20570]1#####
2#echo "### translation" > source.titan/po/de/LC_MESSAGES/titan.po
3#cat source.titan/skin/default/skin.xml source.titan/titan/plugins/mc/skin.xml source.titan/titan/plugins/aafpanel/skin.xml source.titan/titan/plugins/networkbrowser/skin.xml | sed 's/title="/title=/' | sed 's/title=/\ntitle=!/' | grep title= | sed 's/bordercol=/\n/' | sed 's/valign=/\n/'  |sed 's/posy=/\n/' | sed 's/parent=/\n/' | sed 's/halign=/\n/' | sed 's/type=/\n/' | sed 's/name=/\n/' | sed 's/func=/\n/'| sed 's/progresscol=/\n/'| grep ^title= | sed "s#\".*##" | sort -u |  sed 's/title=!/msgid "/' | tr '\n' '#' | sed 's/#\+/\"\nmsgstr \"translation\"\n\ /g' | sed 's/ "/"/' | sed 's/ "/"/' | sed 's/ msgid/msgid/' | sed 's/msgid\"/msgid "/'  >> source.titan/po/dutch/LC_MESSAGES/titan.po
4#cat source.titan/skin/default/skin.xml source.titan/titan/plugins/mc/skin.xml source.titan/titan/plugins/aafpanel/skin.xml source.titan/titan/plugins/networkbrowser/skin.xml | sed 's/text="/text=/' | sed 's/text=/\ntext=!/' | grep text= | sed 's/bordercol=/\n/' | sed 's/valign=/\n/'  |sed 's/posy=/\n/' | sed 's/parent=/\n/' | sed 's/halign=/\n/' | sed 's/type=/\n/' | sed 's/name=/\n/' | sed 's/func=/\n/'| sed 's/progresscol=/\n/'| grep ^text= | sed "s#\".*##" | sort -u | sed 's/text=!/msgid "/' | tr '\n' '#' | sed 's/#\+/\"\nmsgstr \"translation\"\n\ /g' | sed 's/ "/"/' | sed 's/ "/"/' | sed 's/ msgid/msgid/' >> source.titan/po/dutch/LC_MESSAGES/titan.po
5#####
6
[25824]7echo msgfmt -v $HOME/flashimg/source.titan/po/nl/LC_MESSAGES/titan.po_auto.po -o $HOME/flashimg/source.titan/po/nl/LC_MESSAGES/titan.mo
8msgfmt -v $HOME/flashimg/source.titan/po/nl/LC_MESSAGES/titan.po_auto.po -o $HOME/flashimg/source.titan/po/nl/LC_MESSAGES/titan.mo
Note: See TracBrowser for help on using the repository browser.