Script for updating .po, .pot and .desktop files. Needs intltools.
This commit is contained in:
parent
1507fbc182
commit
3a7f3ae355
1 changed files with 9 additions and 0 deletions
9
src/po/update-po.sh
Normal file
9
src/po/update-po.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
intltool-update --pot
|
||||||
|
for i in *.po ; do
|
||||||
|
msgmerge $i tuxpaint.pot > tmp.po && cat tmp.po > $i
|
||||||
|
done
|
||||||
|
cd ..
|
||||||
|
intltool-merge -d -u po tuxpaint.desktop.in tuxpaint.desktop
|
||||||
|
cd po
|
||||||
Loading…
Add table
Add a link
Reference in a new issue