#!/bin/bash qtx11d="$(pwd)/qt4-x11" ./mkpotfile if [ "$1" != "" ] then cd ../../po $qtx11d/bin/lconvert -if ts -of po -i ../src/tuxboot/tuxboot_$1.ts -o $1.po cd ../src/tuxboot exit 0 fi cd ../../po for x in $(ls ../src/tuxboot/tuxboot_*.ts | grep -v custom); do $qtx11d/bin/lconvert -if ts -of po -i $x -o $(echo $x | sed "s/\//\n/g" | tail -1 | sed "s/ts/po/" | sed "s/tuxboot_//" ) ; done cd .. tar -cvzf src/tuxboot/release/tuxboot-po-translations.tar.gz po cd src/tuxboot