Mailinglist Archive: opensuse-translation (78 mails)

< Previous Next >
Re: [opensuse-translation] "packages" translation
  • From: Andrea Turrini <andrea.turrini@xxxxxxxxx>
  • Date: Mon, 23 May 2011 10:01:56 +0200
  • Message-id: <BANLkTi=27ryKkJojx9b6k_t8u-9GW5X+_g@mail.gmail.com>
2011/5/23 Stephan Kulow <coolo@xxxxxxx>:
Question: is it possible to add as comment the rpm name to which msgids
refer to?

Hmm, if I look at it/po/base1.it.po it's full of comments

Not really: according to
http://www.gnu.org/s/hello/manual/gettext/PO-Files.html entries
starting with "#:" are references, while comments start with "#" for
translator comments and with "#." for extracted comments, so in this
case the best entry should be "#.".

Using poedit, only "#" and "#." entries are displayed, while lokalize
shows also "#:" entry.

I think it is enough to add a the command
print "#. $comment\n";
just before
print "#: $comment\n";
in sub output($$) of translate_packages.pl

Regards,
Andrea
--
To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-translation+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups