merge po with pot before building mo
fixes errors in strings that have been removed from the template
This commit is contained in:
parent
d9dafe0ba8
commit
cd8d1b5dcd
@ -13,5 +13,5 @@ do
|
|||||||
perl -pe "s%po/desktop/(.*)/anki.po%$targetDir/\1/LC_MESSAGES%")
|
perl -pe "s%po/desktop/(.*)/anki.po%$targetDir/\1/LC_MESSAGES%")
|
||||||
outfile="$outdir/anki.mo"
|
outfile="$outdir/anki.mo"
|
||||||
mkdir -p $outdir
|
mkdir -p $outdir
|
||||||
msgfmt $file --output-file=$outfile
|
msgmerge --for-msgfmt $file po/desktop/anki.pot | msgfmt - --output-file=$outfile
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user