Re: [G2R] Translation of .schemas files in core modules
- From: Zbigniew Chyla <cyba gnome pl>
- To: Kjartan Maraas <kmaraas online no>
- Cc: Luis Villa <louie ximian com>,Christian Rose <menthos menthos com>, desktop-devel-list gnome org,GNOME i18n list <gnome-i18n gnome org>,gnome2 release team <gnome2-release-team gnome org>
- Subject: Re: [G2R] Translation of .schemas files in core modules
- Date: Wed, 31 Jul 2002 11:05:31 +0200
On Wed, 2002-07-31 at 09:30:07, Kjartan Maraas wrote:
> - uiinfo->widget = gtk_image_menu_item_new_with_mnemonic (L_("_Contents"));
> + title = g_strdup (_("_Contents"));
> + uiinfo->widget = gtk_image_menu_item_new_with_mnemonic (L_(title));
> + g_free(title);
This is wrong.
You're trying to translate already translated string. Calling
gettext (gettext (title)) may return an invalid string (in theory).
Besides, you don't need g_strdup/g_free here.
Zbigniew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]