propagate-pot-changes.sh 272 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/bash

langs=`ls -1d po/?? po/??_?? | cut -d/ -f2`
pots=`for pot in po/pot/*.pot; do basename $pot .pot; done`

for lang in $langs; do
7
  echo $lang
8
  for pot in $pots; do
9
    msgmerge --no-fuzzy-matching --quiet --update po/$lang/$pot.po po/pot/$pot.pot
10 11
  done
done