tint2/src/tint2conf/po
2015-11-01 13:09:33 +01:00
..
bs.po tint2conf: Updated POT and PO files (translation update needed) 2015-11-01 13:09:33 +01:00
CMakeLists.txt Updated tint2conf for localization 2015-05-21 12:34:52 +02:00
fr.po tint2conf: Updated POT and PO files (translation update needed) 2015-11-01 13:09:33 +01:00
hr.po tint2conf: Updated POT and PO files (translation update needed) 2015-11-01 13:09:33 +01:00
pl.po tint2conf: Updated POT and PO files (translation update needed) 2015-11-01 13:09:33 +01:00
readme.txt Updated string files for translations 2015-07-12 17:24:43 +02:00
sr.po tint2conf: Updated POT and PO files (translation update needed) 2015-11-01 13:09:33 +01:00
tint2conf.pot tint2conf: Updated POT and PO files (translation update needed) 2015-11-01 13:09:33 +01:00

Updating pot file:

find .. -name '*.c' | xargs xgettext --keyword=_ --language=C --output=updated.pot -

Followed by manual editing of updated.pot to make sure the header is OK. Then:

cat updated.pot > tint2conf.pot && rm -f updated.pot

Then update the po files:

for f in *.po ; do lang=$(basename $f .po); echo $lang ; msgmerge -i -o $lang.pox $lang.po tint2conf.pot ; cat ${lang}.pox > ${lang}.po ; rm ${lang}.pox ; done