1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#!/bin/bash tsDir="src/ts" templateDir="$tsDir/template/nmapsi4.ts" translationsPath="$templateDir " for tsfile in $(ls $tsDir); do if [ $tsfile != "po" ] && [ $tsfile != "template" ]; then translationsPath="$translationsPath$tsDir/$tsfile " fi done lupdate -recursive -no-obsolete src/ -ts $translationsPath cd tools/ ruby convert_translations.rb ts2po |