[Slapt-get-devel] Improving the .po files of GSlapt
Genghis Khan
genghiskhan at gmx.ca
Wed Aug 29 01:49:06 EDT 2012
What is the reason for erasing source code references?
I think references will solve this issue
http://software.jaos.org/pipermail/slapt-get-devel/2012-June/001035.html
Also adding _ for keyboard usage would help as well
http://software.jaos.org/pipermail/slapt-get-devel/2012-June/001038.html
On Tue, 28 Aug 2012 15:01:41 -0400
"Jason Woodward" <woodwardj at jaos.org> wrote:
>
> > 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 ; fi
> rm po/slapt-get.pot.new
> for i in `ls po/*.po`; do msgmerge -UNs $i po/slapt-get.pot; done
>
>
> take care,
> jason
> --
> Jason Woodward
--
Proper English www.reddit.com/r/proper
4 teh lulz... http://email.is-not-s.ms
More information about the Slapt-get-devel
mailing list