[Slapt-get-devel] Improving the .po files of GSlapt

Jason Woodward woodwardj at jaos.org
Tue Aug 28 15:01:41 EDT 2012

> May you, or myself (under your instructions) add references to the .po
> files of GSlapt like the references of slapt-update-notifier?
> #: src/client.c:129
> msgid "Click on the update icon to see the available updates"
> msgstr ""
> #: src/client.c:237
> msgid "Updates available"
> msgstr ""
> #: src/client.c:244
> msgid "Hide"
> msgstr ""

That is an option (or the default) for xgettext.  I usually strip it out
using a flow like the following:

xgettext -o po/slapt-get.pot.new -sC --no-location src/*.c src/*.h
if [ ! -f po/slapt-get.pot ]; then mv po/slapt-get.pot.new
po/slapt-get.pot; else msgmerge -Us po/slapt-get.pot po/slapt-get.pot.new ;
rm po/slapt-get.pot.new
for i in `ls po/*.po`; do msgmerge -UNs $i po/slapt-get.pot; done

take care,
Jason Woodward

More information about the Slapt-get-devel mailing list