Re: difference between gtk_label_new("text") and gtk_label_new(_("text"))?
- From: Harring Figueiredo <harringf yahoo com>
- To: Tobias Werth <sitowert informatik stud uni-erlangen de>, gtk-app-devel-list gnome org
- Cc:
- Subject: Re: difference between gtk_label_new("text") and gtk_label_new(_("text"))?
- Date: Fri, 24 Sep 2004 05:13:26 -0700 (PDT)
--- Tobias Werth <sitowert informatik stud uni-erlangen de> wrote:
Hi,
what is the difference between
label1 = gtk_label_new("text");
and
label1 = gtk_label_new(_("text"));
The underscore is a macro that resolves to a call to gettext (if you are using
i18n (internationalization)). This is the magic that translates string from one
laguage to another based on localization or language settings.
Check this out for more info: http://www.gnu.org/software/gettext/
Hope this helps.
Harring
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]