Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-12 Thread Sven Neumann
Hi, On Mon, 2007-11-12 at 21:49 +, Carlo Baldassi wrote: > Ooops, sorry, I didn't notice there was an SVN version of the > template. It's the link on the sidebar of developer.gimp.org which > points to the buggy version. We will release a fixed version of the plug-in template at some point i

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-12 Thread Carlo Baldassi
> It is. > gimp_plugin_domain_register (GETTEXT_PACKAGE, LOCALEDIR); Ooops, sorry, I didn't notice there was an SVN version of the template. It's the link on the sidebar of developer.gimp.org which points to the buggy version. Still, about the other bug, even with the SVN version the help fil

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-12 Thread Carlo Baldassi
Hi, > > This should be: > > > > gimp_plugin_domain_register (GETTEXT_PACKAGE, LOCALEDIR); > > It is. > > main.c: > > gimp_plugin_domain_register (GETTEXT_PACKAGE, LOCALEDIR); Is there a more recent version of the plug-in-template I don't know of? I only found the one at ftp://ftp.gimp.org/

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-12 Thread Michael Schumacher
Sven Neumann wrote: > This should be: > > gimp_plugin_domain_register (GETTEXT_PACKAGE, LOCALEDIR); It is. main.c: gimp_plugin_domain_register (GETTEXT_PACKAGE, LOCALEDIR); HTH, Michael -- GIMP > http://www.gimp.org | IRC: irc://irc.gimp.org/gimp Wiki > http://wiki.gimp.

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-12 Thread Sven Neumann
Hi, On Sat, 2007-11-10 at 23:23 +, 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

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-10 Thread Carlo Baldassi
Hi, > > 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 be

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-10 Thread Sven Neumann
Hi, On Sat, 2007-11-10 at 04:59 +, 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

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-09 Thread Carlo Baldassi
Hi, still about porting plugins form 2.2 to 2.4: > This is not the correct solution. Instead the plug-in is supposed to use > gimp_plugin_domain_register() to tell the GIMP core about the textdomain > that the plug-in uses for translation. The core will then be able to > translate the menu entr

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-06 Thread Michael Schumacher
> Von: Sven Neumann <[EMAIL PROTECTED]> > BTW, it would be nice if we could release an updated version of > gimp-plugin-template for GIMP 2.4. Any volunteers to update the template > in SVN? Here. I have to figure out why (some) third-party plug-ins don't find their translations on Win32 anyw

Re: [Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-06 Thread Sven Neumann
Hi, On Tue, 2007-11-06 at 08:36 +, Carlo Baldassi wrote: > I have developed a GIMP plugin using the plugin template, and I have > been made aware of a problem in i18n support, which I think I solved: > the plugin name was not translated correctly in the menu. > > I think this is due to the f

[Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-06 Thread Carlo Baldassi
Hi, I have developed a GIMP plugin using the plugin template, and I have been made aware of a problem in i18n support, which I think I solved: the plugin name was not translated correctly in the menu. I think this is due to the fact that i18n is initialized in the run() function, while the plu

[Gimp-developer] problem (solved?) in gimp-plugin-template

2007-11-06 Thread Carlo Baldassi
Hi, I have developed a GIMP plugin using the plugin template, and I have been made aware of a problem in i18n support, which I think I solved: the plugin name was not translated correctly in the menu. I think this is due to the fact that i18n is initialized in the run() function, while the plu