Re: problem (solved?) in gimp-plugin-template

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, 2007-11-10 at 23:23 +0000, Carlo Baldassi wrote:

> > > In fact, the call to gimp_domain_register() was already present in
> the
> > > gimp-plugin-template:
> > > 
> > > gimp_plugin_domain_register (PROCEDURE_NAME, LOCALEDIR);
> > > 
> > > It returns success, but the menu entry is not translated.
> > > I couldn't find any help from other plugins' sources because they
> > > don't register this way.
> > 
> > Does LOCALEDIR have the correct value? Are the translations actually
> > installed in the folder that it points to?
> 
> Yes, I checked it directly. Everything else is localized, it's just
> the menu entry.
> In fact, the i18n initialization function uses the same location:
> 
> bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);

I checked again and it is the other parameter which is wrong:

  gimp_plugin_domain_register (PROCEDURE_NAME, LOCALEDIR);

This should be:

  gimp_plugin_domain_register (GETTEXT_PACKAGE, LOCALEDIR);

If this is wrong in the plug-in template, then we should fix this and
release an updated version as soon as possible.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux