Changeset 1503
- Timestamp:
- 06/20/06 14:58:26 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/dist/l10n.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/dist/l10n.sh
r1487 r1503 6 6 7 7 POS=`find intl -name LC_MESSAGES -type d` 8 POT=intl/messages.pot 9 touch $POT 10 echo "Updating template: $POT" 11 find . -name \*.php | xargs xgettext -o $POT --no-wrap -j -lPHP -k__ 12 8 13 POFILE=messages.po 9 14 MOFILE=messages.mo 15 POXFILE=messages.pox 16 10 17 for PO in $POS; do 11 echo " updating $PO/$POFILE"18 echo "Updating $PO/$POFILE" 12 19 touch $PO/$POFILE 13 find . -name \*.php | xargs xgettext -o $PO/$POFILE --no-wrap -j -lPHP -k__ 20 msgmerge -o $PO/$POXFILE $PO/$POFILE $POT 21 mv $PO/$POXFILE $PO/$POFILE 22 echo "Building $PO/$MOFILE" 14 23 msgfmt -o $PO/$MOFILE $PO/$POFILE 24 echo 15 25 done 16 26
