source: first-aid-kit/trunk/fuentes/lliurex-po/generate_po.sh

Last change on this file was 8604, checked in by daduve, 8 weeks ago

Adding translations

  • Property svn:executable set to *
File size: 391 bytes
Line 
1#!/bin/bash
2
3FILE_POT="first-aid-kit/first-aid-kit.pot"
4EXT="."
5if [ ! -f $FILE_POT ]; then
6        touch $FILE_POT
7else
8        rm $FILE_POT
9        touch $FILE_POT
10fi
11
12for i; do
13    if [  ! -f $EXT$i ];then
14        echo "Sorry NOT EXISTS: $EXT$i"
15    else
16        echo "Making pot for file: $EXT$i"
17        xgettext --join-existing $EXT$i -o $FILE_POT
18     fi
19 done
20 echo "Finished, you can review first-aid-kit/first-aid-kit.pot"
Note: See TracBrowser for help on using the repository browser.