[Geany-devel] About translation of plugin name and description
Enrico Tröger
enrico.troeger at xxxxx
Sun May 30 18:09:00 UTC 2010
On Fri, 14 May 2010 18:03:13 +0200, Enrico wrote:
Hi,
> > Hum, more seriously: I already tried (by using direct gettext calls)
> > and yes -- I would say of course -- it works fine. Even better, you
> > succeeded to make me hack Geany in order to implement it directly
> > (see attached patch) and yes again, it works well (and don't need so
> > much code change finally).
> > In practice, I moved geany_functions and geany_data assignation from
> > plugin_init() to plugin_new() for them to be set before the call to
> > plugin_set_info(); and added the PLUGIN_SET_TRANSLATABLE_INFO()
> > macro that calls main_locale_init() before setting the info fileds.
>
> Awesome.
> That looks fine to me and it works well.
> I didn't expect it to be that easy.
>
> If Nick nor anyone else see any problems with this, I'd like to commit
> it.
Committed now to SVN.
Thanks a lot Colomban!
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100530/817a2a93/attachment.pgp>
More information about the Devel
mailing list