GError and gettext. Should I or shouldn't I?

2005-07-26 Thread Uzytkownik
Should I use gettext in GError messages?
In message is position of error in file.
Or it will be print on stdout or for example on GUI show fragment of
file.

Regards
-- 
Linux user: #376500 (see http://counter.li.org/)


-- 
W³ochy i Pary¿ - przewodniki turystyczne do wyboru. Tylko z lipcowym numerem 
miesiêcznika Auto+. 
http://www.a-plus.pl
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: GError and gettext. Should I or shouldn't I?

2005-07-26 Thread Tristan Van Berkom

Uzytkownik wrote:

Should I use gettext in GError messages?
In message is position of error in file.
Or it will be print on stdout or for example on GUI show fragment of
file.


Heh,
You made me jump, I've been using error-message to display
save/load errors in glade3, dont worry; I just verified that its ok.

You should use:
  g_set_error (error, domain, error_num,
   _(Translated error));

and *not* use:
  display_error (error_window, _(error-message));

Cheers,
-Tristan
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list