[Vala] [Genie] Problem with gettext

2009-06-16 Thread Nicolas
Hi, I have a strange problem using gettext. This is my code: const GETTEXT_PACKAGE : string = NicEdit const LOCALE_DIR : string = /usr/local/lib/locale const VERSION : string = 1.0 init Gtk.init (ref args) Intl.textdomain(GETTEXT_PACKAGE) Intl.bindtextdomain(GETTEXT_PACKAGE,

Re: [Vala] [Genie] Problem with gettext

2009-06-16 Thread Nicolas Joseph
Hi, GETTEXT_PACKAGE must be a macro. you can define it with the -D option or, if you use a building system, add the config.h file for all sources files with the -include option for gcc (-X '-include config.h') 2009/6/16 Nicolas c.r@wanadoo.fr Hi, I have a strange problem using gettext.